Security Audit Weekly
Weekly npm audit scan, triage vulnerabilities by severity, and propose or apply safe patches.
起動プロンプト
/loop 7d Start the "Security Audit Weekly" loop.
Goal: deliver a weekly npm audit summary with a remediation plan.
Between iterations run: npm audit --json
Exit when: summary is posted with prioritized fixes.
Step 1: Run npm audit, triage by severity, and propose safe remediation steps.基本情報
カテゴリ
メンテナンス
目標
deliver a weekly npm audit summary with a remediation plan.
検査コマンド
npm audit --json
退出条件
summary is posted with prioritized fixes.
対応エージェント
Claude Code
手順
- 1
Run npm audit
Run npm audit and capture critical, high, and moderate findings.
npm audit --json - 2
Triage findings
Group vulnerabilities by severity and exploitability. Flag dev-only vs production exposure.
- 3
Propose fixes
Recommend npm audit fix, targeted overrides, or dependency bumps. Note breaking changes.
他のメンテナンスのループ
Docs Sync After Edits
After code changes, find affected docs and update README, API references, and inline comments to match.
Dependency Upgrade One-by-One
Upgrade a single outdated package per iteration, fix breakages, and commit — safer than bulk npm update.
Knip Until Clean
Find and remove dead exports, unused files, and orphan dependencies — loop until knip reports clean.
Dependency Audit Weekly
Weekly loop to check outdated dependencies, propose safe upgrades, and open a summary.