You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behavior: deterministic tests run, but dependency vulnerability checks are incomplete or split across ad hoc commands; the frontend graph is not consistently audited.
Desired behavior: npm run verify:security performs the documented networked dependency checks and CI fails on actionable high-severity findings.
Implementation Notes
Audit the root production npm graph, the frontend production graph, and the hashed Python CI lock.
Include frontend build dependencies in a separate visible check because Vite-related advisories can live outside the production-only tree.
Do not use npm audit fix --force or silently suppress an advisory.
Separate deterministic npm run verify from networked verify:security in documentation and CI.
Acceptance Criteria
npm run verify:security runs root production npm audit, frontend production npm audit, frontend full-tree audit, and pip-audit against the CI lock.
CI invokes the command in a clearly named dependency-security step.
High-severity findings fail unless a specific, scoped, documented exception is reviewed.
Any upstream-only deprecation is named and tracked without forcing an unrelated framework upgrade.
No audit command mutates lockfiles or installs globally.
The deterministic local verification command remains network-independent.
Tests/Evals
Add workflow/script tests that protect command composition and failure propagation.
Use registry/network access only for the audits themselves; never invoke providers.
Summary
Add one explicit security-verification command and CI gate for root npm, frontend npm, and locked Python dependencies.
Context
package.json,.github/workflows/ci.yml, Python audit tooling/configuration, and focused workflow testsnpm run verify:securityperforms the documented networked dependency checks and CI fails on actionable high-severity findings.Implementation Notes
npm audit fix --forceor silently suppress an advisory.npm run verifyfrom networkedverify:securityin documentation and CI.Acceptance Criteria
npm run verify:securityruns root production npm audit, frontend production npm audit, frontend full-tree audit, andpip-auditagainst the CI lock.Tests/Evals
Verification
npm run verifynpm run verify:securitypython3 -m pytest tests/agentic/test_workflows.py -qgit status --shortafter verification shows no generated or lockfile changes.Agent Instructions
codex/issue-<this-issue>-dependency-security-gate.mainis green.Human Checkpoints
Out of Scope
Linear
Not applicable. Rafiki delivery is GitHub-only; do not create or update a Linear issue.