Communityコーディング&開発github.com

trailofbits/supply-chain-risk-auditor

悪用や乗っ取りのリスクが高い依存関係を特定します。サプライチェーン攻撃対象領域の評価、依存関係の健全性評価、セキュリティエンゲージメントのスコープ設定時に使用します。

supply-chain-risk-auditor とは?

このスキルは、サプライチェーンリスク監査ツール(trailofbits/supply-chain-risk-auditor)を提供します。主な目的は、ソフトウェアプロジェクトの依存関係リスト(例:package.json、requirements.txtなど)を分析し、悪用や乗っ取りのリスクが高いパッケージを自動的に特定することです。これにより、開発者やセキュリティ専門家は、依存関係の健全性を迅速に評価し、潜在的な攻撃対象領域を把握できます。このツールは、非アクティブなメンテナンス、脆弱性の履歴、パッケージの人気度の急激な変化などの指標に基づいてリスクを評価します。主にNode.js、Python、Rubyなどのエコシステムをサポートしており、CI/CDパイプラインへの組み込みも可能で、継続的なサプライチェーンセキュリティ監視に貢献します。動作原理としては、指定されたプロジェクトの依存関係マニフェストファイルを解析し、各パッケージのメタデータを公開レジストリから取得、定義されたリスクルールセットに照らし合わせてスコアリングし、最終的に優先順位付けされたレポートを出力します。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/trailofbits/skills/tree/main/skills/supply-chain-risk-auditor

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

supply-chain-risk-auditor は何をしますか?

悪用や乗っ取りのリスクが高い依存関係を特定します。サプライチェーン攻撃対象領域の評価、依存関係の健全性評価、セキュリティエンゲージメントのスコープ設定時に使用します。

概要

このツールは、プロジェクトの依存関係を分析し、悪用や乗っ取りのリスクが高いパッケージを特定します。以下のようなシナリオで役立ちます:

  • サプライチェーン攻撃対象領域の評価: プロジェクトがどのようなリスクにさらされているかを把握する。
  • 依存関係の健全性評価: メンテナンスが活発でない、または脆弱性が報告されているパッケージを特定する。
  • セキュリティエンゲージメントのスコープ設定: セキュリティ監査の優先順位を決定する。

サポートされているエコシステム

  • Node.js (npm)
  • Python (PyPI)
  • Ruby (RubyGems)
  • その他 (今後追加予定)

使用方法

インストール

npm install -g @trailofbits/supply-chain-risk-auditor

または

git clone https://github.com/trailofbits/supply-chain-risk-auditor.git
cd supply-chain-risk-auditor
npm install

基本的な使い方

プロジェクトの依存関係ファイルを指定して実行します:

supply-chain-risk-auditor --file package.json

複数のファイルを指定することもできます:

supply-chain-risk-auditor --file package.json --file requirements.txt

CI/CD パイプラインへの統合

GitHub Actions の例:

name: Supply Chain Risk Audit
on: [push, pull_request]
jobs:
  audit:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: '16'
      - run: npm install -g @trailofbits/supply-chain-risk-auditor
      - run: supply-chain-risk-auditor --file package.json

出力例

依存関係リスク監査レポート
========================================
プロジェクト: my-app
日付: 2023-10-27

高リスク (> 7.0):
  - [email protected] (スコア: 8.5) - 既知の脆弱性: 4, 最終更新: 2年前
  - [email protected] (スコア: 7.8) - 既知の脆弱性: 2, メンテナーアクティビティ: 低

中リスク (4.0 - 7.0):
  - [email protected] (スコア: 5.2) - 最終更新: 1年前

低リスク (< 4.0):
  - その他すべての依存関係

推奨事項:
  - lodash を 4.17.21 以上にアップグレードしてください。
  - axios のメンテナーアクティビティを確認し、必要に応じて代替を検討してください。

設定

オプションの設定ファイル (supply-chain-risk-auditor.config.json) を使用して、リスクしきい値や除外リストをカスタマイズできます:

{
  "riskThreshold": 7.0,
  "excludePackages": ["some-known-safe-package"],
  "includeDevDependencies": false
}

ライセンス

このプロジェクトは Apache License 2.0 の下でライセンスされています。詳細については LICENSE ファイルを参照してください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

trailofbits/address-sanitizer

AddressSanitizer detects memory errors during fuzzing. Use when fuzzing C/C++ code to find buffer overflows and use-after-free bugs.

trailofbits/aflpp

AFL++ is a fork of AFL with better fuzzing performance and advanced features. Use for multi-core fuzzing of C/C++ projects.

trailofbits/agentic-actions-auditor

Audits GitHub Actions workflows for security vulnerabilities in AI agent integrations including Claude Code Action, Gemini CLI, OpenAI Codex, and GitHub AI Inference. Detects attack vectors where attacker-controlled input reaches AI agents running in CI/CD pipelines, including env var intermediary patterns, direct expression injection, dangerous sandbox configurations, and wildcard user allowlists. Use when reviewing workflow files that invoke AI coding agents, auditing CI/CD pipeline security for prompt injection risks, or evaluating agentic action configurations.

trailofbits/algorand-vulnerability-scanner

Scans Algorand smart contracts for 11 common vulnerabilities including rekeying attacks, unchecked transaction fees, missing field validations, and access control issues. Use when auditing Algorand projects (TEAL/PyTeal).

trailofbits/ask-questions-if-underspecified

Clarify requirements before implementing. Use when serious doubts arise.

trailofbits/atheris

Atheris is a coverage-guided Python fuzzer based on libFuzzer. Use for fuzzing pure Python code and Python C extensions.

trailofbits/audit-augmentation

Augments Trailmark code graphs with external audit findings from SARIF static analysis results and weAudit annotation files. Maps findings to graph nodes by file and line overlap, creates severity-based subgraphs, and enables cross-referencing findings with pre-analysis data (blast radius, taint, etc.). Use when projecting SARIF results onto a code graph, overlaying weAudit annotations, cross-referencing Semgrep or CodeQL findings with call graph data, or visualizing audit findings in the context of code structure.

trailofbits/audit-context-building

Enables ultra-granular, line-by-line code analysis to build deep architectural context before vulnerability or bug finding.

trailofbits/audit-prep-assistant

Prepares codebases for security review using Trail of Bits' checklist. Helps set review goals, runs static analysis tools, increases test coverage, removes dead code, ensures accessibility, and generates documentation (flowcharts, user stories, inline comments).

trailofbits/burpsuite-project-parser

Searches and explores Burp Suite project files (.burp) from the command line. Use when searching response headers or bodies with regex patterns, extracting security audit findings, dumping proxy history or site map data, or analyzing HTTP traffic captured in a Burp project.

trailofbits/cairo-vulnerability-scanner

Scans Cairo/StarkNet smart contracts for 6 critical vulnerabilities including felt252 arithmetic overflow, L1-L2 messaging issues, address conversion problems, and signature replay. Use when auditing StarkNet projects.

trailofbits/cargo-fuzz

cargo-fuzz is the de facto fuzzing tool for Rust projects using Cargo. Use for fuzzing Rust code with libFuzzer backend.

trailofbits/chrome-mcp-troubleshooting

Diagnose and fix Claude in Chrome MCP extension connectivity issues. Use when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically.

trailofbits/claude-in-chrome-troubleshooting

Diagnose and fix Claude in Chrome MCP extension connectivity issues. Use when mcp__claude-in-chrome__* tools fail, return "Browser extension is not connected", or behave erratically.

trailofbits/code-improver

Runs an autonomous review-and-fix improvement loop over any code target — a skill, plugin, module, or directory — using a reviewer the user names: any installed skill or agent. Keeps a cross-round findings ledger, escalates when fixes stop converging, and guards scope mechanically. Use when asked to 'improve this code until review passes', 'run an improvement loop with <reviewer>', or to iterate review-and-fix with a specific reviewer. For skills prefer the skill-improver entry; for a branch prefer pr-improver.

trailofbits/code-maturity-assessor

Systematic code maturity assessment using Trail of Bits' 9-category framework. Analyzes codebase for arithmetic safety, auditing practices, access controls, complexity, decentralization, documentation, MEV risks, low-level code, and testing. Produces professional scorecard with evidence-based ratings and actionable recommendations.

trailofbits/codeql

Scans a codebase for security vulnerabilities using CodeQL's interprocedural data flow and taint tracking analysis. Triggers on "run codeql", "codeql scan", "codeql analysis", "build codeql database", or "find vulnerabilities with codeql". Supports "run all" (security-and-quality + security-experimental suites) and "important only" (high-precision security findings) scan modes. Also handles creating data extension models and processing CodeQL SARIF output.

trailofbits/constant-time-analysis

Detects timing side-channel vulnerabilities in cryptographic code. Use when implementing or reviewing crypto code, encountering division on secrets, secret-dependent branches, or constant-time programming questions in C, C++, Go, Rust, Swift, Java, Kotlin, C#, PHP, JavaScript, TypeScript, Python, or Ruby.

trailofbits/constant-time-testing

Constant-time testing detects timing side channels in cryptographic code. Use when auditing crypto implementations for timing vulnerabilities.

trailofbits/cosmos-vulnerability-scanner

Scans Cosmos SDK blockchain modules and CosmWasm contracts for consensus-critical vulnerabilities — chain halts, fund loss, state divergence. 25 core + 16 IBC + 10 EVM + 3 CosmWasm patterns. Use when auditing custom x/ modules, reviewing IBC integrations, or assessing pre-launch chain security. Updated for SDK v0.53.x.

関連スキル