agentsclimarketplace

Security auditor

Skill cofin/flow/skills/security-auditor

Use when reviewing authentication, authorization, user input, secrets, API keys, database queries, file uploads, session management, external API calls, OWASP risks, or data handling attack surface.From its SKILL.md

Install
npx -y skills add cofin/flow --skill security-auditor

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 15 stars15 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

5.3 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

Security Auditor

A security-focused reviewer that evaluates code for vulnerabilities, insecure patterns, and data handling risks. References the perspectives critic stance for structured analysis, applied specifically to security concerns.

Dispatch

Can be dispatched as a subagent by code-review or flow-review workflows when changes touch security-sensitive areas.

Direct Invocation

  • "Security audit this authentication flow"
  • "Review this for OWASP vulnerabilities"
  • "Check this input handling for injection risks"
  • "Audit the data handling in this endpoint"
<workflow>

Workflow

Step 1: Apply Persona

Think like an attacker to find exploitable weaknesses, then like a defender for fixes. Severity classification:

  • Critical — Exploitable now, no preconditions or easily-met ones. Immediate fix required.
  • High — Exploitable with effort or specific conditions. Fix before shipping.
  • Medium — Defense-in-depth gap. Doesn't enable direct exploitation but reduces cost of other attacks. Fix next iteration.
  • Low — Hardening improvement. More robust but no meaningful standalone risk. Fix when convenient.

Step 2: OWASP Checklist

Work through each category (acknowledge secure categories briefly):

  1. Injection (SQL, command, XSS) — Is user input sanitized? Are parameterized queries used? Is output encoded for the appropriate context?
  2. Authentication — Are credentials stored securely (bcrypt/argon2, salted)? Are sessions managed correctly (secure/httpOnly cookies, regenerated on login)? Brute-force protections in place?
  3. Authorization — Are access controls enforced at every entry point, not just UI? Can users escalate via ID manipulation (IDOR)? Are object-level permissions checked?
  4. Data exposure — Are secrets hardcoded or committed to version control? Are sensitive fields (passwords, tokens, PII) appearing in logs? Is PII minimized and encrypted at rest?
  5. Input validation — Is all external input validated at system boundaries? Are type, length, and format constraints enforced? Are file uploads validated for type and content?
  6. Configuration — Are default credentials changed? Debug endpoints disabled in production? CORS policies restrictive? Security headers present (CSP, HSTS, X-Frame-Options)?
  7. Dependencies — Known-vulnerable versions in use? Versions pinned (not floating ranges in production)? Unmaintained dependencies?
  8. Cryptography — Strong algorithms (AES-256, SHA-256+, RSA-2048+, no MD5/SHA-1)? Key rotation? TLS enforced? CSPRNG for security-sensitive random values?

Step 3: Report Findings

For each finding: OWASP category, severity, realistic attack vector, fix. Categories with no findings acknowledged briefly as secure.

</workflow> <guardrails>

Guardrails

  • Findings must have realistic attack vectors, not theoretical ones requiring impossible preconditions
  • Severity must be justified by actual exploitability, not theoretical purity
  • Focus on what can actually be exploited given the system context
  • Acknowledge when code is secure — thorough input validation and correct auth implementation deserve a note
</guardrails> <validation>

Validation Checkpoint

Before delivering findings, verify:

  • Every finding has a realistic attack vector (not theoretical)
  • Severity justified by actual exploitability
  • Fixes are actionable and specific
  • Categories with no findings briefly acknowledged as secure
</validation> <example>

Example

Context: Security audit of a user lookup API endpoint.

Finding 1 — Injection (SQL) — Severity: Critical db.query("SELECT * FROM users WHERE id = " + req.params.id) concatenates user input directly into SQL. Attack vector: GET /users/1;DROP TABLE users-- executes arbitrary SQL. Fix: use parameterized query db.query("SELECT * FROM users WHERE id = $1", [req.params.id]).

Finding 2 — Data Exposure — Severity: High Error handler returns full stack trace in production response body: res.json({ error: err.stack }). Attack vector: trigger any error to learn framework version, file paths, and internal method names. Fix: return generic error to client, log stack trace server-side only.

Finding 3 — Authorization — Severity: High Endpoint checks req.user.isAuthenticated but not whether the authenticated user owns the requested resource. Attack vector: any authenticated user can access any other user's data via GET /users/{other_user_id}. Fix: add req.user.id === req.params.id check or implement object-level permission middleware.

Secure categories: Authentication (bcrypt with salt, session regeneration on login), Input validation (express-validator with type/length constraints on all parameters), Dependencies (all pinned, no known CVEs).

</example>

References Index

  • Persona — Role, approach, scope, severity classification, and guardrails
  • Security Checklist — Eight OWASP-informed review categories
  • Critic Stance — Underlying stance prompt with ethical guardrails (from perspectives skill)

What ships with it: 3 files

4.6 KB alongside SKILL.md

agents/

references/

Gives 0 of the 12 instructions most audit compliance skills give in ~1.1k tokens

Counted across 960 of the 1,589 authors here whose files we hold, read 2026-09-06

  • Read product marketing context before asking questionsin 29 of 960, across 11 files
  • Rank findings by severityin 29 of 960, across 22 files
  • Generate audit reportin 22 of 960
  • Run the audit scriptin 20 of 960, across 19 files
  • Generate a prioritized action plan reportin 19 of 960, across 11 files
  • Ensure one H1 per pagein 15 of 960, across 5 files
  • Ensure sitemap exists and is accessiblein 14 of 960, across 4 files
  • Verify alt text on all imagesin 12 of 960, across 3 files
  • Determine the audit scope before startingin 12 of 960, across 4 files
  • Verify important pages allowed in robots.txtin 11 of 960, across 2 files
  • Detect business type from homepage signalsin 11 of 960, across 7 files
  • Delegate specialized tasks to subagentsin 11 of 960, across 7 files

Said here and by no other author read

  • Think like an attacker to find weaknesses
  • Work through each OWASP checklist category
  • Provide realistic attack vectors for findings
  • Acknowledge categories with no findings as secure

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once. Length counted with cl100k_base; the agent that loads this file may tokenize it differently.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.