Logo van Security Review

Security Review

Community
UnpaidAttention
security-review

Run a structured vulnerability pass over code — injection, auth/authz gaps, secrets exposure, unsafe deserialization, unvalidated boundary input, SSRF, and stack-specific classes — reporting findings by severity with concrete fixes. Trigger this after writing or modifying code that handles user input, authentication/authorization, database queries, file paths, external requests, deserialization, or secrets; before committing security-sensitive changes; and whenever the user asks for a security review or mentions handling untrusted data. Do NOT trigger for pure-internal logic with no trust boundary, or as a substitute for general code-review — this pass hunts vulnerabilities specifically.

Add to TypingMind

Overzicht

UitgeverUnpaidAttention
Repositoryfable5-methodology
Skillnaamsecurity-review
Sterren
94
Forks
21
Meegeleverde bestanden
Alleen instructies
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door UnpaidAttention op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Security Review in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/UnpaidAttention/fable5-methodology/tree/main/skills/security-review
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/UnpaidAttention/fable5-methodology.git /tmp/fable5-methodology
mkdir -p .claude/skills
cp -r /tmp/fable5-methodology/skills/security-review .claude/skills/security-review
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Security Review in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Security Review automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Security Review niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Security Review

Attackers send the inputs you didn't imagine. This pass walks the code from the attacker's side of every trust boundary. Work the checklist concretely — for each item either point to the line that handles it or record its absence as a finding.

Step 1: Map the trust boundaries and data flow

List every point where external data enters: HTTP params/body/headers/cookies, CLI args, file contents, env vars, message-queue payloads, third-party API responses, uploaded files. For each, trace where the data GOES — into a query? a shell command? a file path? an HTML response? a deserializer? The dangerous combination is always untrusted-source → sensitive-sink. Find the sinks.

Step 2: Run the vulnerability checklist

For each, find the handling line or log a finding:

  1. Injection — the sink test. Every sink gets checked:
    • SQL/NoSQL: parameterized queries / bound params ONLY. Any string-built query with external data = SEC-CRITICAL. ORMs help but raw-query escape hatches don't.
    • OS command: no shelling out with interpolated input; use execFile/subprocess with an arg array and shell=False; never shell=True with user data.
    • Path traversal: user-influenced file paths are resolved and confirmed within an allowed base dir; ../ is neutralized. Never open(base + user_input).
    • Template/HTML: output encoding on by default; find every raw/dangerouslySetInnerHTML/ |safe/v-html sink and confirm the input is trusted or sanitized (XSS).
  2. AuthN/AuthZ. Every non-public endpoint checks authentication AND authorization. The frequent hole is authz: authenticated user A can act on user B's resource (IDOR) — confirm ownership/role is checked against the RESOURCE, not just that someone is logged in. Never trust a client-supplied role/ID for access decisions.
  3. Secrets exposure. No hardcoded keys/tokens/passwords/connection strings. No secrets in logs, error messages, or client responses. Stack traces and internal paths never reach the client (generic message out, detail to server logs).
  4. Unsafe deserialization. No pickle/yaml.load (unsafe loader)/Java native deserialization/eval/Function() on untrusted data. Use safe parsers (JSON, yaml.safe_load).
  5. Input validation at the boundary. Type, length, range, format validated where data enters, allowlist over denylist. Unbounded input (huge body, deep JSON, giant upload) is bounded — absence is a DoS vector.
  6. SSRF and outbound requests. URLs built from user input for server-side fetches are validated against an allowlist; internal/metadata addresses (169.254.169.254, localhost, RFC1918) are blocked.
  7. Crypto and identifiers. No MD5/SHA1 for passwords (use argon2/bcrypt/scrypt); tokens and IDs from a crypto-secure RNG (secrets, crypto.randomBytes), never Math.random/ random.random; TLS verification never disabled.
  8. Transport and session. State-changing endpoints protected against CSRF where cookie-based; auth cookies HttpOnly+Secure+SameSite; tokens not in localStorage if XSS is reachable.

Step 3: Adapt to the stack

Layer the ecosystem's specific classes on top:

  • Node/TS: prototype pollution (Object.assign/merge from user JSON), child_process misuse, regex catastrophic backtracking (ReDoS), missing helmet.
  • Python: yaml.load, subprocess(shell=True), pickle, Jinja2 SSTI, Flask debug=True in prod, assert used for security checks (stripped under -O).
  • SQL/Postgres: dynamic SQL in functions, over-broad role grants, RLS assumed but not enabled.
  • Run the stack's audit tool as corroboration, not substitute: npm audit, pip-audit, cargo audit, and a SAST pass (semgrep) if available — read findings, don't just paste them.

Step 4: Report by severity, with fixes

Rank findings; each gets file:line, the concrete exploit ("attacker sends ?id=../../etc/passwd → reads arbitrary files"), and the specific fix — not "sanitize input" but "use Path(base).joinpath(name).resolve() and assert it's relative to base".

  • CRITICAL: directly exploitable for data breach / RCE / auth bypass. Block delivery.
  • HIGH: exploitable under realistic conditions (stored XSS, IDOR on sensitive data). Fix before merge.
  • MEDIUM: increases attack surface, not directly exploitable (missing rate limit, verbose errors). Log and schedule.
  • LOW/INFO: best-practice gaps, defense-in-depth.

Worked example finding

SEC-CRITICAL  api/reports.js:47  SQL injection
  Code: db.query(`SELECT * FROM reports WHERE owner='${req.query.user}'`)
  Exploit: ?user=' OR '1'='1  → dumps all reports; ?user='; DROP TABLE... → destructive.
  Fix: db.query('SELECT * FROM reports WHERE owner = $1', [req.query.user])
  Plus (SEC-HIGH, same line): no authz — any caller reads any owner's reports. Check
  req.query.user === session.userId (or a role grant) before querying.

Done when

Every external-input boundary has been traced to its sinks; every checklist item is either tied to a handling line or logged as a finding; findings are ranked with file:line, a concrete exploit, and a specific fix; and no CRITICAL finding is left un-flagged. Reporting is sufficient — do not fix beyond the task's scope without saying so (integrity-guardrails rule 7).

Veelgestelde vragen

Wat doet de AI-skill Security Review?

Run a structured vulnerability pass over code — injection, auth/authz gaps, secrets exposure, unsafe deserialization, unvalidated boundary input, SSRF, and stack-specific classes — reporting findings by severity with concrete fixes. Trigger this after writing or modifying code that handles user input, authentication/authorization, database queries, file paths, external requests, deserialization, or secrets; before committing security-sensitive changes; and whenever the user asks for a security review or mentions handling untrusted data. Do NOT trigger for pure-internal logic with no trust b...

Waarom Security Review gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Security Review bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Security Review in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/UnpaidAttention/fable5-methodology/tree/main/skills/security-review. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Security Review gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Security Review gebruiken?

Zoveel als je wilt. Je kunt Security Review gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Security Review gratis?

Deze skill is door UnpaidAttention op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇