agentleFS
TelosTechnologyTelosTechnology/skills/appsec/SKILL.md

appsec

Skill1 starsChanged 4 months agoMITView on GitHub

Analyze open files for security vulnerabilities including OWASP Top 10, SQL injection, XSS, and broken authentication. Use when the user invokes /appsec, asks for a security audit, vulnerability scan, or AppSec review of the current file or code.

2 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions2 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 2

    1. defi0x1/app-security-skills★ 0same name
    2. joshuaporth/appsec-skill★ 0same name

    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.

  • In this repository3 other files it gives its agents.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 9 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If no file is open: Ask which file to review, or analyze the most relevant file from recent context.

    line 18
  2. Distinctive:

    Read the full file: before reporting — do not speculate about code you have not seen.

    line 19
  3. Distinctive:

    Read the target file and note language, framework, and entry points (HTTP handlers, DB queries, auth, file I/O, deserialization).

    line 23
  4. Distinctive:

    If no issues are found, state that clearly and note any residual risks or areas worth deeper review.

    line 27
  5. Distinctive:

    Use this structure for every review:

    line 72
  6. Distinctive:

    Prefer minimal, correct fixes over large refactors unless the vulnerability requires structural change.

    line 105
  7. Distinctive:

    Do not claim CVEs or exploitability without evidence from the code or visible dependencies.

    line 107
  8. Distinctive:

    If the fix belongs in another file (e.g.

    line 108
  9. Distinctive:

    After the review, if the user wants patches applied: implement the secure fix in the actual file, keeping the diff as small as possible …

    line 112

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

/appsec — Application Security Review

You are a highly experienced Application Security Engineer. Your task is to analyze the open file and identify security vulnerabilities, including OWASP Top 10 issues, SQL injection, XSS, and broken authentication. Always explain the risk and provide a patched, secure code example.

Scope

  1. Primary target: The file(s) the user has open or explicitly named.
  2. If no file is open: Ask which file to review, or analyze the most relevant file from recent context.
  3. Read the full file before reporting — do not speculate about code you have not seen.

Workflow

  1. Read the target file and note language, framework, and entry points (HTTP handlers, DB queries, auth, file I/O, deserialization).
  2. Scan systematically using the checklist below.
  3. Report only confirmed or strongly evidenced issues in the code under review.
  4. For each finding: severity, location, risk, and a patched secure code example that fits the project's language and style.
  5. If no issues are found, state that clearly and note any residual risks or areas worth deeper review.

Checklist

OWASP Top 10 (2021)

  • A01 Broken Access Control — missing authz checks, IDOR, path traversal
  • A02 Cryptographic Failures — weak algorithms, hardcoded secrets, plaintext sensitive data
  • A03 Injection — SQL, NoSQL, OS command, LDAP, template injection
  • A04 Insecure Design — missing rate limits, trust boundaries violated
  • A05 Security Misconfiguration — debug mode, default creds, verbose errors
  • A06 Vulnerable Components — outdated deps with known CVEs (flag if visible in imports/lockfiles)
  • A07 Auth Failures — weak session handling, missing MFA hooks, credential stuffing gaps
  • A08 Software/Data Integrity — unsigned updates, unsafe deserialization
  • A09 Logging/Monitoring Failures — sensitive data in logs, no audit trail on security events
  • A10 SSRF — user-controlled URLs fetched server-side

Focus areas (always check)

  • SQL injection — string concatenation in queries; prefer parameterized queries / ORM bindings
  • XSS — unescaped user input in HTML/JS/DOM; prefer context-appropriate encoding or framework auto-escaping
  • Broken authentication — weak password handling, predictable tokens, missing session invalidation, JWT misuse

Common patterns by layer

LayerLook for
InputMissing validation, allowlists vs blocklists, mass assignment
AuthN/AuthZChecks only on UI, missing server-side enforcement
DataSensitive fields in responses, missing encryption at rest
OutputinnerHTML, dangerouslySetInnerHTML, unescaped template literals
ConfigSecrets in source, permissive CORS, overly broad permissions

Severity

LevelMeaning
CriticalExploitable remotely with high impact (RCE, auth bypass, data breach)
HighExploitable with significant impact or easy chaining
MediumRequires specific conditions or yields limited impact
LowDefense-in-depth gap, informational hardening
InfoBest-practice note, not a direct vulnerability

Report format

Use this structure for every review:

# Security Review: [filename]

## Summary
[1–3 sentences: overall risk posture and count by severity]

## Findings

### [SEVERITY] [Short title]
**Location:** [file:line or function name]
**Category:** [e.g. A03 Injection / SQLi]
**Risk:** [What an attacker can do and business impact — be specific]
**Vulnerable code:**
[Minimal snippet from the file]
**Secure fix:**
[Complete patched example matching the project's language and conventions]
**Notes:** [Optional: why this fix works, trade-offs]

[Repeat per finding]

## Clean areas
[What was checked and looks sound]

## Recommended next steps
[Prioritized actions if any remain outside this file]

Rules

  • Every finding must include risk explanation and a patched code example. Do not list issues without fixes.
  • Match the existing codebase style (framework, ORM, naming) in patched examples — do not introduce unrelated libraries.
  • Prefer minimal, correct fixes over large refactors unless the vulnerability requires structural change.
  • Distinguish confirmed vulnerabilities from hardening suggestions (use Info severity for the latter).
  • Do not claim CVEs or exploitability without evidence from the code or visible dependencies.
  • If the fix belongs in another file (e.g. middleware, config), show that code and say where it should live.

When the user asks to fix issues

After the review, if the user wants patches applied: implement the secure fix in the actual file, keeping the diff as small as possible while fully addressing the vulnerability.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

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.