Scan your whole stack
From OX Research Newsroom
Are you using @zappie/verify?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.5.8
@zappie/verify was last scanned on 24 Nov 2026 at version 0.5.8. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.5.8 LATEST | 24 Nov 2026 | No rules fired |
| 0.5.7 | 23 Nov 2026 | No rules fired |
| 0.5.6 | 21 Nov 2026 | No rules fired |
| 0.5.5 | 20 Nov 2026 | Not shown |
| 0.5.4 | 20 Nov 2026 | Not shown |
Findings for v0.5.8. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.5.8; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
The checks behind zappie verify. They open your storefront in a real browser and walk the journeys a shopper takes: the store loads, the menu matches Zappie's, an item goes in the cart, totals match Zappie's quote, issues can be fixed and checkout is ready. Each failure comes with a hint about what to fix.
npm install --save-dev @zappie/verify @playwright/test
npx playwright install chromium
@playwright/test is a peer dependency, so you choose its version and install its browser once.
Run it against your built project, or against a URL, with a publishable test key:
ZAPPIE_KEY=pk_test_... npx zappie verify
ZAPPIE_KEY=pk_test_... npx zappie verify https://your-store.example
With no URL, it builds your project, starts a local preview, runs the checks and stops the preview. It only accepts test keys, so it never touches live orders. A local preview has no site host, so verify answers /_zappie/session itself: signed out until a check signs in. It sends calls to /_zappie/api/* to ZAPPIE_API with your key, as the host does for a shopper who is signed out. Don't build or typecheck the project while it runs, because a rebuild under the preview stops the page from hydrating and fails checks that would pass.
| Option | What it does |
|---|---|
--suite standard or extended |
The standard checks, or those plus the extended ones |
--only <checks> |
Run only these checks: IDs such as V01,V04, or a set such as quick |
--start <path> |
The route verify opens as the menu. Default: verify.startPath, then / |
--report <file> |
Save the full report as JSON |
--json |
Print the report as JSON |
--no-build |
Serve the project's existing build instead of building it again. Local mode only |
--port <number> |
The port the local preview listens on. Default: a free port. Local mode only |
--artifacts <dir> |
Where failure screenshots and the trace go. Default: verify-artifacts |
--runner <name> |
The runner the report records: cli (the default), ci, build-worker or sandbox |
The quick set is V01 to V07, V09, V10 and V13: the fast journey checks without V14 to V19. V18 stays outside build-blocking quick runs while security headers are report-only. The set is exported as CHECK_SETS.quick.
Verify opens / as the menu. A site whose root is something else, such as a directory of its menus, tells verify where to start in zappie.config.ts:
export default {
store: "your-store",
theme: "./theme.json",
verify: { startPath: "/menu", cataloguePath: "/menu?menu={menu}" },
} satisfies ZappieSiteConfig;
startPath is the route verify opens wherever it opened /. It must list items. --start wins over it. It can name a menu with {menu} and the branch with {branch}, as cataloguePath does. {menu} becomes the id of the first menu that holds items, in the order V03 judges menus, and {branch} the id of the default branch. Use it for a site whose menu page asks the shopper to choose a menu, such as /menu?menu={menu}. Without cataloguePath, V03 judges only that menu's items on the start page. The item checks still open the start page, so set cataloguePath too when the item they use can sit on another menu.cataloguePath is the page of each menu: {menu} stands for the menu id and {branch}, when you use it, for the branch id. With it, V03 judges the first page of up to three menus, the first menu and two drawn with the run's seed, instead of the branch's items on the start page. V04, V05, V13, V16 and V17 open the page of a menu that holds the item they use. An item that sits in no category of any menu belongs to no menu's page, so V03 doesn't judge it.Without them, verify runs as before. The report's environment records startPath, and cataloguePath when it is set. A startPath with {menu} or {branch} is recorded filled in, and as written in startPathTemplate.
V03 takes about the same time for 10 items or 5,000. It never walks the whole catalogue. Instead it opens a fixed set of pages:
data-zappie-item must be an item of the store, with its own id. An available item's card shows its name and price. An unavailable item is hidden, or marked sold out: its add-to-cart is disabled, or the card shows its stockLabel or words such as Sold out. The page shows every available item, or at least 8 of them when the catalogue goes on.<a rel="next"> or <link rel="next">, or it has a data-zappie-action="load-more" control. V03 opens that page, or taps the control, and needs available items it hasn't seen, judged as on the first page./sitemap.xml, and up to 9 files a sitemap index names, must list a page for every available item. V03 matches a page to an item by an id in its path, such as /item/item_x or /products/x. This costs no page load, and it catches an item a filter drops, such as one without a category or a photo./item/item_<id>. Each must answer 200 and show the item's name and price.So V03 opens at most 22 pages from the start page: 1, plus 1 next page, plus 20 item pages. With cataloguePath, it judges up to three menus, so at most 26. A catalogue of fewer than 20 items gets an item page each.
A site with no sitemap, or one that lists no item pages, gets a sitemap_missing warning when its first page shows every available item, because that page already proves nothing is missing. When the catalogue goes on past its first page, nothing else can prove that, so V03 fails.
The 20 items are drawn with a seed. V03's result in the report records it, with the pages it opened, in catalogue. To draw the same items again, pass the seed as catalogueSeed or set ZAPPIE_VERIFY_SEED:
ZAPPIE_VERIFY_SEED=2026 ZAPPIE_KEY=pk_test_... npx zappie verify --only V03
Verify launches Playwright's own Chromium. To use another one, such as a system Chromium on a build machine, set ZAPPIE_VERIFY_CHROMIUM to its executable, or pass browserExecutablePath from code, which wins over the variable. The report's environment.browser then names the executable after the version.
A worker that has just built a site can verify that build without building it twice:
ZAPPIE_KEY=pk_test_... ZAPPIE_VERIFY_CHROMIUM=/usr/bin/chromium \
npx zappie verify --no-build --only quick --runner build-worker \
--report verify.json --artifacts verify-artifacts --json
Every run gets its own free port unless you pass --port, so two runs on one machine don't collide. The exit code is 0 when every check passed and 2 when one failed. The report is written either way.
import { printSummary, verifyProject } from "@zappie/verify";
const report = await verifyProject({
cwd: process.cwd(),
key: process.env.ZAPPIE_KEY ?? "",
suite: "standard",
packageManager: "npm",
});
console.log(printSummary(report));
verifyProject also takes build: false, port, only, startPath, cataloguePath, catalogueSeed, tappableMs, runner, artifactsDir and browserExecutablePath, the options behind the flags above. It reads startPath, cataloguePath and budgets.tappableMs from zappie.config.ts when you don't pass them. To verify a site you serve yourself, call verify({ url, key, store, suite }) instead, with the same route and tappable settings when the site sets them.
The report's shape is the JSON Schema at @zappie/verify/schema/verify-report.v1.json.
V15 uses a 3000 ms limit for the first product card to become tappable. A site can raise it to at most 5000 ms with budgets.tappableMs and must explain the exception in budgets.override.reason. A lower value keeps the 3000 ms default. The report records the applied limit as metrics.productCardTappableLimitMs. V15 loads the menu up to five times, each in a new browser context as a shopper's first visit, and judges the median of the tappable times against the limit and the median of the open times against 300 ms, so one slow sample on a busy machine doesn't fail it. It stops once three samples fall on the same side of each budget, because the rest can't change either median. productCardTappableMs and productCardOpenMs hold the medians, and productCardTappableSamplesMs, productCardOpenSamplesMs and productCardRates hold every sample and its CPU throttling rate, in the order they ran. V14 measures LCP once: it is far inside its 2.5 second budget on every site, and one load also measures the deterministic sizes.
The checks find shopping controls by their data-zappie-* markers, the ones the zappie/verify-markers lint rule and the template standards ask for, not by their labels, so your copy is yours to write. Where no marker names a control, a check uses its role. Text is read in four places only: V03 finds item names and prices in cards and on item pages, and tells a page with no marker from an empty one by item names, V10 picks the address it typed from the suggestions, V13 closes an item by a button whose name contains "Close", and V20 finds the item it put in the cart on a cart page by its name.
They accept either way of building a journey where templates differ:
data-zappie-item is a link or button, as on a card that is the link, the checks tap it. Otherwise they tap the first link inside the marked card, then the first link beside it.data-zappie-cart-trigger, or on a template that marks only its overlays, the visible data-zappie-overlay-trigger="bag" control.data-zappie-item marker counts when it is rendered, is not hidden by HTML, CSS or aria-hidden, has a non-zero box, and contains the item's name and price. Items in a scrollable page or container count when shoppers can reveal them by scrolling. A card shows the item's price in format.money. When showsFromPrice from @zappie/sdk/pricing is true, it can show the item's startingPrice instead, with or without "From". An item whose price is zero can show "Price on request", or your own words, instead of ₦0, when its price element is marked data-zappie-price="on-request", on its card and on its page. The marker counts only for an item priced at zero. Any other item still shows its price. The next page is rel="next" or data-zappie-action="load-more", as in How V03 judges the catalogue.data-zappie-option-group and data-zappie-required="true", as OptionGroup from @zappie/foundations marks single and multi-select groups. aria-required="true" on a single-select group also counts.aria-invalid or data-invalid and a visible message, in the group, in its aria-describedby or aria-errormessage target, or in a role="alert" in the dialog.data-zappie-total in the bag, or, when the bag hands over to a checkout page through data-zappie-cart-checkout or a link to /checkout, on that page./checkout (V07, V09, V10, V13). /checkout can render a checkout page, or answer with a redirect to the start page that opens the bag there, such as /?bag=open. After opening it, the checks wait for data-zappie-overlay="bag" or the control they need, then for that control.data-zappie-field-open="address" or "phone". Verify taps the row. When the tap sends a signed-out shopper to sign in, on the site or another origin, verify signs in with the test session, returns to the page, repeats the step before the row (choosing Delivery for the address) and taps it again. A phone field in a dialog is saved with data-zappie-field-confirm, or else the enabled submit or footer button of the dialog.data-zappie-address-confirm, or else the enabled submit or footer button of the open dialog.data-zappie-overlay-trigger="bag", they first add an item without required options, the way V04 does, open the menu again and then time or walk the bag as before.V13 scans each page and overlay once its entry animations have finished, so a fade-in is read as it ends. V13 relies on these markers:
| Marker | What V13 does with it |
|---|---|
data-zappie-item |
Opens the first available item, as above, and checks that focus returns to its card when it closes. |
role="dialog" |
Finds the open item and closes it by a button whose name contains "Close", or else by Escape. |
data-zappie-cart-trigger |
Opens the cart for its scan, and checks that focus returns to it when the cart closes. |
data-zappie-action="add-to-cart" |
Checks that the keyboard reaches an Add control. On a menu without quick add, it tabs to an item without required options, opens it with Enter and tabs to its Add. |
data-zappie-checkout |
Checks that the keyboard reaches the enabled checkout control at /checkout, on its page or in the bag it opens. |
V20 checks that a shopper reviews the order once. It reads how the site checks out from zappie.template.json: checkoutFlow when it is "bag" or "cart-page", else "bag" for the food category and "cart-page" for retail. The report's environment records it as checkoutFlow. Without either, V20 is skipped. It puts one item in the cart first.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.