# Guardian AI — Codebase Security Platform

> Securely map codebases, scan for vulnerabilities, and apply human-approved remediations.

Guardian AI — Codebase Security Platform is a free AI agent skill on Agensi by Muhammad Okasha, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Muhammad Okasha](https://www.agensi.io/creators/okasha)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-19
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/guardian-ai-codebase-security-platform
- Tags: security, code-review, sast-scanning, dependency-analysis, devops

## About this skill

Manual security reviews are slow and inconsistent. Codebases often hide injection flaws, leaked secrets, and supply chain risks that standard linters miss. This skill provides a guided security platform for mapping codebases, scanning for vulnerabilities, and applying controlled remediations.

### What it does
- **Codebase Mapping** builds a symbol and dependency relationship graph to visualize project structure.
- **Security Auditing** detects injection flaws, secret leaks, and unsafe data handling with stable fingerprinting for tracking.
- **Impact Analysis** traces how proposed changes affect APIs, components, and database schemas.
- **Supply Chain Review** audits manifests and lockfiles to flag unpinned versions and transitive risks.
- **Incident Investigation** analyzes sanitized logs to build event timelines and rank root cause hypotheses.
- **Controlled Remediation** generates unified diffs for fixes and verifies resolution after human approval.

### How it works
1. **Discovery** analyzes the project to identify languages, frameworks, and entry points.
2. **Audit** runs deterministic checks across the source code and reports findings by severity.
3. **Analysis** evaluates specific change risks or investigates provided incident logs.
4. **Fixing** proposes patches for specific finding IDs and applies them only after explicit user consent.

### Frameworks & tools
Works across any language or framework by analyzing source files, manifests, and lockfiles. Uses Anthropic and Google AI for reasoning, or falls back to rule-based checks.

### Why this beats prompting it yourself
Generic prompts often follow malicious instructions found in untrusted repository files or miss complex dependency relationships. This skill enforces a strict security mandate, redacts high-entropy secrets before processing, and uses stable fingerprinting to ensure findings are actionable and tracked.

### Use cases
- Auditing a new repository for hard-coded credentials and injection vulnerabilities.
- Mapping dependencies to identify transitive risks before a major version upgrade.
- Analyzing the blast radius of a database schema change on existing APIs.
- Investigating a production incident by reconstructing a timeline from sanitized logs.

### Known limitations
Analysis is restricted to local project files the agent can read. It cannot deploy code, rotate credentials, perform bulk file deletions, or disable existing security controls.

## 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 Guardian AI — Codebase Security Platform 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 Guardian AI differ from simply asking a standard LLM to review my code?

Unlike generic prompts that can be misled by malicious code, Guardian AI uses stable fingerprinting and sanitizes high-entropy secrets before processing. It builds a full dependency relationship graph to catch complex injection flaws and supply chain risks that simple context windows often miss.

### What programming languages and AI agents is this skill compatible with?

The skill analyzes source files, manifests, and lockfiles across any language or framework. It is designed to work with any AI agent capable of file-system access and tool-calling, leveraging advanced reasoning from models like Anthropic and Google AI.

### Can the agent automatically push security fixes to my production environment?

No, the skill operates under a strict security mandate. It cannot deploy code, rotate credentials, or disable security controls; it generates unified diffs for remediations that require explicit human approval before any changes are applied.

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

Guardian AI is a specialized skill set for your AI agent that includes modules for codebase mapping, security auditing, impact analysis, and incident investigation tools. You receive the logic and structured workflows needed to perform professional-grade SAST scanning and remediation.

### How does the skill help with making changes to existing database schemas or APIs?

The 'Impact Analysis' feature traces how proposed code or schema changes ripple through your APIs and components. This helps developers understand the 'blast radius' of a change before it is committed, preventing breaking changes and new vulnerabilities.

### How does Guardian AI handle sensitive information like API keys during a scan?

To protect your sensitive data, the skill redacts high-entropy secrets before they are processed by the reasoning engine. Furthermore, it is restricted to analyzing local project files and does not have the authorization to perform bulk deletions or external network calls.

---

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.
