# Security Check for AI Agents, Skills & MCP Servers

> Checks your project, downloaded skills and AI tool connections (MCP servers) for hidden instructions, leaked keys and dangerous commands, then explains every risk in plain words.

Security Check for AI Agents, Skills & MCP Servers is a paid AI agent skill on Agensi by maribostxxxx@gmail.com, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $7 (one-time purchase)
- Creator: [maribostxxxx@gmail.com](https://www.agensi.io/creators/mariam-bostashvili)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/security-check-for-ai-agents-skills-mcp-servers
- Tags: security, prompt-engineering, ai-agents, devops, code-review

## What it does

- Finds hidden instructions that try to take over your AI assistant
- Checks downloaded skills and AI tool connections before you trust them
- Finds leaked passwords, keys and unsafe commands in your project
- Explains every risk in plain words and ignores false alarms
- Suggests fixes and only changes files after you say yes
- Gives a clear answer: safe to use, fix first, or don't use

## Who it's for

- **Developers and founders using AI coding tools:** Check if a third-party project or skill is safe to open in your editor before it leaks your keys. Try: "Scan this repo for security risks before I open it."
- **People installing skills and AI add-ons from GitHub:** Check any skill or AI add-on before you trust it with your files and keys Try: "Check any skill or AI add-on before you trust it with your files and keys"
- **Managers sharing internal AI agents:** Scan your agent instructions to ensure no private data or unsafe commands were left in. Try: "Review our agent instructions for any exposed secrets or dangerous rules."

## About this skill

AI agents follow whatever text they read. One hidden line in a downloaded project, a skill or an MCP server config can tell your agent to send your passwords somewhere or run a harmful command, and you would never see it.

### How it works
1. Automatic scan: a fast, local scanner checks your project for leaked passwords and keys, unsafe commands and known attack phrases in agent instruction files.
2.Careful review: your AI agent then checks what the scanner can't see: installed skills, MCP server settings, hooks and rules files, looking for hidden or encoded text, data-leak requests and commands that do more than they claim.
3. Sorting: every finding is marked as real, a false alarm (for example a test file that shows an attack on purpose), or a question for you.
4. Clear answer: you get one verdict (safe to use, fix first, or don't use) and a table explaining each risk in plain words, with a suggested fix.
5. Fixes, only with your OK: nothing is changed until you approve it.

Why this beats prompting it yourself
If you simply ask your agent "is this safe?", it reads the files and can be tricked by the very instructions it is checking. This skill tells the agent to treat everything it scans as data to report, never as instructions to follow, and never to print your secret values. The scanner gives the same result every time, and the review follows a fixed checklist, so nothing is skipped.

### Use cases
- Checking a GitHub project before opening it in an AI code editor
- Checking a skill or MCP server before installing it
- Making sure no keys or passwords are left in a project before sharing or publishing it
- Adding a security check to your build so serious problems stop a release

### Known limitations
- Needs Node.js 20 or newer (free).
- The automatic scan uses pattern rules; it finds known risk patterns, not every possible attack. The review step covers more, but no tool can promise 100% safety.
- Test and example folders are skipped by default (you can include them).

## Requires

- ai-ria
- Node.js

## Technical details

Layer 1: the open-source ai-ria CLI (MIT, Node.js 20+), run via npx with a pinned version: npx -y ai-ria@0.2.1 security . --fail-on none. 16 pattern rules: exposed .env files, private keys, cloud access keys, hardcoded secrets, credentials in connection strings and SQL, remote scripts piped into a shell, destructive rm, chmod 777, eval, plain-HTTP URLs, unpinned dependencies, and prompt-injection patterns in AGENTS.md, CLAUDE.md, .cursorrules and copilot-instructions.md. Read-only, never executes scanned code. Output: .ria/SECURITY_REPORT.md and .ria/security-report.json.

Layer 2: guided agent review with a 7-point checklist for files the scanner doesn't cover: SKILL.md files, .cursor/rules/*.mdc, MCP configs (.mcp.json, .cursor/mcp.json, .vscode/mcp.json), .claude/settings.json hooks, GEMINI.md and similar.

CI: use --fail-on high to exit 1 on high or critical findings. Full rule list in references/rules.md.

## 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 Security Check for AI Agents, Skills & MCP Servers skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What kind of security risks does this skill look for?

This skill scans files and instructions used by AI agents to find hidden risks like passwords left in the code or secret rules that tell the agent to send your private data to outside websites. It helps you decide if a project or a new skill is safe to use before you run it.

### Do I need to install any special software for this to work?

To run the automated portion of the scan, you need Node.js version 20 or newer installed. If you do not have it, the skill will still perform a manual review of your files but will let you know that the automated checks were skipped.

### What does the final report look like and what information is in it?

You will receive a clear verdict such as Safe to use or Do not use, followed by a report that lists every finding by its severity. It explains what each risk means in plain language and suggests specific ways to fix the problems.

### Are there any types of files or risks that this skill cannot detect?

The skill cannot see inside password protected files or follow external links to check other websites. It is also unable to guarantee that a project is 100 percent safe, as it can only analyze the specific files you provide.

### How do I tell my agent to start a security scan?

You can tell your agent to check a project, a downloaded skill, or a repository before you trust it. You might also ask questions like is this safe or tell the agent to scan a specific folder for hidden instructions.

### Will this skill automatically change my files or code?

By default, the skill only reads your files to find risks. It will only change files or apply security fixes if you specifically give it permission to do so after reviewing the suggested improvements.

---

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.
