Aisec Suite
by Pyhr Off
Local static security scanner for MCP server metadata, agent memory files, and RAG documents with SARIF 2.1.0 output and baseline support.
Free
aisec-suite
Example session with this skill installed
Scan my local 'config/mcp_servers' directory and the 'data/memory.json' file for security risks. Give me a SARIF report.
- Read your context and instructions
- Compiled the aisec-suite
I have performed a security scan on your MCP configurations and agent memory using mcpaudit and memsentry.
Security Audit Results
| Tool | Target | Findings | Critical | High | Status |
|---|---|---|---|---|---|
| mcpaudit | config/mcp_servers/ | 12 | 1 | 3 | Action Required |
| memsentry | data/memory.json | 2 | 0 | 0 | Passed |
Vulnerability Summary
[CRITICAL] MCP-2024-001: Unrestricted Tool Execution
- File:
config/mcp_servers/shell_tool.json - Line: 14
- Issue: Tool definition allows shell execution without argument validation.
- Remediation: Implement a strict regex whitelist for the
commandparameter in the tool schema.
[HIGH] MCP-2024-008: Insecure Metadata Permissions
- File:
config/mcp_servers/db_connector.json - Line: 4
- Issue: Exposed database credentials in server metadata.
- Remediation: Move credentials to environment variables and reference them via the MCP environment config.
[LOW] MEM-2024-002: Potential PII Leakage
- File:
data/memory.json - Entry: UUID 8812-AF
- Issue: Detected string pattern resembling an API key in long-term memory.
- Remediation: Scrub the memory entry and update the agent's system prompt to ignore sensitive tokens.
Next steps
- Review the generated
scan_report.sariffile for full trace details. - Apply the recommended whitelist to
shell_tool.json. - Run
aisec-suite --baseline scan_report.sarifafter fixes to set a new security floor.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual security audits of AI agents are slow and error-prone. This skill automates local static analysis of your Model Context Protocol (MCP) configs, agent memory, and RAG document stores to catch prompt injections and data leaks before they hit production.
What it does
- Audit MCP schemas by scanning server metadata and tool definitions for insecure configurations using
mcpaudit. - Protect agent memory using
memsentryto detect poisoning risks or sensitive data leakage in persistent context files. - Secure RAG pipelines by inspecting document stores for embedded prompt injection payloads via
ragsentry. - Standardize reporting with SARIF 2.1.0 output for integration into existing vulnerability management workflows.
- Baseline comparison to track new vulnerabilities over time and ignore known, accepted risks.
How it works
- Environment check verifies the
aisec-suiteCLI is installed and available in the local Python path. - Target identification locates the specific MCP configs, memory logs, or RAG document directories in your workspace.
- Local execution runs the scanners entirely on your machine without sending sensitive data to external APIs.
- Report generation produces a summary of findings categorized by severity with specific file and line references.
Frameworks & tools
This skill utilizes the aisec-suite CLI tools (mcpaudit, memsentry, ragsentry) and outputs data in the SARIF 2.1.0 standard.
Why this beats prompting it yourself
Generic LLM prompts often miss structural vulnerabilities in JSON metadata or subtle injection patterns in large document stores. This skill uses purpose-built static analysis tools that offer deterministic results and standard compliance reporting that a raw prompt cannot replicate.
Use cases
- Scan tool definitions in a new MCP server for unauthorized access patterns.
- Review agent memory files for PII or signs of behavioral manipulation.
- Audit a folder of Markdown files intended for a RAG vector database.
- Integrate security checks into a local CI/CD pipeline for agent development.
Known limitations
Requires aisec-suite to be installed via pip in the local environment. It performs static analysis only and does not detect runtime or dynamic execution vulnerabilities.
Source & Documentation
View the source code, CLI usage, and documentation on GitHub: https://github.com/Praising-Harris-Ratnam-Pyhroff/aisec-suite
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 10 days ago
- Free with an Agensi account
- Software
Python
Permissions
What's inside
Creator
Pyhr Off
Frequently Asked Questions
New in LLM Ops
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for LLM Ops.