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

# 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
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