本文へスキップ
Skillpedia
セキュリティ75k · #2814

dependency-audit

できること

このスキルは、プロジェクトが依存するソフトウェアパッケージに、既知のセキュリティの弱点がないかを確認します。サプライチェーン攻撃からアプリを守りたい開発者向けです。

使う場面

  • ✓アプリの新しいバージョンを公開しようとしているとき。
  • ✓使っているパッケージにセキュリティの問題があると聞いたとき。
  • ✓ビルドのパイプラインに、パッケージの自動チェックを設定したいとき。

スキルのリンク

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/dependency-audit/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/dependency-audit/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“プロジェクトのパッケージに既知のセキュリティの問題がないか、確認してもらえますか?”

毎週5つの新しいスキル。1分で読めます。

仕組み

エージェントはパッケージマネージャーの監査コマンドを実行し、結果をレビューします。その後、脆弱なパッケージの更新または置き換えと、自動スキャンの設定を提案します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

Audit dependencies for known vulnerabilities

Third-party packages are the most common attack surface in modern web applications. The 2021 Log4Shell incident, the 2022 node-ipc supply-chain attack, and countless npm package hijackings demonstrate that a single vulnerable transitive dependency can compromise every application that depends on it. Automated, continuous scanning drastically reduces the window between a CVE being published and your team being aware of it.

Quick Reference

  • Run pnpm audit (or npm audit) before every production deployment
  • Integrate automated dependency scanning in CI (GitHub Dependabot or Snyk)
  • Treat critical and high severity findings as release blockers
  • Pin transitive dependencies with a lock file committed to version control

Check

Check the project's dependencies for known security vulnerabilities using the package manager audit command.

Fix

Upgrade, patch, or replace vulnerable dependencies and configure automated scanning in the CI pipeline.

Explain

Explain how supply-chain attacks work and why dependency auditing is a critical part of modern application security.

Code Review

Review the lock file and package.json for unpinned version ranges, abandoned packages, and any packages flagged in recent CVE databases.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/security/dependency-audit

よくある質問

サプライチェーン攻撃とは何ですか?

多くのアプリが使うパッケージに有害な変更が届き、それに依存するすべてのアプリが影響を受けることだと、このスキルは説明しています。

どの重大度が最も重要ですか?

重大と高の重大度の指摘は、公開を保留する理由だとみなしています。

ロックファイルを保つ理由は何ですか?

ロックファイルは正確なパッケージのバージョンを固定するため、毎回同じコードがインストールされます。

詳細

作者による元の説明

Use when reviewing a project's security posture, setting up CI pipelines, or responding to a reported vulnerability in a dependency.

repo: thedaviddias/Front-End-Checklist

人気

GitHubのスター
75k
ランキング
#2814
ライセンス
MIT
更新日
2026/10/31

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル