Oss Forensicsのロゴ

Oss Forensics

コミュニティ
AlexAI-MCP
oss-forensics

オープンソースのセキュリティフォレンジック。リポジトリ、依存関係、コードを分析し、悪意のあるパターン、サプライチェーンのリスク、脆弱性を検出します。

Add to TypingMind

概要

公開者AlexAI-MCP
リポジトリhermes-CCC
スキル名oss-forensics
スター
134
フォーク
22
同梱ファイル
指示のみ
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    AlexAI-MCPがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Oss Forensics」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/oss-forensics
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/AlexAI-MCP/hermes-CCC.git /tmp/hermes-CCC
mkdir -p .claude/skills
cp -r /tmp/hermes-CCC/skills/oss-forensics .claude/skills/oss-forensics
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでOss Forensicsを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にOss Forensicsを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Oss Forensicsは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

OSS Forensics

Purpose

  • Use this skill to investigate open-source repositories, packages, images, and dependency trees for security risk.
  • It is useful for package intake, third-party code review, incident response, and supply-chain due diligence.
  • Treat this as a forensic and risk-triage workflow, not a single tool.

High-Level Approach

  1. Audit dependencies for known vulnerabilities.
  2. Assess repository trust signals and maintainer health.
  3. Review code for suspicious patterns.
  4. Generate an SBOM and map packages to CVEs.
  5. Check history, provenance, and release integrity.

Dependency Audit

Python:

bash
pip audit

Node:

bash
npm audit

Rust:

bash
cargo audit
  • Start with ecosystem-native audit tools because they surface known advisories quickly.
  • Audit output is a first-pass signal, not a complete security assessment.

Repository Trust Review

  • Check stars, forks, contributors, and recent activity.
  • Look for consistent release cadence rather than vanity popularity alone.
  • Review the maintainer set and whether development is concentrated in one fragile account.
  • Inspect open issues and unresolved security reports.
  • Check whether CI appears healthy and whether releases are reproducible.

Maintainer Reputation Signals

  • Is the maintainer known in the ecosystem.
  • Does the project have multiple active reviewers.
  • Are releases signed or provenance-documented.
  • Has the project recently changed owners or transfer history.
  • Did a previously dormant repo suddenly publish a new release with intrusive install-time behavior.

Dependency Confusion

  • Check whether private internal package names also exist publicly.
  • If an internal package name is accidentally resolved from a public registry, it can become a dependency confusion vector.
  • Review package names in lockfiles, private registries, and CI configuration.
  • Ensure package managers are pinned to the intended registry for internal namespaces.

Typosquatting Detection

  • Compare the package name to well-known packages.
  • Look for single-character swaps, dropped vowels, pluralization changes, or unicode lookalikes.
  • Typosquatted packages often mimic metadata, README wording, or install instructions.
  • Review whether the package description feels copied but inconsistent with the code quality.

License Compliance

Python:

bash
pip-licenses

Repository-level license detection:

bash
licensee detect .
  • Security review and license review are separate concerns, but intake usually needs both.
  • Unexpected license changes can also be a signal that package ownership changed or quality control weakened.

SBOM Generation

Using Syft:

bash
syft .
syft image:myapp

CycloneDX example:

bash
cyclonedx-bom
  • Generate an SBOM to establish what is actually present.
  • SBOMs are useful for later incident response, vulnerability matching, and compliance reporting.

CVE Lookup

Container image scanning:

bash
grype image:myapp

Filesystem scanning:

bash
trivy fs ./
  • Use grype for image/package matching against vulnerability databases.
  • Use trivy fs ./ for repository and local filesystem scanning.
  • CVE output should be prioritized by exploitability, exposure, and runtime presence.

Code Review for Malicious Patterns

Look for:

  • obfuscated strings
  • suspicious eval()
  • suspicious exec()
  • large base64 blobs
  • dynamic network fetch during install
  • shell command execution in setup hooks
  • credential collection logic unrelated to the package purpose

These are not proof by themselves, but they deserve deeper inspection.

Strings and Obfuscation Heuristics

  • Long unreadable encoded literals
  • split-and-join string tricks
  • excessive use of reflection or metaprogramming in simple packages
  • hidden payload assembly at runtime
  • download-and-execute logic behind environment checks

Git History Review

Check for suspicious edits and removed secrets:

bash
git log --all -S 'password'
  • Search history for credential strings, hardcoded tokens, or suspiciously removed secrets.
  • Also inspect install scripts, CI files, release automation, and package publish workflows.
  • A secret that existed and was later removed may still indicate a risky maintainer process.

Release Integrity

  • Verify package checksums when the ecosystem supports it.
  • Prefer signed releases or trusted provenance where available.
  • Compare source tarballs to repository tags when integrity matters.
  • Watch for release artifacts that do not match the visible source tree.

Supply-Chain Compromise Scenarios

  • Maintainer account takeover
  • malicious dependency injection in a minor release
  • registry compromise
  • CI secret theft leading to malicious publishing
  • abandoned package taken over by a new owner

The question is not only "is this code vulnerable" but also "could this release path be hijacked."

Package Intake Questions

  • Does the package solve a real problem we need.
  • Is the dependency count unusually high for its purpose.
  • Are there post-install scripts.
  • Is the code readable enough to review.
  • Is maintenance active and credible.

Red Flags

  • sudden popularity with no substantial code
  • no tests but privileged install behavior
  • release notes that do not match the diff
  • vendor accounts that changed recently
  • dependency tree expansion after a minor version bump

Practical Workflow

  1. Run pip audit, npm audit, or cargo audit as appropriate.
  2. Generate an SBOM with syft or cyclonedx-bom.
  3. Scan with grype or trivy.
  4. Inspect repo trust signals and maintainer history.
  5. Search code for eval(), exec(), base64 blobs, and obfuscation.
  6. Search git history for removed secrets and suspicious release changes.
  7. Verify checksums, tags, and signatures when available.

Scope Boundaries

  • A clean audit report does not mean the package is safe.
  • A suspicious code pattern does not automatically mean it is malicious.
  • Forensics here is about narrowing uncertainty and documenting risk.
  • Escalate to deeper manual review for packages with privileged access or broad deployment.

Summary

  • Audit dependencies with pip audit, npm audit, and cargo audit.
  • Review GitHub trust signals including stars, forks, contributors, recent activity, and maintainer reputation.
  • Check for dependency confusion and typosquatting against expected package names.
  • Use pip-licenses and licensee for license visibility.
  • Generate SBOMs with syft or cyclonedx-bom.
  • Match packages and images to CVEs with grype image:myapp and trivy fs ./.
  • Hunt for malicious patterns such as obfuscation, eval(), exec(), and base64 payload blobs.
  • Search git history for removed secrets with git log --all -S 'password'.
  • Verify checksums, signatures, and whether maintainer accounts may have been compromised.

よくある質問

AIスキル「Oss Forensics」では何ができますか?

オープンソースのセキュリティフォレンジック。リポジトリ、依存関係、コードを分析し、悪意のあるパターン、サプライチェーンのリスク、脆弱性を検出します。

TypingMindでOss Forensicsを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Oss Forensicsはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにOss Forensicsをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/oss-forensicsを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Oss Forensicsを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Oss Forensicsで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもOss Forensicsを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Oss Forensics」は無料ですか?

はい。AlexAI-MCPがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇