Skip to content

fix(#614): resolve npm audit findings (cluster 1; cluster 2 waived) - #615

Merged
admarble merged 1 commit into
mainfrom
feature/614-resolve-npm-audit-findings-5-4-moderate-1-high
May 9, 2026
Merged

admarble merged 1 commit into
mainfrom
feature/614-resolve-npm-audit-findings-5-4-moderate-1-high

Conversation

@admarble

@admarble admarble commented May 9, 2026

Copy link
Copy Markdown
Contributor

Summary

  • npm audit fix (no --force) bumps 3 transitive deps in package-lock.json: fast-uri 3.1.0 → 3.1.2 (high), ip-address 10.1.0 → 10.2.0 (moderate), express-rate-limit 8.3.2 → 8.5.1 (moderate)
  • Post-fix npm audit: 0 high, 2 moderate (was 1 high + 4 moderate); the remaining 2 are the @anthropic-ai/sdk chain (Cluster 2)
  • Cluster 2 waived: memory tool not used in src/ (grep -r memoryTool src/ → 0 hits); parent @anthropic-ai/[email protected] still pins the vulnerable @anthropic-ai/[email protected] — Option B (wait for upstream Dependabot) chosen over overrides

Pre-PR AC Verification

AC Description Status Evidence
AC-1 Record npm audit fix --dry-run output (no --force) ✅ Implemented Posted in issue progress comment + dry-run shows 3 clean semver bumps; the 61 "added" entries are platform-binary optionalDependencies lockfile metadata
AC-2 Per-advisory exploitability assessment posted as a table ✅ Implemented Reconfirmed via grep -r memoryTool src/ (0 hits) and grep -r 'fast-uri|ip-address' src/ (0 hits); table in progress comment
AC-3 Per-cluster resolution path chosen and justified ✅ Implemented Cluster 1 → Option A (npm audit fix); Cluster 2 → Option B (wait for upstream agent-sdk release); Option C (overrides) rejected per spec
AC-4 Post-fix npm audit: 0 high, ≤ prior moderate (or waiver) ✅ Implemented 0 high, 2 moderate (was 1 high + 4 moderate); Cluster 2 waiver documented in CHANGELOG ### Security entry and progress comment
AC-5 CI green on PR (build (20.x), build (22.x), typecheck, validate-skills, validate-plugin) ⏳ Pending CI Local npm run build, npm run lint, npm test all pass (2943 tests, 124 files) — awaiting GitHub Actions

Diff

Lockfile-only fix (10 insertions / 10 deletions in package-lock.json) plus a CHANGELOG.md ### Security entry. No package.json change.

Test plan

  • npm run build — passes (tsc clean)
  • npm run lint — passes (eslint --max-warnings 0)
  • npm test — 2943 tests passed (124 files, 126.76s)
  • npm audit --json — 0 high, 2 moderate (Cluster 2 only)
  • CI green: build (20.x), build (22.x), typecheck, validate-skills, validate-plugin (AC-5)

Closes #614

…ate-limit)

Apply `npm audit fix` (no `--force`) to bump 3 transitive deps:
- fast-uri 3.1.0 → 3.1.2 (high; path traversal + host confusion)
- ip-address 10.1.0 → 10.2.0 (moderate; XSS in Address6)
- express-rate-limit 8.3.2 → 8.5.1 (moderate; ip-address vehicle)

Post-fix audit: 0 high, 2 moderate (was 1 high + 4 moderate).

Cluster 2 (@anthropic-ai/sdk insecure-default-file-permissions
advisory, GHSA-p7fg-763f-g4gf) waived: memory tool unused in
src/ (grep memoryTool → 0 hits); parent [email protected] still
pins vulnerable range. Option B (wait for upstream Dependabot)
chosen over `overrides` to avoid debt — see CHANGELOG entry.

Lockfile-only change (10 insertions / 10 deletions).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Resolve npm audit findings (5: 4 moderate, 1 high)

1 participant