security: add disclosure policy, threat model, and CI audit gate - #164
Merged
teamchong merged 4 commits intoAug 6, 2026
Merged
Conversation
Contributor
Author
|
@teamchong This security-hardening PR is rebased onto current main, mergeable, and green (923 local tests plus GitHub CI). It avoids duplicating the dependency and telemetry fixes already landed upstream. Ready for maintainer review when convenient. |
`pnpm audit --audit-level high` fails on advisories anywhere in the tree, including devDependencies. It is red today on wrangler > miniflare > undici (GHSA-4cwx-7wf7-3272) — build tooling that never reaches a user's machine — so the gate would block a release over something the release cannot expose. pxpipe ships one runtime dependency, gpt-tokenizer. Scoping to --prod makes a failure mean something precise and worth stopping for: a dependency we ship has a high-severity advisory. Unscoped, the gate fires on churn nobody here can act on, gets muted, and takes the real signal with it. Toolchain risk stays covered by Dependabot and lockfile review (teamchong#169).
Owner
|
Thanks @mkhalid-s |
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
Validation
pnpm run audit— no known vulnerabilitiespnpm test— 923 tests passedpnpm run typecheckpnpm run buildSECURITY.mdanddocs/SECURITY_MODEL.mdThe branch was rebased onto current
main; dependency and Node telemetry hardening already landed upstream were deliberately removed from this PR to avoid duplication.