内容
# claude-security-audit
A Claude Code skill that audits your configuration for malicious hooks, MCP servers, and suspicious commands.
## Why
Claude Code's hooks system can execute arbitrary commands silently. A malicious project or plugin could inject hooks that exfiltrate your SSH keys, credentials, or other sensitive data. This skill helps you detect such threats.
## What it checks
| Location | What |
|----------|------|
| `~/.claude/settings.json` | hooks, MCP servers, dangerous settings |
| `~/.claude/skills/` | skill files for hidden commands |
| `~/.claude/plugins/` | plugin hooks |
| Project `.claude/` | project-level hooks and MCP configs |
| Project `CLAUDE.md` | instructions that bypass safety checks |
## Severity levels
- **CRITICAL** — Active data exfiltration (e.g., `curl` + reading SSH keys)
- **HIGH** — Dangerous commands or broad hooks
- **MEDIUM** — Suspicious but needs human judgment
- **LOW** — Informational
## Install as Claude Code skill
```bash
# Copy to your skills directory
git clone https://github.com/tdccccc/claude-security-audit.git ~/.claude/skills/security-audit
```
Then use `/security-audit` in Claude Code, or just say "check my security".
## Standalone usage
```bash
python3 scripts/scan.py # scan current directory
python3 scripts/scan.py /path/to/project # scan specific project
```
## License
MIT
连接信息
猜你喜欢
rea
用于编码代理的逆向工程:一个 CLI 和 MCP 服务器,用于检查任何应用程序,了解其功能,并按照您的方式构建它们。
everything-claude-code
完整的 Claude Code 配置集合 - agents、skills、hooks、commands、rules、MCPs。来自 Anthropic...
Firecrawl
Firecrawl MCP Server 实现了网页抓取、爬虫和内容提取功能。
MarkItDown MCP
MarkItDown-MCP是一个轻量级服务器,用于将URI转换为Markdown。
cc-switch
跨平台的Claude Code、Codex和Gemini CLI一体化助手。
Agent-Reach
赋予你的AI Agent观察整个互联网的眼睛。读取并搜索...