chore: harden extension privacy defaults and release workflow - #36
Merged
Conversation
pedrosousa13
force-pushed
the
fix/security-hardening
branch
2 times, most recently
from
June 25, 2026 07:27
e204a5b to
79af0bd
Compare
pedrosousa13
force-pushed
the
fix/security-hardening
branch
from
June 25, 2026 07:35
79af0bd to
1507018
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
window.dataexposure opt-in via Settings instead of default-on, and make the page script remove the in-page JSON holder after reading it.Branch comparison
origin/mainate48e4df.fix/window-data-opt-incommits for the opt-inwindow.dataflow.fix/window-data-opt-incontents like planning/store-listing files.Manual testing
dist:npm run build.chrome://extensions, enable Developer mode, click Load unpacked, and select this repo'sdistfolder.https://jsonplaceholder.typicode.com/users.window.dataisundefinedbefore opting in.window.datacontains the parsed payload in the page console.#jv-json-datadoes not linger after the page script runs.window.datais no longer set by JSON Bonsai..github/workflows/ci.ymlis the only workflow file.Verification
npm run typechecknpm test(17 files, 214 tests)npm run buildnpm run test:e2e(30 tests)npm audit --json(0 vulnerabilities)