forensify

Solid

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).

AI & Automation 172 stars 26 forks Updated 5 days ago NOASSERTION

Install

View on GitHub

Quality Score: 84/100

Stars 20%
75
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Forensify The agent stack you have already installed is your biggest blind spot. `repo-forensics` catches threats before install. Forensify tells you what is already on this machine, across every agent framework, and where the credential, injection, and auto-execution surfaces are right now. ## What makes this different Every Codex user has `~/.codex/auth.json`. TruffleHog will tell you it contains secrets. Forensify tells you its permissions are 0o644 (world-readable), its auth_mode is apiKey (non-rotating, broad-scope), it has not been refreshed in 47 days, AND OpenClaw's `models status` command is known to silently overwrite it (openai/codex#54506). That cross-ecosystem stack interaction finding is a class no existing credential scanner produces. ## How it works Three stages, each a separate component: **1. Inventory (zero-LLM, deterministic)** The agent runs `{baseDir}/scripts/build_inventory.py`. It reads `{baseDir}/config/ecosystem_roots.json`, detects which ecosystems are installed, walks every surface (skills, MCP, hooks, plugins, commands, memory, credentials), and emits a JSON inventory. No model calls. Every string is NFKC-normalized and bidi-override-rejected before output. **2. Domain analysis (6 parallel sub-agents)** The orchestrator at `{baseDir}/orchestrator/` splits findings across six risk domains. Each domain sub-agent receives a `DomainJob` with the inventory slice and filtered scanner findings for its surface. Sub-agents run with hostile-data po...

Details

Author
alexgreensh
Repository
alexgreensh/repo-forensics
Created
6 months ago
Last Updated
5 days ago
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

repo-forensics

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.

172 Updated 5 days ago
alexgreensh
AI & Automation Listed

agent-guard

Scan AI agent skills, plugins, and MCP servers for malicious code BEFORE installation — catches prompt injection, credential theft, data exfiltration, and backdoors. Skills and the static MCP source scan use NVIDIA SkillSpector (static patterns + taint tracking + YARA + live OSV.dev CVE lookup + LLM semantic analysis, which runs by default through the user's own claude / codex / gemini CLI login — no API key — or any hosted provider with a key); the optional live MCP runtime check uses cisco-ai-mcp-scanner with separate MCP_SCANNER_LLM_* settings and any LiteLLM-supported provider. Skills follow the open SKILL.md standard (agentskills.io) and MCP is an open protocol, so one scan covers every agent: repos are downloaded as commit-pinned ZIP snapshots (never git clone before a verdict), and the exact scanned commit is installed via the bundled universal installer into Claude Code, Claude Desktop, Codex, Antigravity/Gemini, Hermes, and OpenClaw at once — or a chosen subset via --tools. Scan once, install everywh

2 Updated 6 days ago
elliottwaves-20
AI & Automation Listed

fenceline

Make a repository safe and productive for AI coding agents — install enforced hooks (lint / type-check gates, protected paths, destructive-command guards), a safe-list of tasks agents may ship alone, layered docs (AGENTS.md / CLAUDE.md / rules / domain docs), slash commands, and detect fragile zones from git history. Works for Node, Python, Go, Rust and generic repos; Cursor, Claude Code, Codex. Use whenever the user wants to "set up the project for agents", "add AI practices", "make Cursor / Claude Code follow our conventions", "bootstrap AGENTS.md / CLAUDE.md / cursor rules / hooks", "stop the agent from touching X", copy practices from another repo, or asks why agents keep breaking conventions — even if they don't say "fenceline". Also use it to refresh an existing setup after the stack or conventions changed.

0 Updated today
g0007b1