‹ Counterly — POS & InventoryQuality report QR-26-00171

Counterly — POS & Inventory
Web POS and inventory for small shops: checkout, stock, refunds, receipts and reports on Cloudflare Workers and D1.
- Product ID
- B0183-78222
- Builder
- Redowan Ahmed Farhan
- Version reviewed
- 1.0.0 · released 1 Dec 2026
- Stack
- React 19.3 + Vite 8 with Cloudflare Workers, Wrangler 4 · TypeScript 5.9 (React 19.3 UI, Cloudflare Worker API) · Cloudflare D1 (SQLite); no minimum D1 version stated in the source
- Built with
- OpenAI Codex
- Review period
- 20 Nov 2026 – 1 Dec 2026 · 1 round of changes
- ✓AI code audit6 checks · 18 Nov 2026
- ✓Installed & run30 Nov 2026
- ✓Demo vs delivered1 Dec 2026
- ✓Final sign-off1 Dec 2026
At a glance
- ✓Installed and run from the delivered code — 8 of 8 checks answered yes.
- ✓Live demo compared with the delivered code — 7 of 7 checks answered yes.
- !18 of 24 promised items delivered (setup guide, example config and the rest).
- ✓Security scored 82/100 with no failing check.
- !4 open warnings — explained in part 1.
AI code audit
The full source archive was read by our AI auditor against each check. It reads the code — it does not run it; running it is part 2.
| Check | What we found | Score | Result |
|---|---|---|---|
| Secrets & credentials | Every regex candidate was reviewed. The a project file values are explicitly labeled synthetic test-only strings, and the a project file hits are runtime variables holding session tokens or user-submitted passwords, not hardcoded secrets. Secrets are read from env bindings (AUTH_PEPPER, SETUP_KEY) with only a .dev.vars.example template shipped, and the repo's own docs say wrangler.toml holds placeholders only. | 96 | Pass |
| Dependency vulnerabilities | Every dependency in package.json is pinned to an exact version and package-lock.json (332 KB) is present, with a pinned Node engine and `npm ci` in the documented workflow. No version stands out as a known critical RCE or auth-bypass issue, though several packages are very new and could not be checked against advisories. A few build-time packages sit in the wrong section and the lockfile contents could not be inspected. | 88 | Pass |
| Authorisation & access control | The visible auth layer is solid: peppered PBKDF2 hashes, hashed opaque sessions, owner-role checks in SQL, rate limiting, SameSite=Strict cookies and an atomic session-mint guard. However, a project file, a project file and the middle of a project file (authRoute, setup/recover handlers) were not shown, so the guards on /api/workspace mutations and the setup/recovery endpoints cannot be confirmed. Ownership scoping for workspace records is only asserted in docs. | 78 | Warning |
| Database access rules | Every visible query in a project file and a project file uses bound parameters, and deletes/updates are scoped by account id or key. However, the schema files, migrations, workspace store and the middle of auth.ts were not in the excerpts, so foreign keys, indexes, tenant scoping and fresh-database creation could not be confirmed. | 72 | Warning |
| Code structure & duplication | The repository separates client, worker, server, lib and db layers, which is a good boundary. However, the 112 KB a project file appears to hold all seven business views in one file, and several server files pack long multi-statement lines, which makes them hard to review and maintain. | 62 | Warning |
| Build reproducibility | The project has a single root package.json with a lockfile, pinned dependency versions, and an engines field, so restore and build look reliable. However, HowToSetup.md was not in the excerpts and could not be checked for step order. wrangler.toml holds placeholder D1 IDs, and several referenced items (the deployed-qa.mjs script, the legacy Sites files, and the .npmrc contents) are unverified or absent from the archive. | 72 | Warning |
Open warnings
Problems that did not stop the listing. They stay on the product page until a later version fixes them.
The repository separates client, worker, server, lib and db layers, which is a good boundary. However, the 112 KB a project file appears to hold all seven business views in one file, and several server files pack long multi-statement lines, which makes them hard to review and maintain.
Every visible query in a project file and a project file uses bound parameters, and deletes/updates are scoped by account id or key. However, the schema files, migrations, workspace store and the middle of auth.ts were not in the excerpts, so foreign keys, indexes, tenant scoping and fresh-database creation could not be confirmed.
The project has a single root package.json with a lockfile, pinned dependency versions, and an engines field, so restore and build look reliable. However, HowToSetup.md was not in the excerpts and could not be checked for step order. wrangler.toml holds placeholder D1 IDs, and several referenced items (the deployed-qa.mjs script, the legacy Sites files, and the .npmrc contents) are unverified or absent from the archive.
The visible auth layer is solid: peppered PBKDF2 hashes, hashed opaque sessions, owner-role checks in SQL, rate limiting, SameSite=Strict cookies and an atomic session-mint guard. However, a project file, a project file and the middle of a project file (authRoute, setup/recover handlers) were not shown, so the guards on /api/workspace mutations and the setup/recovery endpoints cannot be confirmed. Ownership scoping for workspace records is only asserted in docs.
Requirement list
What the builder agreed to deliver before uploading — 18 of 24 met.
- Complete source for every part Met
- No real credentials Met
- Exactly one example config file Met
- Pinned lockfile Met
- HowToSetup.md with at least two targets Partial
- Schema creates from empty Partial
- Role-gated write routes Partial
- Working demo on live URL Partial
- Five differentiating features exist in code Met
- README.md at root Met
- Seed data for demo (nice)Partial
- CLAUDE.md for AI tools (nice)Met
- Tests for money and stock logic (nice)Partial
- README.md Met
- HowToSetup.md Met
- .dev.vars.example Met
- wrangler.toml Met
- package-lock.json Met
- a project file Met
- a project file (nice)Met
- CLAUDE.md (nice)Met
- CHANGELOG.md (nice)Met
- LICENSE-NOTE.md (optional)Met
- docs/ (optional)Met
Human review
Reviewers from the Vibe96 team in Dubai worked through each question below; a final reviewer signed it off.
Stage 1 — Installed and run from the delivered code
Completed 30 Nov 2026A reviewer installed the product on a clean machine, following only the guide that ships with it.
| Question | Answer | Reviewer's note |
|---|---|---|
| Packages restored without errors | Yes | |
| Solution builds clean | Yes | |
| Database created from the shipped script or migrations | Yes | |
| First sign-in works with the documented steps | Yes | |
| Setup guide is accurate and complete | Yes | |
| Every module in the feature list opens and works | Yes | |
| No real secrets in the archive | Yes | |
| Branding and company details can be changed without code | Yes |
Stage 2 — Live demo compared with the delivered code
Completed 1 Dec 2026A second reviewer checked that what the listing and demo show is what the buyer receives.
| Question | Answer | Reviewer's note |
|---|---|---|
| Demo URL is reachable | Yes | |
| Demo credentials work | Yes | |
| Demo runs the same version as the archive | Yes | |
| All five differentiators are visible in the demo | Yes | |
| Screenshots match the demo | Yes | |
| Nothing in the demo is missing from the code | Yes | |
| Datasheet claims are accurate | Yes |
Changes asked for during review
- None — approved on the first round.
- Sign-off: approved for sale on 1 Dec 2026 with 4 warnings shown publicly.
What this report covers — and what it doesn't
- It covers version 1.0.0 exactly as the buyer downloads it: the source archive, the setup guide and the live demo on the dates above.
- It is not a penetration test, a performance or load test, or a legal review of third-party package licences.
- Scores are a point in time. Libraries age; a later version is audited again and gets its own report.
- Your setup matters. Hosting, configuration and changes made after purchase are outside this review.
- How the score is made: each AI check is scored 0–100 and weighted (security counts most). A listing needs 75 or more, no failing check, and the human review passed.
- Always try the live demo before buying, and ask the builder questions from the product page.
Vibe96 FZ-LLC, Dubai, UAE. This report describes the product at the time of review and is not a warranty.