# Security Audit — OWASP Top 10 & Real Fixes

> Audit any Python or JavaScript/TypeScript codebase for real security holes — OWASP Top 10, injection, broken auth, hardcoded secrets, unsafe deserialisation, dependency risks, and dangerous config. A scored report with fixes prioritised by risk, plus a tested scanner and report validator.

Security Audit — OWASP Top 10 & Real Fixes is a paid AI agent skill on Agensi by Pavithran, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [Pavithran](https://www.agensi.io/creators/pavithran)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-27
- Security: scan passed (2026-11-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/security-audit-owasp-top-10-real-fixes
- Tags: security, python, javascript, owasp, audit, typescript, vulnerabilities

## About this skill

Most security advice is a checklist. This skill does the real thing: it audits code the way an attacker would read it, rates every finding by severity, scores the risk, and prioritises the fixes — and it knows what NOT to flag, so the owner doesn't learn to ignore the next audit. 1) Run the scanner, then triage. A pattern detector (security_scan.py, standard library only) scans Python, JavaScript/TypeScript, and config files (.env, .yaml, requirements, package.json) for concrete vulnerabilities — SQL injection, eval(), shell injection, pickle/YAML deserialisation, weak hashes, TLS verification off, hardcoded secrets, predictable tokens, debug mode in production, CORS *, unpinned dependencies, XSS, and more — each with a code, a severity, and a suggested fix. Then the agent triages every finding by reading the line: a scanner finding is a lead, not a verdict. 2) Walk the OWASP Top 10 by hand. The skill walks through broken access control, cryptographic failures, injection, insecure design, misconfiguration, vulnerable components, auth failures, integrity failures, logging failures, and SSRF — in priority order. This is the part no tool does, and it is where the serious findings live: a delete endpoint with no ownership check, a reset token that never expires, a method checked as a boolean so any user can delete anyone. 3) Rate every finding and score the risk. A five-level rubric (Critical / High / Medium / Low / Info) with upgrade and downgrade rules: rate the impact, not the cleverness; rate the reachable impact; when torn between two levels, pick the higher one and say why. Then a risk score (100 minus 25 per Critical, 15 per High, 5 per Medium, 1 per Low, floored at 0) and a fix plan ordered by risk — P0 before anything ships, P1 this week, P2 in the next change. 4) Decide what NOT to flag. Placeholders and test data, dead code, controls that already exist elsewhere, hypotheticals with no trigger — all go in a 'Not flagged' section with one line of reason each. That section is the proof the auditor looked. 5) Write the report and validate it. A fixed report format (verdict, risk score, scope, findings with severity + file:line + fix, 'Not flagged' section, fix plan) checked by a second script (audit_checklist.py) that enforces the discipline: no verdict without findings, no finding without a severity, a location, and a fix, no SECURE with an open Critical or High finding, and a risk score that matches the findings. What's inside: SKILL.md (step-by-step process, decision criteria, severity definitions, good/bad audit findings, constraints), two Python scripts (standard library only — no network, no credentials), three reference guides (OWASP Top 10 checklist with the severity rubric, secrets and auth review, dependencies and config hardening), and three full before/after audits with real scanner output: a Python shop API (12 scanner findings + 3 manual findings), a JavaScript shop app (9 + 3), and a clean rate limiter that earns a SECURE. Tested, honestly: 47 checks, 47 passed — the scanner flags all 45 planted vulnerabilities across 7 files and reports 0 findings on 7 clean files; a manual audit caught all 5 logic/auth flaws the scanner correctly missed (a method checked as a boolean, an IDOR, an unexpiring token, a deduct-before-lookup, a login with no rate limit); the checklist validator passes the good report 8/8 and fails each of 7 bad reports on exactly its one intended check; all 3 example audit reports pass 8/8. The full evidence, including the 7 defects found and fixed during testing, is in TEST-REPORT.md. The limits are stated there too: the skill has not been run inside a buyer's live agent, the scanner has not been run on a large real-world codebase, the JavaScript checks are line-based heuristics (the Python ones use the AST and are precise), and the scanner cannot check a pinned dependency against a vulnerability database — it flags unpinned and wildcard versions only. Works in Claude, ChatGPT, Cursor, Codex and Gemini CLI — any agent that reads SKILL.md. Python 3.8+ only; no installs, no accounts. This skill audits code and config you can read. It does not probe live systems or send exploit traffic.

## Requires

- Python

## Known limitations

Supports Python and JS/TS first. No live network probing or CVE database lookups. Requires local file access to run the included Python scanner.

## 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 Audit — OWASP Top 10 & Real Fixes 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

### Which programming languages and file types can this Security Audit skill analyze?

This skill is designed for Python, JavaScript, and TypeScript codebases, and it can analyze configuration files like .env, YAML, and package manifests to identify hardcoded secrets or insecure dependencies.

### How does this skill differ from simply asking a standard AI model to check my code for bugs?

Unlike basic prompts, this skill uses a multi-step verification process that requires the agent to justify every finding with a specific file path and exploit trigger, significantly reducing false positives.

### What kind of report will I receive at the end of the audit?

The skill generates a prioritized risk report that scores vulnerabilities from 0-100 and categorizes fixes into P0-P3 tiers, allowing your team to address critical security holes first.

### Does the Security Audit skill perform live penetration testing on my active servers?

No, this is a static analysis tool that audits source code and configurations; it does not perform live penetration testing, network traffic analysis, or probe running services.

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

You receive the full agent skill package including the automated scanner, the OWASP-aligned manual review framework, and the report validation scripts for use within your supported AI agent environment.

---

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.
