Oss Forensics logo

Oss Forensics

Community
AlexAI-MCP
oss-forensics

Open-source security forensics - analyze repositories, dependencies, and code for malicious patterns, supply chain risks, and vulnerabilities.

Overview

PublisherAlexAI-MCP
Repositoryhermes-CCC
Skill nameoss-forensics
Stars
134
Forks
22
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by AlexAI-MCP on GitHub. Read the source before you install it.

Installation

Install the Oss Forensics AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/oss-forensics
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Oss Forensics in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Oss Forensics on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Oss Forensics is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Frequently asked questions

What does the Oss Forensics AI skill do?

Open-source security forensics - analyze repositories, dependencies, and code for malicious patterns, supply chain risks, and vulnerabilities.

Why use Oss Forensics on TypingMind?

Because you install it once and use it with any model. Oss Forensics is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Oss Forensics in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/AlexAI-MCP/hermes-CCC/tree/master/skills/oss-forensics. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Oss Forensics?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Oss Forensics?

As many as you like. As long as a model supports skills, you can use Oss Forensics with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Oss Forensics AI skill free?

Yes. It is published on GitHub by AlexAI-MCP under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇