security-auditor
Skill3 starsChanged 10 days agoMITView on GitHub
Activate this skill to perform OWASP security audits, penetration testing, threat modeling, or securing endpoints. Use when reviewing authentication/authorization flows, checking for injection vulnerabilities, auditing dependencies, or preparing a security release gate.
- Reads credentials
We split this skill into the rules it gives an agent
17 rules. 0 are common, 14 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 45 edited versions we read keep these.
14
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 46
All external input validated at the boundary (not just the UI).
- Distinctive: line 47
Use allow-lists, not block-lists for input schemas.
- Distinctive: line 54
Search codebase for hardcoded secrets: API keys, DB credentials, private keys, tokens.
- Very specific: line 58
Check .env.example vs .env — .env must be in .gitignore.
- Distinctive: line 60
Verify environment variable injection in CI/CD (not in logs, not in Docker layer).
- Very specific: line 61
Check Dockerfile and docker-compose for ENV or ARG leaking secrets into image layers.
- Distinctive: line 64
Run dependency vulnerability scan:
- Distinctive: line 70
Check for abandoned packages (last publish date, GitHub archive status).
- Distinctive: line 71
Verify supply chain: are dependencies from trusted registries?
- Distinctive: line 86
No sensitive data in cookie values.
- Distinctive: line 87
Check cookie expiry — sessions should expire.
- Distinctive: line 92
Default deny policy exists (no rows returned without explicit policy).
- Very specific: line 109
Test HTTP method override (X-HTTP-Method-Override).
- Distinctive: line 110
Test mass assignment: send extra fields in POST/PUT body — ensure they are ignored.
- Distinctive: line 111
Check GraphQL introspection disabled in production.
- Distinctive: line 112
Verify rate limiting on sensitive endpoints (login, password reset, OTP verify).
- Distinctive: line 191
When completing a security audit, produce a report with:
“Common” is measured: kept by at least 6 in 10 of the 45 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Security Auditor Skill
Scope: All security work must be authorized. Never run intrusive or destructive tests against production systems without explicit written approval. This skill covers code review, static analysis, configuration audits, and controlled testing only.
When to Activate
- Security reviews before shipping new features or APIs
- Threat modeling for new architectures
- Auditing auth/authz implementations (JWT, OAuth, session management)
- Checking for secrets exposure in code or config
- Reviewing database Row Level Security (RLS) policies
- Hardening HTTP headers, CORS, and cookies
- Dependency vulnerability scanning
- Preparing a security release gate checklist
Audit Process (Step-by-Step)
Step 1 — Map Trust Boundaries & Attack Surface
- Identify all entry points: HTTP endpoints, WebSocket connections, background jobs, webhooks, file uploads, public SDKs.
- Draw or describe the trust boundary diagram: what crosses from untrusted (internet) to trusted (server/database).
- Note which roles exist and what they can access.
- Mark third-party integrations and their privilege level.
Step 2 — Check OWASP Top 10 Risks
Work through each risk category in order (see reference list below). For each: identify whether the surface exists, note mitigations in place, flag gaps.
Step 3 — Review Authentication & Authorization
- AuthN: How are users identified? Password hashing (bcrypt/argon2, not MD5/SHA1), MFA availability, session fixation prevention, account lockout/rate limiting on login.
- AuthZ: Is every route/resolver/action gated by a permission check? Check for IDOR (Insecure Direct Object Reference) — can user A access user B's resources by changing an ID?
- JWT: algorithm pinned (never
alg: none), expiry set, refresh token rotation, storage (httpOnly cookie preferred over localStorage). - OAuth/OIDC: state parameter validated, redirect_uri allowlisted, PKCE used for SPAs/mobile.
Step 4 — Input Validation & Sanitization
- All external input validated at the boundary (not just the UI).
- Use allow-lists, not block-lists for input schemas.
- SQL: parameterized queries or ORM — never string-interpolated SQL.
- HTML output: context-aware escaping (XSS prevention). Check
dangerouslySetInnerHTML,innerHTML,v-html. - File uploads: MIME type validation server-side, not just extension; virus scanning for user files; store outside webroot.
- Path traversal: normalize paths, reject
../sequences.
Step 5 — Scan for Secret Exposure
- Search codebase for hardcoded secrets: API keys, DB credentials, private keys, tokens.
grep -rE "(api_key|secret|password|token|private_key)\s*=\s*['\"][^'\"]{8,}" --include="*.{js,ts,py,env,yaml,json}" . - Check
.env.examplevs.env—.envmust be in.gitignore. - Review git history for accidentally committed secrets:
git log -p | grep -i secret. - Verify environment variable injection in CI/CD (not in logs, not in Docker layer).
- Check Dockerfile and docker-compose for
ENVorARGleaking secrets into image layers.
Step 6 — Audit Dependencies
- Run dependency vulnerability scan:
- Node.js:
npm audit --audit-level=highorpnpm audit - Python:
pip-auditorsafety check - Go:
govulncheck ./... - Rust:
cargo audit
- Node.js:
- Review
package.json/pyproject.tomlfor pinned vs range versions. - Check for abandoned packages (last publish date, GitHub archive status).
- Verify supply chain: are dependencies from trusted registries? Check for typosquatting in recently added packages.
- Flag any dependency with a known Critical or High CVE for immediate remediation.
Step 7 — Check Security Headers & Cookies
Required HTTP response headers:
Content-Security-Policy: default-src 'self'; script-src 'self'; ...
Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
X-Content-Type-Options: nosniff
X-Frame-Options: DENY (or SAMEORIGIN if framing is needed)
Referrer-Policy: strict-origin-when-cross-origin
Permissions-Policy: camera=(), microphone=(), geolocation=()Cookie flags:
- Session/auth cookies:
HttpOnly; Secure; SameSite=Strict(orLaxfor OAuth flows). - No sensitive data in cookie values.
- Check cookie expiry — sessions should expire.
Step 8 — Verify Database Row Level Security (RLS)
Supabase RLS checklist:
- RLS enabled on every table that holds user data:
SELECT relname, relrowsecurity FROM pg_class WHERE relkind = 'r'; - Default deny policy exists (no rows returned without explicit policy).
auth.uid()used in policies (not a column the client can spoof).- Service role key used only server-side — never exposed to the client.
- Policies reviewed for privilege escalation (can a non-admin user update
rolecolumn?). - Storage bucket policies checked alongside table policies.
Firebase/Firestore RLS:
- Security Rules deployed and not in test mode (
allow read, write: if true→ immediate fail). - Rules validate
request.auth != nullbefore any write. - Rules validate
request.resource.datashape (type, size, required fields). - Rules do not allow client to set
uidfields (userequest.auth.uid). - Storage rules restrict by content type and file size.
Step 9 — Test API Access Control
- Attempt to access resources as an unauthenticated user — expect 401.
- Attempt to access another user's resources as an authenticated user — expect 403.
- Attempt to access admin endpoints as a regular user — expect 403.
- Test HTTP method override (
X-HTTP-Method-Override). - Test mass assignment: send extra fields in POST/PUT body — ensure they are ignored.
- Check GraphQL introspection disabled in production.
- Verify rate limiting on sensitive endpoints (login, password reset, OTP verify).
Step 10 — Review Error Handling & Information Disclosure
- Error responses must not leak stack traces, file paths, SQL queries, or internal IDs to clients.
- Production error pages should be generic ("Something went wrong") — detailed errors logged server-side only.
- Debug/verbose logging disabled in production builds.
- Internal IP addresses or service names not exposed in response headers.
- Version headers (
X-Powered-By,Server) removed or genericized.
OWASP Top 10 (2021) Reference
| # | Category | Key Question |
| A01 | Broken Access Control | Can users access resources/actions they shouldn't? |
| A02 | Cryptographic Failures | Is sensitive data encrypted in transit and at rest? Weak algorithms in use? |
| A03 | Injection | Is untrusted data sent to interpreters (SQL, shell, LDAP, XML)? |
| A04 | Insecure Design | Are security requirements defined? Threat modeling done? |
| A05 | Security Misconfiguration | Default creds, unnecessary features enabled, verbose errors in prod? |
| A06 | Vulnerable & Outdated Components | Unpatched libraries with known CVEs? |
| A07 | Identification & Authentication Failures | Weak passwords allowed? Sessions not invalidated on logout? |
| A08 | Software & Data Integrity Failures | Unverified CI/CD pipelines? Unsigned packages? Deserialization issues? |
| A09 | Security Logging & Monitoring Failures | Are security events logged? Are alerts configured? |
| A10 | Server-Side Request Forgery (SSRF) | Can an attacker make the server fetch arbitrary URLs? |
Supabase-Specific Checks
SUPABASE_SERVICE_ROLE_KEYnever in client-side code or.envfiles committed to gitanonkey permissions minimized — confirm what anon users can actually do- Auth email templates customized (no Supabase branding leaks in forgot-password flow)
- Auth redirect URLs allowlisted (no open redirect via OAuth)
- Realtime channels authenticated (not open to any connected socket)
- Edge Functions validate
Authorizationheader before processing - Database functions (
security definer) reviewed — they bypass RLS
Firebase-Specific Checks
- Firebase config object (apiKey etc.) treated as public — security enforced by Rules, not by hiding config
- App Check enabled for production to prevent API abuse
- Cloud Functions validate Firebase ID tokens server-side
- Admin SDK credential files (
serviceAccount.json) never committed - Firestore indexes reviewed — no accidental full-collection exposure
- Firebase Hosting headers configured (CSP, HSTS)
Security Release Gate Checklist
Must Pass (Blocking)
- No critical/high CVEs in dependency audit
- No hardcoded secrets in codebase or git history
- RLS enabled and tested on all user-data tables
- Auth tokens expire and refresh token rotation implemented
- All inputs validated server-side on every mutation endpoint
- Parameterized queries only — no dynamic SQL string construction
- HTTPS enforced — HSTS header present
- CORS policy explicit — no wildcard
*on credentialed requests - Error messages generic in production — no stack traces to clients
- Admin/privileged endpoints protected by role check, not just authentication
Should Pass (High Priority)
- CSP header configured
- Cookie flags:
HttpOnly,Secure,SameSiteset - Rate limiting on login, registration, password reset, OTP
- Security event logging in place (failed logins, permission denials)
- Dependency lock files committed and verified in CI
- GraphQL introspection disabled in production
Nice to Have
- Penetration test scheduled (authorized, scoped)
- Bug bounty or responsible disclosure policy published
- Security.txt file at
/.well-known/security.txt - Subresource Integrity (SRI) on third-party scripts
Output Format
When completing a security audit, produce a report with:
- Executive Summary — overall risk level (Critical / High / Medium / Low / Informational)
- Findings Table — each finding with: ID, Category, Severity, Description, Evidence (code snippet or config), Recommendation
- Remediation Priority — ordered list from highest to lowest severity
- Release Gate Result — PASS / FAIL with blocking items called out
Other versions52 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 52
- pavel-molyanov/molyanov-ai-dev★ 299same name
- dralgorhythm/claude-agentic-framework★ 118same name
- nahisaho/MUSUBI★ 74same name
- raphaeltm/simple-agent-manager★ 68same name
- amanning3390/hermeshub★ 48same name
- jshsakura/awesome-opencode-skills★ 30same name
- Fandry96/k3-agentic-skills★ 27same name
- jaskirat1616/grok-skills★ 22same name
- mrhinkle/VibeCoding-a-Website★ 17same name
- jshearin01/agent-skills★ 16same name
42 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Used alongsideProjects with it also use proofreader, refactoring-guide and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
xcrrrSkillproofreader
Use this skill when reviewing written content for grammar, spelling, punctuation, style consistency, and tone—before publishing, submitting, or sending. Trigger phrases: 'proofread this', 'check my writing', 'review this for errors', 'edit this email/report/essay'. Do NOT use when structural rewrites or content changes are needed—proofreading fixes surface errors, not substantive problems.
Also in 3 projects that use this
peopleforresterSkillrefactoring-guide
Safe refactoring patterns and techniques. Use when the user wants to improve code structure, reduce duplication, or make code more maintainable without changing behavior. Emphasizes incremental changes with test coverage.
Also in 3 projects that use this
zwjbendnSkillhabit-builder
Designs and manages healthy habits for sustainable weight loss through lifestyle change. Uses Atomic Habits / Tiny Habits methodology — small behaviors that compound over time. Use this skill when: the system needs to recommend a new habit after onboarding, a current habit graduates or fails, the user asks about building habits, or Weekly Review identifies a behavioral pattern worth addressing. Also use when evaluating habit progress, deciding when a habit has "graduated," or handling a restart after the user falls off. This skill does not send its own reminders — habit check-ins are woven into meal conversations managed by Notification Composer. This skill owns the check-in logic (when, how often, tone); Notification Composer provides the conversation vehicle.
Also in 3 projects that use this
juanlurgSkillsql-optimizer
Analyzes SQL queries and generates an optimization report notebook with explanations, identified issues, and rewritten queries. Use when the user wants to optimize, explain, improve, or debug a SQL query, or mentions query performance, slow queries, or SQL optimization.
Also in 3 projects that use this
belokonmSkilldata-scientist
Expert in statistical analysis, predictive modeling, machine learning, and data storytelling to drive business insights.
Also in 3 projects that use this
glinckerSkillqa-engineer
QA specialist agent for test planning, execution, and regression analysis
Also in 3 projects that use this
In this repository50 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/always-on.mdcCursor rule
- 3d-visualsSkill
- agent-researchSkill
- api-architectureSkill
- assets-mediaSkill
- cavemanSkill
- cloudflare-expertSkill
- devops-cicdSkill
- firebase-expertSkill
- git-collaborationSkill
- gravitasSkill
- gsd-coreSkill
- llm-optimizationSkill
- mobile-engineeringSkill
- ponytailSkill
- postgres-ecosystemSkill
- sentry-expertSkill
- seo-marketingSkill
- state-managementSkill
- testing-qaSkill
- ui-ux-pro-maxSkill
- ux-researchSkill
- web-animationSkill
- web-gamedevSkill
- 3d-visualsSkill
- agent-researchSkill
- api-architectureSkill
- assets-mediaSkill
- cavemanSkill
- cloudflare-expertSkill
- devops-cicdSkill
- firebase-expertSkill
- git-collaborationSkill
- gravitasSkill
- gsd-coreSkill
- llm-optimizationSkill
- mobile-engineeringSkill
- ponytailSkill
- postgres-ecosystemSkill
- security-auditorSkill
- sentry-expertSkill
- seo-marketingSkill
- state-managementSkill
- testing-qaSkill
- ui-ux-pro-maxSkill
- ux-researchSkill
- web-animationSkill
- web-gamedevSkill
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

