# Pre-Launch Code & AI/MCP Security Gate

> Deterministic 24-rule pre-launch security gate for Web, API, and AI/MCP apps with secret redaction, 7-question false-positive triage, SARIF 2.1.0, and an interactive Light/Dark HTML scorecard.

Pre-Launch Code & AI/MCP Security Gate is a paid AI agent skill on Agensi by Wasabi hu, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $14 (one-time purchase)
- Creator: [Wasabi hu](https://www.agensi.io/creators/wasabi-hu)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0.0
- Last updated: 2026-12-02
- Security: scan passed (2026-12-02); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/pre-launch-code-ai-mcp-security-gate
- Tags: security, ai-agents, code-review, python, devops

## What it does

- Checks your login and identity systems for ways a stranger could get in
- Scans for dangerous code that could let someone take control of your server
- Finds hidden secrets or passwords left in your files and hides them for safety
- Reviews your AI and agent settings to prevent them from doing harmful things
- Creates a professional web report you can read in any browser
- Verifies that your app cannot be tricked into reading files it should not see

## Who it's for

- **Founders launching a new app or tool:** Check your code for hidden safety flaws before you go live. Try: "Scan my new web app folder for security risks before I launch."
- **Marketers using AI agents for work:** Make sure your custom AI tools won't accidentally leak data or run bad commands. Try: "Check my AI agent configuration files for any security holes."
- **Freelance developers building for clients:** Give your clients a professional safety report alongside their finished code. Try: "Run a security audit on this project and give me an HTML report for my client."

## About this skill

Ship with verifiable security evidence instead of ad-hoc prompt guesswork. **Pre-Launch Code & AI/MCP Security Gate** is a deterministic, zero-dependency pre-launch defensive gate for Web apps, APIs, Node/Python backends, Workers, and AI/MCP agent projects.

Unlike prompt-only checklists that drift between runs, this skill runs **three local Python 3 stdlib scripts** against your repository or staged release diff and outputs a strict **GO / CONDITIONAL / NO-GO** release verdict.

### 24 Deterministic Rules Across 5 Trust Surfaces
- **AUTH (Auth, Sessions & Proxy)**: Missing auth guards, weak JWT settings (`alg=none`), hardcoded credentials, client-trusted tenant/owner IDs, and permissive cookie flags.
- **EXEC (Execution, SQL & DOM Sinks)**: Shell command injection (`shell=True`, `exec`/`eval`), SQL string interpolation, unsafe deserialization (`pickle`/`yaml.load`), and DOM XSS sinks.
- **FS (Filesystem & Archives)**: Path traversal without root containment checks, unsafe archive extraction, and unrestricted uploads.
- **NET_CFG (Secrets, SSRF & Config)**: Unvalidated outbound URLs (SSRF/metadata risk), wildcard CORS with credentials, debug flags in production, and committed `.env` or private keys.
- **AI_MCP (AI, Agent & MCP Boundaries)**: Over-privileged MCP servers, unpinned `npx`/`uvx` commands, untrusted text concatenated straight into system prompts, raw LLM output passed to execution sinks, and missing human approval gates.

### Built-In Signal Quality & Artifacts
- **Automatic `<REDACTED>` Secret Hygiene**: Matched credential values are redacted across CLI output, JSON summaries, SARIF 2.1.0 logs, and HTML reports.
- **7-Question False-Positive Triage Gate**: Separates true P0 release blockers from test fixtures and unreachable code, with explicit **Not tested and coverage boundaries**.
- **CI + Human Deliverables**: Exit codes (`0` = GO, `1` = CONDITIONAL, `2` = NO-GO), standards-compliant **SARIF 2.1.0**, and a single-file interactive **Light/Dark HTML Release Scorecard**.

*Scope: Strictly offline defensive pre-launch self-audit for authorized codebases. Zero network requests and zero external dependencies.*

## Requires

- Python

100% offline local static analysis using Python 3 stdlib only. Never sends code or hits external APIs.

## Known limitations

This only looks at the code files themselves. It cannot find bugs that only happen while the app is actually running or being used.

## Technical details

This skill uses Python scripts to perform static analysis (AST-based) on local repositories. It targets Five Trust Surfaces including AUTH, EXEC, FS, NET_CFG, and AI_MCP. It generates SARIF 2.1.0 logs and interactive HTML reports. The tool runs offline with no network dependencies and redacts all discovered secrets in the output.

## 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 Pre-Launch Code & AI/MCP Security Gate 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 problems does this skill find?

This skill scans your project files to find security risks in your login systems, file storage, and network settings. It specifically looks for dangerous patterns in AI and agent tools that hackers could use to take control of your app.

### Do I need to sign up for any extra services to use this?

You just need to provide the path to your project folder or code repository. The skill works entirely offline and does not require any external accounts or internet access to perform the scan.

### What kind of report will I get after the scan is finished?

You receive a detailed safety report as a web page that shows every risk found. It also gives you a clear Go, Conditional, or No-Go verdict so you know if your app is ready to be released.

### Can this skill fix the security holes it finds or test my live website?

This skill only reads your code to find mistakes; it does not actually run your app or test it while it is live. It will not fix the code for you or perform active hacking tests against a website.

### How do I tell my agent to start the security check?

You can tell your agent to run a pre-launch security review on a specific folder. Ask it to check your code for risks and give you the final safety report and verdict.

### Will my private code be sent anywhere else during the scan?

No, this skill runs privately on your own machine. It is designed to be read-only and never sends your code or private information to any outside servers.

---

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.
