More screenshots
Works with the AI Agents you already use
Moonlight Security Audit Owasp
OWASP-aligned security auditing for code and config with realistic attack scenarios and idiomatic fixes.
Free
Moonlight Security Audit Owasp
Example session with this skill installed
Run a security audit on the new user registration flow in src/auth and src/api/users. Check for OWASP Top 10 issues.
- Read your context and instructions
- Compiled the moonlight security audit
I have completed a read-only security assessment of the registration flow. I identified 2 high-risk findings related to broken access control and cryptographic failures.
Security Audit Report: User Registration
| Finding | OWASP Category | Severity | File:Line |
|---|---|---|---|
| IDOR in Profile Update | A01:2021-Broken Access Control | High | src/api/users/update.ts:24 |
| Weak Password Hashing | A02:2021-Cryptographic Failures | Medium | src/auth/service.ts:88 |
| Missing Rate Limiting | A07:2021-Ident. & Auth Failures | Medium | src/api/auth/register.ts:12 |
Detailed Findings
IDOR in Profile Update
- Attack Scenario: An authenticated user can modify the
userIdin the PUT request body to update profile data for any other user, as the service lacks an ownership check against the session ID. - Fix: Implement a check to ensure
session.user.id === request.body.userIdor pull the ID directly from the auth context. - Verification: Attempt a PUT request to
/api/users/123while logged in as user456.
Weak Password Hashing
- Attack Scenario: The application uses SHA-1 for password hashing without a salt. If the database is compromised, passwords can be recovered via rainbow tables almost instantly.
- Fix: Replace SHA-1 with
argon2orbcryptusing a work factor of at least 10. - Verification: Inspect the
usertable to confirm hash prefixes match modern algorithms.
Next steps
- Apply the authorization guard to the
updatecontroller. - Migrated existing user hashes to Argon2id.
- Enable the
express-rate-limitmiddleware on registration endpoints.
Connects securely to your tools. The creator never sees your data.
About this skill
Manual security reviews are slow and often miss the critical path between a code flaw and a business impact. This skill performs a read-only static assessment of your codebase or pull request, mapping every finding directly to the OWASP Top 10 with realistic attack scenarios.
What it does
- Attack surface mapping identifies all entry points including routes, webhooks, and cron jobs to locate trust boundaries.
- Access control verification audits authentication and object-level authorization (IDOR) to ensure tenant isolation.
- Injection tracing follows untrusted input from source to sink across SQL, NoSQL, shell, and template engines.
- Session & JWT analysis checks token validation, cookie flags, and brute-force protections for authentication flows.
- Configuration auditing flags insecure CORS policies, verbose error handling, and container privilege escalations.
How it works
- Scope definition targets specific files, directories, or a PR range for inspection.
- Context discovery maps data flows and sensitive assets like PII or credentials.
- Vulnerability verification confirms suspected flaws by drafting a proof-of-concept attack scenario.
- Remediation reporting provides code-specific fixes using your project's existing framework and libraries.
Frameworks & tools
This skill is framework-agnostic but provides idiomatic fixes for ecosystems like NestJS, Express, and React. It utilizes standards from the OWASP Top 10 and common security headers (Helmet) to evaluate risk.
Why this beats prompting it yourself
Generic prompts return generic warnings. This skill filters out theoretical issues, focusing only on exploitable paths with specific file:line citations and remediation steps tailored to your ORM and middleware.
Use cases
- Auditing a new file upload feature for path traversal and SSRF before merging.
- Reviewing authentication middleware for JWT signature and expiration flaws.
- Running a pre-deployment check on a PR to catch mass-assignment or IDOR bugs.
Known limitations
This is a static code assessment only. It does not probe live environments, perform dynamic scanning (DAST), or verify third-party secret validity.
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 5 days ago
- Free with an Agensi account
Permissions
What's inside
Frequently Asked Questions
New in Security
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.