現代的なアプリケーションは多くのサードパーティ依存関係(ライブラリ、パッケージ)を使用していますが、これらには脆弱性が含まれていたり、悪意のあるコードである可能性があります。依存関係のセキュリティ管理 — スキャン、更新、検証 — は重要です。脆弱な依存関係は一般的な攻撃ベクトル(OWASP)だからです。
リスク:依存関係は攻撃対象領域の一部です
Apps depend on MANY third-party packages (and their transitive dependencies):
→ a vulnerability in ANY dependency is a vulnerability in YOUR app
→ "using components with known vulnerabilities" is an OWASP Top 10 risk
→ MALICIOUS packages (typosquatting, compromised packages) — supply chain attacks
→ you're trusting/running a lot of code you didn't write.
依存関係のセキュリティ管理
✓ SCAN dependencies for known vulnerabilities (SCA tools): npm audit, Dependabot, Snyk,
OWASP Dependency-Check → integrate into CI (catch per change)
✓ KEEP DEPENDENCIES UPDATED → patch known vulnerabilities (but test updates)
✓ AUTOMATE → Dependabot/Renovate open PRs for vulnerable/outdated deps
✓ MONITOR → vulnerability databases / alerts for your dependencies
