Source profileQuality 96/100

event4u-app/agent-config/src/skills/security-audit/SKILL.md

security-audit

Security audit — vulnerability scan, pentest review, attack-surface sweep; explicit request only, not regular feature work. Pre-implementation threat pass → threat-modeling.

Source repository stars
9
Declared platforms
0
Static risk flags
0
Last source update
2026-08-28
Source checked
2026-08-28

Decision brief

What it does: where it fits

Security audit — vulnerability scan, pentest review, attack-surface sweep; explicit request only, not regular feature work. Pre-implementation threat pass → threat-modeling.

Best for

  • Auditing a codebase or module for security risks
  • analysis-autonomous-mode routes here after detecting risky patterns
  • Reviewing code that handles user input, authentication, or authorization

Not for

  • Tasks that require unconfirmed production actions or broad system permissions.
  • Environments where the pinned source and install steps cannot be inspected.

Compatibility matrix

Platform support, with evidence labels

PlatformStatusEvidenceWhat to check
CodexNot declaredNo explicit evidencePortability before use
Claude CodeNot declaredNo explicit evidencePortability before use
CursorNot declaredNo explicit evidencePortability before use
Gemini CLINot declaredNo explicit evidencePortability before use
Open the compatibility checker

Installation

Inspect first. Install second.

The source command is displayed only when detected. A safe inspection prompt is always available so your agent can explain every action before execution.

Source-detected install commandSource
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/security-audit"
Safe inspection promptEditorial

Inspect the Agent Skill "security-audit" from https://github.com/event4u-app/agent-config/blob/6a5670b7881a676c0da90d2afb950298087c4ccb/src/skills/security-audit/SKILL.md at commit 6a5670b7881a676c0da90d2afb950298087c4ccb. List every install step, command, network request, credential, file read/write, external action, and rollback step. Explain whether it fits my task. Do not install or execute anything until I approve.

Workflow

What the source asks the agent to do

  1. 01

    Procedure: Security audit

    Before any finding enters the report, restate it as one falsifiable sentence naming all three of:

    Privilege level — what access the attacker already has (anonymous,Execution context — where the vulnerable code runs (request handler,Attacker precondition — the concrete state or input the attacker must
  2. 02

    Mission

    Find real security vulnerabilities in code before they are exploited. This skill is proactive — it audits code for security weaknesses, not just responds to incidents.

    Find real security vulnerabilities in code before they are exploited. This skill is proactive — it audits code for security weaknesses, not just responds to incidents.For writing secure code patterns (policies, auth, CSRF), use the security skill instead.
  3. 03

    When to use

    Writing new auth/policy code — route to security Hunting for functional bugs — route to bug-analyzer (proactive mode) Investigating performance — route to performance-analysis You need a pre-implementation threat model for a new feature — route to threat-modeling You need end-to…

    Auditing a codebase or module for security risksanalysis-autonomous-mode routes here after detecting risky patternsReviewing code that handles user input, authentication, or authorization
  4. 04

    0. False-positive gate — restate the claim before reporting

    Before any finding enters the report, restate it as one falsifiable sentence naming all three of:

    Privilege level — what access the attacker already has (anonymous,Execution context — where the vulnerable code runs (request handler,Attacker precondition — the concrete state or input the attacker must
  5. 05

    1. Map attack surface

    Identify all entry points where untrusted data enters:

    HTTP request parameters, headers, cookiesFile uploadsAPI payloads (JSON, XML, form data)

Permission review

Static risk signals and limitations

No configured static risk pattern was detected

This is not proof of safety. Runtime behavior, indirect dependencies, and hidden external systems are outside the static scan.

Evidence record

Why each signal appears

EvidenceSourceComputedTestedEditorial
SignalValueEvidence typeMeaning
Quality score96/100ComputedDocumentation, specificity, maintenance, and trust rules
Repository stars9SourceRepository attention, not individual Skill quality
Compatibility0 platformsSourceDeclared in the catalog source record
Usage guideautomated source guideEditorialGenerated or reviewed according to the visible evidence level

Pinned source

Provenance and original SKILL.md

Repository
event4u-app/agent-config
Skill path
src/skills/security-audit/SKILL.md
Commit
6a5670b7881a676c0da90d2afb950298087c4ccb
License
MIT
Collected
2026-08-28
Default branch
main
View the original SKILL.md

security-audit

Mission

Find real security vulnerabilities in code before they are exploited. This skill is proactive — it audits code for security weaknesses, not just responds to incidents.

For writing secure code patterns (policies, auth, CSRF), use the security skill instead.

When to use

Use this skill when:

  • Auditing a codebase or module for security risks
  • analysis-autonomous-mode routes here after detecting risky patterns
  • Reviewing code that handles user input, authentication, or authorization
  • Checking for vulnerabilities before a release or deployment

Do NOT use when:

  • Writing new auth/policy code — route to security
  • Hunting for functional bugs — route to bug-analyzer (proactive mode)
  • Investigating performance — route to performance-analysis
  • You need a pre-implementation threat model for a new feature — route to threat-modeling
  • You need end-to-end authorization analysis for one route/action — route to authz-review

Procedure: Security audit

0. False-positive gate — restate the claim before reporting

Before any finding enters the report, restate it as one falsifiable sentence naming all three of:

  1. Privilege level — what access the attacker already has (anonymous, authenticated user, tenant admin, CI runner).
  2. Execution context — where the vulnerable code runs (request handler, queue worker, sandboxed template, build step).
  3. Attacker precondition — the concrete state or input the attacker must control to trigger it.

If any of the three cannot be named concretely, the item is not a finding yet — trace further or drop it with a one-line reason.

Rationalizations to Reject:

RationalizationReality
"It looks dangerous"Pattern-recognition is not analysis — trace the full data flow from entry to sink first
"This is clearly critical"Complete a devil's-advocate pass — models systematically overrate severity
"Report it just in case"Over-reporting erodes trust; an unverifiable finding is noise, not diligence
"Same pattern as a known CVE"Same pattern ≠ same preconditions — verify the preconditions hold in THIS codebase

Standard vs. Deep verification routing:

  • Standard — traced data flow + all three claim elements named → report with the normal field list.
  • Deep — severity would be High/Critical, OR the precondition chain crosses a trust boundary you did not personally trace → run a devil's-advocate pass first: actively try to refute the finding (existing middleware? framework default? type system? config?). Report only what survives; findings the pass killed are listed one-line under Rejected candidates so the triage is auditable.

1. Map attack surface

Identify all entry points where untrusted data enters:

  • HTTP request parameters, headers, cookies
  • File uploads
  • API payloads (JSON, XML, form data)
  • Webhook callbacks
  • Queue job payloads from external sources
  • Import files (CSV, Excel, XML)
  • URL path segments and query strings

2. Trace trust boundaries

For each entry point, trace where user input flows:

User Input → Controller → Validation → Service → DB/File/External
                 ↓              ↓           ↓
            Is it sanitized?  Complete?  Used safely?

3. Check vulnerability categories

CategoryWhat to look for
SQL InjectionRaw queries with concatenation, missing parameter binding
XSSUnescaped template output (Blade {!! !!}, JSX dangerouslySetInnerHTML, Jinja `
CSRFMissing middleware, API endpoints without token verification
Auth bypassMissing policy checks, broken gate logic, withoutMiddleware()
IDORDirect object access without ownership verification
Mass assignmentMissing $fillable/$guarded, request()->all() in create/update
File uploadMissing type validation, path traversal, executable uploads
SSRFUser-controlled URLs passed to HTTP client
DeserializationUnserializing user input, unsafe queue payloads
Secret exposureHardcoded credentials, secrets in logs, .env in public dir
Rate limitingMissing throttle on auth endpoints, password reset, API
Header injectionUser input in response headers, email headers
Insecure defaults / fail-openGuards that allow on error (catch { return true } in an authz check), default-allow matchers, debug mode defaulting on, permissive CORS/verify=false fallbacks, feature flags whose missing value grants access

Worked example (fail-open): if (!$gate->check($user)) { … } wrapped in a try/catch that logs and continues fails open — an exception in the gate grants access. Finding shape: Category Insecure defaults, Evidence the catch block file:line, Fix fail closed — rethrow or deny on gate error.

3b. Out of scope — route, do not guess

The table above names vulnerability classes, which are stable. This package carries no cryptographic parameter, key size, work factor, cipher suite, or TLS version floor: a value copied here reads authoritative long after it stops being true. Report the finding, route the fix to https://cheatsheetseries.owasp.org/ — Cryptographic Storage, Transport Layer Security, Password Storage, XML External Entity Prevention — and never name a value from memory. Rationale and reopening condition: ADR-238.

4. Framework-specific checks

→ Laravel-specific checks: see laravel § Security audit checks.

5. Dependency audit

  • Check composer.lock for known vulnerable packages
  • Check package-lock.json for frontend vulnerabilities
  • Identify outdated packages with known CVEs
  • Check if security patches are available

Output format

  1. Emit one entry per vulnerability using the field list below; one finding = one block, never merge.
  2. Category must map to an OWASP Top 10 (or LLM Top 10) bucket; Severity must use Low / Medium / High / Critical with a single Exploitability tag.
  3. Close with a Recommended Fix Order ranked by exploitability × blast radius and tag each line with Confidence.

For each vulnerability:

  • Vulnerability: concise title
  • Category: OWASP category (Injection, Broken Auth, etc.)
  • Location: file and line
  • Severity: Low / Medium / High / Critical
  • Exploitability: How easy to exploit (trivial / requires auth / complex)
  • Impact: What an attacker could achieve
  • Evidence: code reference showing the weakness
  • Fix: concrete mitigation
  • Confidence: Low / Medium / High

After the findings, add a Rejected candidates section: one line per look-dangerous-but-benign pattern the Step-0 gate killed, with the traced reason ("raw SQL string is a static migration constant — no user input reaches it"). An audit that rejects nothing has usually skipped the gate.

Integration with other skills

  • analysis-autonomous-mode — routes here when security concerns are detected
  • security — complementary: security is about writing secure code, this is about finding holes
  • universal-project-analysis — provides context about packages and framework usage
  • bug-analyzer — some bugs have security implications (chain when found)
  • untrusted-input-defense / lethal-trifecta-guard (rules) — prompt-injection / agent-config defense; consult when the audited code ingests untrusted content or wires an autonomous egress path

Gotcha

  • Don't report theoretical vulnerabilities without a concrete attack vector — false positives erode trust.
  • The model tends to flag framework-handled security as issues (e.g., Laravel's CSRF or Rails' protect_from_forgery is already handled).
  • Always check if a finding is already mitigated by middleware or configuration before reporting it.

Do NOT

  • Do NOT report theoretical risks that require impossible preconditions
  • Do NOT ignore user input flows — always trace from entry to usage
  • Do NOT assume frameworks handle everything — verify middleware and config
  • Do NOT confuse code quality issues with security vulnerabilities
  • Do NOT skip dependency checking — known CVEs are real risks

See also

Frequently asked questions

What to verify before installation and use

What does the security-audit source document cover?

Security audit — vulnerability scan, pentest review, attack-surface sweep; explicit request only, not regular feature work. Pre-implementation threat pass → threat-modeling.

How do I install security-audit?

The source record exposes this install command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/security-audit". Inspect the command and pinned source before running it.

Alternatives

Compare before choosing

Computed 9289

aAAaqwq/AGI-Super-Team

security-audit

Audit codebases, infrastructure, AND agentic AI systems for security issues. Covers traditional security (dependencies, secrets, OWASP web top 10, SSL/TLS, file permissions) PLUS agentic security (prompt injection scanning, identity spoofing detection, memory poisoning checks, multi-agent communication audit, OWASP Agentic Top 10). Use when scanning for vulnerabilities, detecting hardcoded secrets, reviewing agent workspace configuration, checking prompt injection vectors, or auditing agent perm

Computed 10045,960

coreyhaines31/marketingskills

ab-testing

When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program

Computed 10029,236

garrytan/gbrain

bulk-ingestion

End-to-end discipline for turning any large data source (audio libraries, email takeouts, document corpora, chat exports, API dumps) into brain pages at scale. The lifecycle spine: SCHEMA → ACCESS → TRIAL → EVALUATE → IMPROVE → CODIFY → TEST → SKILLIFY → BULK → MONITOR. State is tracked in a durable JSON manifest (see MANIFEST-PATTERN.md) so any crash, session boundary, or subagent fan-out resumes from ground truth instead of memory.

Computed 10025,136

alirezarezvani/claude-skills

app-store-optimization

App Store Optimization (ASO) toolkit for researching keywords, analyzing competitor rankings, generating metadata suggestions, and improving app visibility on Apple App Store and Google Play Store. Use when the user asks about ASO, app store rankings, app metadata, app titles and descriptions, app store listings, app visibility, or mobile app marketing on iOS or Android. Supports keyword research and scoring, competitor keyword analysis, metadata optimization, A/B test planning, launch checklist