# bix-claude-skills: Skill and MCP Security Audit

> Scan Claude Code skills, MCP servers, hooks and CLAUDE.md files for risky patterns before you trust them.

bix-claude-skills: Skill and MCP Security Audit is a free AI agent skill on Agensi by Biswajit Sahoo, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Biswajit Sahoo](https://www.agensi.io/creators/biswajit-sahoo)
- Category: [Security](https://www.agensi.io/skills/security)
- Uses: 2
- Version: 1.0
- Last updated: 2026-10-13
- Security: scan passed (2026-10-13); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/bix-claude-skills-skill-and-mcp-security-audit
- Tags: security, ai-agents, code-review, python, llm-ops, prompt-injection, audit, claude-code

## About this skill

Third-party AI tools and MCP servers often request excessive permissions or hide malicious hooks. This skill vets Claude Code extensions, servers, and configuration files for security vulnerabilities before you install them. It replaces manual code review with a multi-stage automated audit process.

### What it does
- **Multi-surface scanning** examines skills, MCP servers, lifecycle hooks, and `CLAUDE.md` files for hidden risks.
- **Pattern detection** identifies suspicious shell commands, network calls, and unauthorized filesystem access.
- **Deep analysis** launches parallel sub-agents to evaluate the intent of complex logic vs declared permissions.
- **Risk scoring** provides a 0-100 verdict ranging from Safe to Malicious based on combined findings.
- **Remote resolution** pulls targets directly from GitHub URLs or npm packages for sandboxed inspection.

### How it works
1. **Targeting**: Specify a local path, GitHub URL, or npm package using the `audit` command with a specific mode like `skill` or `mcp`.
2. **Quick Scan**: The agent executes a high-speed Python-based pattern scan to find immediate red flags.
3. **Deep Analysis**: If risks are found, parallel Sonnet-powered agents perform a contextual review of the source code.
4. **Reporting**: You receive a structured security report with severity-ranked findings and installation recommendations.

### Frameworks & tools
This skill requires Python 3 for initial scanning and uses Sonnet sub-agents for deep contextual analysis. It integrates with Claude Code and MCP server configurations.

### Why this beats prompting it yourself
Generic prompts often miss obfuscated code or nested hooks in complex extension directories. This tool uses specialized Python scripts for exhaustive pattern matching and parallel agents to maintain a strict security-focused persona that doesn't suffer from context drift.

### Use cases
- Vetting a community-made MCP server found on GitHub before adding it to your config.
- Auditing local lifecycle hooks to ensure no scripts are exfiltrating environment variables.
- Reviewing a new project's `CLAUDE.md` for prompt injection or risky instructions.
- Scanning an entire local extension environment for permission overreach.

### Known limitations
Requires Python 3 installed on the host machine. Audit scope is limited to the targeted directory or package and does not monitor runtime behavior post-installation.

## Requires

- when the user wants to vet a skill or MCP
- Python
- @scope/package
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the bix-claude-skills: Skill and MCP Security Audit skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### How does this skill differ from a standard code review tool?

The 'audit' skill is designed specifically for Claude Code and Model Context Protocol (MCP) environments, vetting extensions, servers, and lifecycle hooks for malicious intent. It acts as a security gatekeeper to prevent unauthorized filesystem access or data exfiltration before you integrate third-party tools.

### Can I audit MCP servers that haven't been downloaded to my local machine yet?

Yes, you can audit remote resources by providing a GitHub URL or npm package name, allowing you to vet community-built tools in a sandboxed manner before downloading them to your local machine.

### Are there any specific technical prerequisites to run this skill?

The skill requires Python 3 for its initial high-speed pattern scanning and utilizes Sonnet sub-agents for deep logic analysis, so you will need a Python environment configured on your host system.

### Does the audit skill provide ongoing runtime protection after a tool is installed?

No, this tool provides a static analysis of the source code and configuration files to identify risks; it does not monitor the real-time behavior or network activity of a tool once it is actually running.

### What exactly is included in the purchase of this skill?

You receive the complete 'audit' skill package, including the core Python scanning engine, the multi-stage agentic workflow, and full integration documentation for Claude Code and MCP.

### How do I install it?

Download the zip from Agensi and add it to your Claude Code skills folder. It is also installable as part of the `bix-utils` plugin from the GitHub repo. Then run `/audit`.

### What do I need installed?

Python 3 (standard library only). Add `git` for GitHub URLs and `npm` for npm packages. No pip packages.

### Will it change my files or install the thing I am auditing?

No. It is read-only against your files. Remote targets are downloaded to a temp directory (npm via `npm pack`, which runs no package scripts) and deleted at the end. It asks before running the deep scan.

### Does it cost many tokens?

The quick scan uses no model tokens. The deep scan is optional and runs on Sonnet, one focused agent per surface, up to four in `all` mode.

### My marketplace scanner flagged this skill as dangerous. Why?

`pattern-scan.py` contains regex strings for reverse shells, `curl | sh`, credential paths and prompt-injection phrases, because those are what it detects. They are data inside the `PATTERNS` list and are never executed. The script's imports are `sys`, `os`, `re` and `json`, it makes no network calls and writes nothing. A scanner that flags it is behaving as expected. You can read the script and confirm. Running the audit on itself also reports many critical matches for the same reason.

### What do the scores mean?

- 0 to 20 SAFE, 
- 21 to 40 CAUTION, 
- 41 to 60 SUSPICIOUS, 
- 61 to 80 DANGEROUS, 
- 81 to 100 MALICIOUS. 

Quick-scan weights are critical 25, high 10, medium 3, low 1, capped at 100.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
