Repository navigation
feat(security)!: enforce trustPolicy by default, add paranoid bundle, security docs #333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f378600
feat(resolver): enforce trustPolicy=no-downgrade against packument tr…
jdx 7a5a692
[autofix.ci] apply automated fixes
autofix-ci[bot] 652eee7
feat(settings): add `paranoid` switch that bundles trustPolicy + jail…
jdx 3182bc6
docs(security): add SECURITY.md + security overview page
jdx 7aef5f4
docs(security): link README + landing hero to /security
jdx 50a0037
fix(resolver): suppress corgi shortcircuit when trustPolicy=NoDowngrade
jdx 0a4f6a3
fix(security): tighten trust check truthiness, exclude parsing, READM…
jdx 089631a
feat(security)!: trustPolicy=no-downgrade by default; expand paranoid…
jdx adf2b61
test(security): add provenance falsy-evidence regression test
jdx f4d884a
fix(security): degrade trust check when registry omits time map
jdx 30e3cd8
fix(resolver): align TrustPolicy::default() with settings.toml
jdx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Security | ||
|
|
||
| ## Reporting a vulnerability | ||
|
|
||
| Please report security issues privately via GitHub's security advisory form: | ||
| **[github.com/endevco/aube/security/advisories/new](https://github.com/endevco/aube/security/advisories/new)** | ||
|
|
||
| Do not file a public discussion for vulnerabilities. We will acknowledge | ||
| receipt within a few business days, work with you on a fix, and credit you in | ||
| the release notes unless you prefer otherwise. | ||
|
|
||
| ## Security features at a glance | ||
|
|
||
| aube ships with several supply-chain protections enabled by default and | ||
| several more available as one-line opt-ins. Full reference: | ||
| **[aube.en.dev/security](https://aube.en.dev/security)**. | ||
|
|
||
| | Setting | Default | What it protects against | | ||
| | --- | --- | --- | | ||
| | `blockExoticSubdeps` | `true` | Transitive deps from `git+`, `file:`, or raw tarball URLs | | ||
| | `allowBuilds` (deny-by-default) | `true` | Lifecycle scripts running without explicit approval | | ||
| | `trustPolicy` | `"no-downgrade"` | Versions that lost provenance or trusted-publisher evidence | | ||
| | `minimumReleaseAge` | `1440` (24h) | Newly published versions before they have aged in the registry | | ||
| | `jailBuilds` | `false` (planned `true` in v2) | Approved scripts with full filesystem / network / env | | ||
| | `paranoid` | `false` | Master switch — forces `jailBuilds`, `trustPolicy=no-downgrade`, `minimumReleaseAgeStrict`, `strictStoreIntegrity`, `strictDepBuilds` | | ||
| | Tarball integrity (SHA-512) | always on | Tampered tarballs in the registry or proxy cache | | ||
| | Content-addressed store (BLAKE3) | always on | Drift between the store and the linked `node_modules` | | ||
| | `aube audit` | n/a | Known CVEs against the resolved dependency tree | | ||
|
|
||
| ## Supported versions | ||
|
|
||
| Security fixes target the latest minor of the current major release. Older | ||
| majors do not receive backports. |
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
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.