技能潮 SkillTide 提交收录
官方说明开源项目4 天前
alexgreensh/repo-forensics

alexgreensh/repo-forensics

Offline security scanner for AI-agent repos, skills, plugins, and MCP servers.
在 GitHub 查看 ↗直链 · 无中转页
★ 数取值
194 ★ · alexgreensh/repo-forensics · 取自 GitHub 搜索 API · (2026-10-16 20:00:20 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-10-13 · 最近见到 2026-10-13 · 共见到 1 次 · 被 1 个来源列出
评分构成
综合分 103 · 194 ★ · 1 个来源 · repo
常见问题(答案都来自我们的记录)
怎么安装?
我们【没有】从该仓库取到安装命令(我们的 install 覆盖率只有约 4%)。请看它的 README 或 releases 页。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 alexgreensh/repo-forensics;我们收录于 2026-10-13;最近见到 2026-10-13。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。
第三方质量标记

Repo Forensics

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

npm audit for AI-agent plugins, skills, and MCP servers.
Audit untrusted repos before they touch your agent. Fully local, self-updating detection, zero dependencies, zero telemetry.
---
That npm package Cursor added to your lockfile. The GitHub Actions workflow someone contributed in a PR. The MCP server with 500 downloads. The Claude Code skill someone linked in Discord. The ClawHub extension your OpenClaw agent auto-installed. The Codex plugin you grabbed from GitHub.
Did you vet any of them?
Nobody does. The vetting step doesn't exist. 1,184 malicious skills found on ClawHub in one campaign. Snyk ToxicSkills research shows 36.8% of agent skills have security flaws. You find something useful, you install it. It runs with your credentials, your file access, your session context. If it's designed to exfiltrate data, it does it quietly while you're using it for something else entirely.
You won't feel it. There are no symptoms.
**Repo Forensics is the vetting step.** Audit any repo, skill, MCP server, or plugin before it touches your machine. Works across the AI agent ecosystem: Claude Code, OpenClaw, Codex, Cursor, NanoClaw, or anything that installs third-party code. 28 scanners, runtime behavior prediction, ClawHavoc campaign detection. Runs in seconds.
**Your code never leaves your machine.** Zero dependencies. No cloud API. No telemetry. Unlike mcp-scan, nothing is uploaded anywhere.
**It doesn't stop at install.** Every git pull, npm update, pnpm update, bun update, uv sync, gem update, brew upgrade, and plugin update is monitored too. Known-malicious packages are blocked before the command even runs. A clean install today doesn't mean a clean update tomorrow -- repo-forensics watches both.
**Already installed something you're not sure about?** Run it on your existing projects too. The post-incident scanner checks npm cache, install logs, node_modules, and your machine for traces of known supply chain attacks (axios RAT, liteLLM .pth injection, SANDWORM campaign) even after the malware has cleaned up after itself.
---
What It Finds
---
How It Works
Point it at any repository. 28 scanners run in parallel, each checking a different attack surface: prompt injection, supply chain, credential theft, runtime behavior, infrastructure misconfiguration, and more. The correlation engine then cross-references findings across 41 rules to detect compound threats that no single scanner would catch. A dynamic import paired with a network fetch becomes a deferred payload loading finding. An environment variable read combined with an outbound POST becomes a data exfiltration finding.
Every finding carries a confidence score alongside severity, surfaced through four verdict tiers: BLOCK, WARN, INFO, and SUPPRESSED. Ambiguous WARN-tier findings can be adjudicated by the host agent (Claude Code, Codex, etc.) under a prompt-injection-safe protocol -- sanitized snippets, metadata-first, no code fences -- so context that the scanner can't infer is factored in without creating a new attack surface.
The result is a severity-ranked verdict with exit codes designed for CI/CD gating. Export it as text, JSON, a compact summary, or **SARIF 2.1.0** (--format sarif) that drops straight into the GitHub Security tab and any SARIF-consuming tooling. The 28 scanners below include a **YARA signature scanner** for curated malware, webshell, cryptominer, and hacktool families.
SARIF mapping details
SARIF findings are mapped from the same aggregated report the text, JSON, and summary paths produce. Severity maps to SARIF level (critical and high to error, medium to warning, low and info to note), Windows paths become forward-slashed relative URIs, and every result resolves to a deduped, sorted rules[] descriptor. The converter is lazy-imported only inside the --format sarif branch, so the other output paths stay zero-new-dependency and byte-identical to before.
Continuous protection (hooks)
Installed as a plugin, repo-forensics also runs automatically in the background, no manual scanning needed. Three hooks watch every install, update, and new session.
Hook triggers, platform support, latency, and scheduler internals
| Hook | Trigger | What It Does |
|------|---------|-------------|
| **PreToolUse** | Before any npm install, pip install, uv add, bun install, pnpm add, shell command | Blocks known-malicious packages before execution. IOC-only,
Scheduler internals: status commands, migration, and cross-agent versioning
If a native scheduler is unavailable (for example, a Linux container without a user systemd instance), a locked, hour-throttled detached refresh remains as the observable fallback.
来源
github · https://github.com/alexgreensh/repo-forensics
按领域浏览
开源项目
Traction
194 ★
收录于
4 天前

更多开源项目

查看开源项目全部 731 条 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引