# aisec-suite

> Local static security scanner for MCP server metadata, agent memory files, and RAG documents with SARIF 2.1.0 output and baseline support.

aisec-suite is a free AI agent skill on Agensi by Pyhr Off, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Pyhr Off](https://www.agensi.io/creators/pyhr-off)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/aisec-suite
- Tags: security, mcp, rag, sarif, static-analysis, ai-security

## 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 `memsentry` to 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
1. **Environment check** verifies the `aisec-suite` CLI is installed and available in the local Python path.
2. **Target identification** locates the specific MCP configs, memory logs, or RAG document directories in your workspace.
3. **Local execution** runs the scanners entirely on your machine without sending sensitive data to external APIs.
4. **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](https://github.com/Praising-Harris-Ratnam-Pyhroff/aisec-suite)

## Requires

- Python

## 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 aisec-suite 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 suite differ from just asking an LLM to check my files for security risks?

Unlike generic LLM security prompts, this skill uses deterministic static analysis tools (mcpaudit, memsentry, ragsentry) to find structural vulnerabilities in JSON metadata and document stores that models often overlook.

### Which AI agent frameworks are compatible with aisec suite?

The skill is compatible with any agent or framework that utilizes the Model Context Protocol (MCP) and stores memory or RAG documents in local text-based formats like JSON, Markdown, or CSV.

### Does my sensitive training data or memory ever leave my local environment during a scan?

No, all scans are performed entirely on your local machine; your MCP configs, memory logs, and RAG documents are never sent to an external API or cloud service for analysis.

### Are there any external dependencies required to use this skill?

You must have the `aisec-suite` CLI installed via pip in your local Python environment for the skill to execute the scanning commands.

### Can I integrate the security reports into my existing developer workflow?

The skill generates reports in the industry-standard SARIF 2.1.0 format, allowing you to easily import findings into VS Code, GitHub Security, or other vulnerability management dashboards.

### Does this skill provide real-time protection while my agent is running?

It is a static analysis tool designed to find "at-rest" vulnerabilities in configurations and documents; it does not monitor live agent interactions or detect dynamic runtime exploits.

---

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.
