Security audit
Privi's code and live deployment were scanned by zauth Vector, a whitebox security assessment that reads the source, traces untrusted input to sensitive operations, and proves exploitable paths against the running site. The full report is published below, unedited, along with how we resolved every finding.
- Findings
- 24
- 0 critical
- Fixed
- 18
- shipped same day
- Mitigated
- 3
- see notes
- Not applicable
- 3
- incl. 2 false positives
- Auditor
- zauth · Vector
- Assessment
- Whitebox (source + live deployment)
- Target
- priviagents.com
- Scan date
- November 22, 2026
- Remediated
- November 22, 2026
- Scan ID
- cmwsa8l6c00v4marhrfn171gl
Found something we missed? Report it privately and earn $100 in USDC for a major bug.
Findings and resolutions
Every finding from the report, by severity. Some findings share a root cause and were fixed together.
High · 4
- V-01HIGHAuthorizationFixed
Passkey enrollment onto an existing account skipped the ownership guard
Passkeys can now only create a new account. Adding a credential to an existing account is refused, and a passkey already registered can't be re-bound.
- V-02HIGHAuthorizationFixed
Holder of a session cookie could bind their own passkey to that balance
The browser cookie is no longer the balance identifier. It is a random sign-in token, issued fresh on every sign-in and account creation. A cookie that names an owned balance without a valid token is ignored and replaced.
- V-03HIGHOtherFixed
Unauthenticated, unthrottled writes to the admin error log and passkey-failure counter
Browser error reports go to a separate, capped list and can no longer evict server-side errors. Per-client and global quotas apply, and the passkey-failure counter is only incremented by the server.
- V-04HIGHInjectionFalse positive
Dynamic code evaluation sink
The flagged call is a fixed, hard-coded Redis script; user data is only ever passed as parameters. The scanner's own triage marked it unreachable. No change needed.
Medium · 8
- V-05MEDIUMAuthenticationFixed
Session fixation: client-chosen session id adopted at registration and never rotated
The sign-in token is rotated on registration and on every sign-in, so an id planted before sign-up never becomes signed in.
- V-06MEDIUMAuthenticationFixed
Sign-out could not revoke a stolen session
Sign-out deletes the token server-side. Signing in also retires the previous token on that browser.
- V-07MEDIUMAuthorizationFixed
Purchases could be confirmed without server-side evidence of user approval
Payment now requires proof the agent can't produce: the order must have been shown in an earlier turn, and the user's own message in this turn must approve it (the Approve button or a short typed yes). Text inside web pages or tool results can't satisfy the check.
- V-08MEDIUMAuthorizationFixed
Account state endpoint served the full account document without a sign-in check
Balances, orders, deposits and activity are returned only to the signed-in owner.
- V-09MEDIUMOtherFixed
Account state endpoint returned approval tokens and traveller details
Approval tokens, passenger, guest and payment-routing details are stripped from every dashboard response.
- V-10MEDIUMOtherFixed
Cookieless requests to state and auth endpoints each stored a new session
Reads no longer write. An anonymous session is only stored once something changes it.
- V-11MEDIUMAuthorizationFixed
Auth endpoint stored a new session per cookieless request
Same root cause as V-10; the auth status check is now read-only.
- V-12MEDIUMServer-Side Request ForgeryMitigated
Agent web fetch has no domain allow-list
Fetches run on Anthropic's infrastructure, not Privi's servers, so there is no access to internal services. Fetches are capped per turn, and the agent's purchase path doesn't rely on fetched pages. A domain allow-list is under review.
Low · 9
- V-13LOWAuthenticationFixed
Registration could overwrite an existing credential mapping
Registration is refused for any credential id that is already registered.
- V-14LOWOtherFixed
No security response headers
Every response now sends Content-Security-Policy (frame-ancestors, base-uri, object-src, form-action), X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and HSTS.
- V-15LOWAuthorizationFixed
Deposit submission relayed arbitrary transactions
The server only relays a transaction that pays the deposit's own address and carries its unique reference key, with a small number of attempts per deposit.
- V-16LOWOtherMitigated
Transaction links point to a third-party explorer
The explorer is Orb, run by Helius, Privi's Privacy Rings provider. Links open with no referrer, and a site-wide Referrer-Policy means the explorer never learns which Privi page you came from.
- V-17LOWOtherMitigated
Transaction links point to a third-party explorer (duplicate)
Duplicate of V-16.
- V-18LOWOtherFixed
Unauthenticated telemetry could evict the error log
Same root cause as V-03.
- V-19LOWOtherFixed
Regular expression with nested quantifiers (ReDoS)
No regular expression existed at the flagged line. It was a payment-amount comparison, which we hardened anyway: integer-only arithmetic and strict validation of the amount a merchant requests.
- V-20LOWInjectionFalse positive
OS command execution sink
The flagged line is a regular expression used to render links in chat, not a command. Links were already restricted to http and https.
- V-21LOWAuthorizationNot applicable
Sign-in check is skipped in demo mode
Demo mode only exists when no live funds are configured. Production always runs in live mode, where every money-moving action requires a signed-in passkey session.
Info · 3
- V-22INFOOtherFixed
Missing Content-Security-Policy header
See V-14.
- V-23INFOOtherFixed
Approval UI could be framed (clickjacking)
frame-ancestors 'none' and X-Frame-Options: DENY prevent Privi from being embedded by other sites.
- V-24INFOAuthorizationFixed
Unauthenticated writes could forge the admin error log
Same root cause as V-03.
Full report
The original report as delivered by zauth, 164 pages. It describes the issues as found, before the fixes above.