You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The in-app Verification Mode currently marks any storage key that starts with byteflow: as allowed. That is too broad for a privacy verification surface.
The site has strong guards against default payload persistence today, but the Verification Mode should help users and maintainers detect future regressions. If a future tool accidentally writes a key like byteflow:jwt-input, byteflow:payload, byteflow:secret, or byteflow:tool-output, the panel would currently mark it as allowed simply because it has the byteflow: prefix.
Why this matters
Verification Mode is a trust feature. Its output needs to be conservative:
"Allowed" should mean "known safe preference/state key", not merely "owned by Byteflow".
A broad prefix allowlist can hide exactly the kind of payload-persistence regression the trust surface is supposed to reveal.
The current storage audit guards are strong, but runtime verification should not assume every future byteflow:* key is harmless.
Summary
The in-app Verification Mode currently marks any storage key that starts with
byteflow:as allowed. That is too broad for a privacy verification surface.The site has strong guards against default payload persistence today, but the Verification Mode should help users and maintainers detect future regressions. If a future tool accidentally writes a key like
byteflow:jwt-input,byteflow:payload,byteflow:secret, orbyteflow:tool-output, the panel would currently mark it as allowed simply because it has thebyteflow:prefix.Why this matters
Verification Mode is a trust feature. Its output needs to be conservative:
byteflow:*key is harmless.Current behavior
Relevant code:
src/core/trust/verification-mode.tsALLOWED_STORAGE_KEY_PREFIXES = ["byteflow:", "theme"]isAllowedVerificationStorageKey()returns true when the key starts with any allowed prefix.src/components/layout/verification-mode-panel.tsxstorageAllowedorstorageReviewbased on that helper.Because
byteflow:is a blanket prefix, nearly every Byteflow-owned key is marked allowed.Expected behavior
Verification Mode should use a strict known-safe key taxonomy:
byteflow:.Suspicious substrings should force
storageReview, for example:Suggested implementation plan
ALLOWED_STORAGE_KEY_PREFIXESwith a structured allowlist:byteflow:*keys as review-needed by default unless they match a safe exact key or safe namespace.byteflow:jwt-inputorbyteflow:payloadis not marked allowed.Acceptance criteria
byteflow:*keys are not automatically marked allowed.payload,input,output,token,jwt,secret,file,log,request,response, orbodyare marked review-needed.byteflow:allowlisting.npm run test -- tests/component/verification-mode-panel.test.tsx tests/guards/verification-mode-acceptance.test.tspasses.npm run check:typesandnpm run lintpass.Related code pointers
src/core/trust/verification-mode.tssrc/components/layout/verification-mode-panel.tsxtests/guards/verification-mode-acceptance.test.tstests/component/verification-mode-panel.test.tsx