Works with the AI Agents you already use
Freebies — OWASP Top 10 Cheat Sheet
Audit web architectures and code against OWASP Top 10 vulnerabilities with practical defensive patterns.
Free
Freebies — OWASP Top 10 Cheat Sheet
Example session with this skill installed
Audit my current Express.js middleware for OWASP Top 10 compliance, specifically focusing on Broken Access Control and Injection.
- Read your context and instructions
- Compiled the freebies
I have analyzed your Express.js middleware against the OWASP Top 10 (2021/2024) standards. The audit focused on Broken Access Control (A01:2021) and Injection (A03:2021).
Security Audit Report: Express.js Middleware
| Vulnerability Category | Status | Findings | Recommended Action |
|---|---|---|---|
| A01:2021-Broken Access Control | WARN | Middleware checks for isAdmin boolean but lacks granular Row-Level Security (RLS) for resource ownership. | Implement an Ownership Middleware to verify user_id matches the resource owner_id. |
| A03:2021-Injection | PASS | Use of parameterized queries via pg-promise detected. No direct string concatenation in SQL execution. | Maintain strict typing and avoid eval() or dynamic property access on req.body. |
| A07:2021-Identification & Auth | FAIL | JWT tokens are missing the httpOnly and Secure flags in the cookie header. | Update res.cookie configuration to include security flags. |
Defensive Code Pattern: Secure Ownership Middleware
// Secure pattern to prevent IDOR (Insecure Direct Object Reference)
const verifyOwnership = (repo) => async (req, res, next) => {
try {
const resource = await repo.findById(req.params.id);
if (!resource) return res.status(404).send('Not found');
// Check if the authenticated user owns the resource
if (resource.ownerId !== req.user.sub) {
return res.status(403).send('Forbidden: Access Denied');
}
next();
} catch (err) {
next(err);
}
};
Next steps
- Apply the
httpOnly: trueflag to your session cookies inapp.js. - Integrate the
verifyOwnershipmiddleware on all/api/resources/:idPUT and DELETE routes. - Run the
ci-cd-pipeline-hardening-agentto automate static analysis for future PRs.
Connects securely to your tools. The creator never sees your data.
About this skill
Web applications face constant threats, yet most security audits are generic and lack actionable remediation steps. This skill provides a targeted benchmarking framework to audit web architectures against the current OWASP Top 10 vulnerabilities with developer-centric defense patterns.
What it does
- Architectural Benchmarking evaluates system designs or code snippets against the OWASP Top 10 matrix.
- Defensive Pattern Generation provides specific exploit scenarios paired with defensive programming code examples.
- Compliance Auditing generates structured checklists with Pass/Warn/Fail statuses for each vulnerability category.
- Remediation Roadmapping suggests concrete CI/CD pipeline upgrades to automate security gates.
How it works
- Analyze Architecture by providing the agent with your stack details, code snippets, or system diagrams.
- Review Vulnerabilities as the agent maps your inputs to specific OWASP categories like Broken Access Control or Cryptographic Failures.
- Inspect Defensive Patterns to see exactly how to refactor vulnerable code using secure coding practices.
- Export Audit Checklist to get a summary of compliance status and necessary hardening steps.
Frameworks & tools
This skill is framework-agnostic but provides specific patterns for modern web stacks. It utilizes project-scoped runners like npx, uvx, or pipx to ensure security during analysis.
Why this beats prompting it yourself
Standard prompts often miss the nuances of the latest OWASP updates or provide generic advice that is hard to implement. This skill uses a deterministic workflow and bundled technical references to ensure every audit is consistent, defensive, and mapped to real-world exploit scenarios.
Use cases
- Audit a new Node.js API for Broken Access Control vulnerabilities.
- Review a React frontend for potential Cross-Site Scripting (XSS) vectors.
- Benchmark a cloud-native architecture against SSRF and Injection risks.
- Generate a security compliance checklist for a production readiness review.
Known limitations
This skill is strictly advisory and defensive. It will not generate weaponized exploit payloads or perform activities requiring root or administrator privileges.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
Strictly advisory and defensive only. No weaponized exploit generation. Restricted to workspace files; no system-level package installation or root access.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 4 days ago
- Free with an Agensi account
File System Read/Write (strictly scoped to current project workspace `./`). Zero global installation or elevated privileges required.
Permissions
Target Use Cases: - Review our web app against OWASP Top 10 vulnerabilities. - Provide a checklist for OWASP Broken Object Level Authorization. - Audit our API security posture based on OWASP standards.