-
Notifications
You must be signed in to change notification settings - Fork 32
audit: deep hardening sweep with docs and dependency remediation #15
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
Closed
Closed
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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,64 @@ | ||
| # Deep Audit Report (2026-03-01) | ||
|
|
||
| ## Scope | ||
|
|
||
| - Full repository hardening audit from `origin/main` at commit `36cf5d4e5c4d30f5a98b44f5711379425c7c8b1a`. | ||
| - Runtime, test, docs/governance, and dependency surfaces. | ||
| - Executed in isolated worktree branch: `audit/deep-hardening-2026-03-01`. | ||
|
|
||
| ## Findings | ||
|
|
||
| ### AUD-001 (Blocker) - Documentation policy regression | ||
|
|
||
| - Surface: docs integrity contract (`test/documentation.test.ts`). | ||
| - Evidence: `uses scoped package only in explicit legacy migration notes` failed. | ||
| - Root cause: `docs/releases/v0.1.1.md` contained a scoped package literal outside the allowlist. | ||
| - Resolution: replaced scoped literal with generic migration-only wording and explicit link to upgrade guide. | ||
| - Files: | ||
| - `docs/releases/v0.1.1.md` | ||
|
|
||
| ### AUD-002 (High) - Runtime dependency vulnerability (`hono`) | ||
|
|
||
| - Surface: production dependency audit (`npm audit --omit=dev --audit-level=high`). | ||
| - Evidence: `hono` high severity advisory (vulnerable range included locked version). | ||
| - Resolution: | ||
| - Raised direct dependency floor to `^4.12.2`. | ||
| - Raised override floor to `^4.12.2`. | ||
| - Refreshed lockfile to patched resolved version. | ||
| - Files: | ||
| - `package.json` | ||
| - `package-lock.json` | ||
|
|
||
| ### AUD-003 (High, dev tooling) - Unexpected `rollup` vulnerability in audit CI | ||
|
|
||
| - Surface: `npm run audit:dev:allowlist`. | ||
| - Evidence: high-severity `rollup` advisory was not allowlisted and failed `audit:ci`. | ||
| - Resolution: | ||
| - Added override `rollup: ^4.59.0`. | ||
| - Refreshed lockfile to patched resolved version. | ||
| - Files: | ||
| - `package.json` | ||
| - `package-lock.json` | ||
|
|
||
| ## Validation Evidence | ||
|
|
||
| - `npm run lint` -> pass | ||
| - `npm run typecheck` -> pass | ||
| - `npm run build` -> pass | ||
| - `npm test` -> pass (`87` files, `2071` tests) | ||
| - `npm test -- test/documentation.test.ts` -> pass | ||
| - `npm run audit:ci` -> pass | ||
| - `audit:prod` reports `0` vulnerabilities | ||
| - `audit:dev:allowlist` reports only allowlisted `minimatch` highs | ||
|
|
||
| ## Architect Verification | ||
|
|
||
| - Verdict: `APPROVE` (no blockers). | ||
| - Summary: | ||
| - Dependency strategy is minimal and compatible with current toolchain ranges. | ||
| - Docs change aligns with existing documentation integrity policy. | ||
|
|
||
| ## Residual Risk | ||
|
|
||
| - Dev-only allowlisted `minimatch` findings remain visible in `audit:dev:allowlist`; currently non-blocking under repository policy. | ||
|
|
||
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.
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.