repo-forensics

Solid

Security forensics for git repos, AI skills, and MCP servers. Audits dependencies, detects prompt injection, credential theft, runtime dynamism, manifest drift, known CVEs, CISA KEV (actively exploited) vulns, and 2026 attack patterns. Not for fixing vulnerabilities or pentesting.

AI & Automation 144 stars 19 forks Updated yesterday NOASSERTION

Install

View on GitHub

Quality Score: 82/100

Stars 20%
72
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

<!-- repo-forensics v2 | built by Alex Greenshpun | https://linkedin.com/in/alexgreensh --> # Repo Forensics v2 Deep security auditing for repositories, AI agent skills, and MCP servers. ## Highlights - **Rules-as-data** (v2.10): ~545 behavioral detection patterns live in versioned JSON rule packs (`data/rulepacks/*.json`), not compiled into source. Each rule carries a stable id, severity, confidence score, explanation, and embedded self-tests. Pack-driven scanners: secrets, SAST, skill threats, MCP security, runtime dynamism, and shared patterns. Algorithmic scanners (entropy, AST, DAST, git forensics, integrity, manifest drift, binary, lifecycle, dependencies, infra, devcontainer, post-incident, dataflow, entrypoint) remain code-driven; they do not receive feed updates. - **Signed daily rule-pack feed** (v2.10): New detection rules reach installed users without a code release. An Ed25519-signed bundle is fetched by the daily `refresh_threat_dbs.py` pipeline. Shipped packs always work offline; the feed only overlays when verified, schema-valid, and strictly newer than the last accepted version. The same signing now covers the IOC feed for symmetric trust. - **Confidence tiers + verdict levels** (v2.10): Findings carry a `confidence` score. Four verdict tiers shape output and agent routing: BLOCK (>= 0.92), WARN (>= 0.60), INFO (>= 0.30), SUPPRESSED (< 0.30 or user-suppressed). Severity still drives exit codes (0/1/2/99) unchanged. - **Separate...

Details

Author
alexgreensh
Repository
alexgreensh/repo-forensics
Created
4 months ago
Last Updated
yesterday
Language
Python
License
NOASSERTION

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Solid

forensify

Cross-agent self-inspection of your AI-agent stack. Audits skills, MCP servers, hooks, plugins, commands, credentials, and memory files across Claude Code, Codex, OpenClaw, and NanoClaw. Produces a structured inventory and narrative briefing with cross-ecosystem risk analysis. Use when the user asks to audit their own setup, check what they have installed, review their agent stack security posture, or understand cross-tool interactions. Use when a user has accumulated skills/plugins/MCP servers over time and wants visibility into their attack surface. Use after installing new skills or plugins. Do NOT use for vetting external code before install (that is repo-forensics). Do NOT use for incident response during active attacks. Do NOT use for fixing or patching vulnerabilities (forensify is read-only).

144 Updated yesterday
alexgreensh
AI & Automation Listed

repo-audit

Security audit of any third-party repo, package, skill, plugin, or MCP server BEFORE it is installed or executed. Use this skill whenever the user asks "is this safe?", "audit/vet/check this repo", "should I install X", pastes a GitHub/npm/PyPI/marketplace link with intent to install, or whenever you yourself are about to recommend or install third-party code, even if nobody says the word "audit". Covers maintainer reputation, typosquatting, install-time hooks, obfuscation, exfiltration and secrets-harvesting patterns, dependency and CI risks, and prompt injection in agent-facing files (skills, agent configs, MCP tool descriptions). Produces a SAFE / SAFE-WITH-CONDITIONS / UNSAFE verdict with evidence, transparent red flags, and conditions such as version pinning.

1 Updated 6 days ago
belschak
Code & Development Listed

security-scan

Scan a repo for secrets, dependency CVEs, container CVEs/SBOM, GitHub Actions issues, authn/authz anti-patterns, and posture gaps across three tiers. Report only — no code changes.

8 Updated today
app-vitals