agentleFS
AtomicBot-aiAtomicBot-ai/atomicbot/.agents/skills/security-triage/SKILL.md

security-triage

Skill325 starsChanged 7 months agoMITView on GitHub

Triage GitHub security advisories for OpenClaw with high-confidence close/keep decisions, exact tag and commit verification, trust-model checks, optional hardening notes, and a final reply ready to post and copy to clipboard.

We split this skill into the rules it gives an agent

12 rules. 10 are common, 0 are distinctive, and 2 are very specific to this project.

  • 10

    Common

    Most of the 20 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Common:

    Use when reviewing OpenClaw security advisories, drafts, or GHSA reports.

    line 8
  2. Common:

    Do not close only because main is fixed.

    line 21
  3. Very specific:

    Read the GHSA body with gh api /repos/openclaw/openclaw/security-advisories/<GHSA>.

    line 28
  4. Common:

    Search for canonical overlap:

    line 35
  5. Common:

    Check in this order:

    line 48
  6. Very specific:

    If data only moves between trusted workspace-memory files called out in SECURITY.md, do not treat "injection markers" alone as a security …

    line 58
  7. Common:

    If a hardening change would reduce intended user functionality, call that out before proposing it.

    line 61
  8. Common:

    Prefer fixes that preserve user workflows over deny-by-default regressions unless the boundary demands it.

    line 62
  9. Common:

    When preparing a maintainer-ready close reply:

    line 66
  10. Common:

    Keep tone firm, specific, non-defensive.

    line 77
  11. Common:

    After drafting the final post body, copy it:

    line 81
  12. Common:

    If only the severity is wrong but the bug is real, keep it open and narrow the impact in the reply.

    line 111

“Common” is measured: kept by at least 6 in 10 of the 20 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.

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

Security Triage

Use when reviewing OpenClaw security advisories, drafts, or GHSA reports.

Goal: high-confidence maintainers' triage without over-closing real issues or shipping unnecessary regressions.

Close Bar

Close only if one of these is true:

  • duplicate of an existing advisory or fixed issue
  • invalid against shipped behavior
  • out of scope under SECURITY.md
  • fixed before any affected release/tag

Do not close only because main is fixed. If latest shipped tag or npm release is affected, keep it open until released or published with the right status.

Required Reads

Before answering:

  1. Read SECURITY.md.
  2. Read the GHSA body with gh api /repos/openclaw/openclaw/security-advisories/<GHSA>.
  3. Inspect the exact implicated code paths.
  4. Verify shipped state:
    • git tag --sort=-creatordate | head
    • npm view openclaw version --userconfig "$(mktemp)"
    • git tag --contains <fix-commit>
    • if needed: git show <tag>:path/to/file
  5. Search for canonical overlap:
    • existing published GHSAs
    • older fixed bugs
    • same trust-model class already covered in SECURITY.md

Review Method

For each advisory, decide:

  • close
  • keep open
  • keep open but narrow

Check in this order:

  1. Trust model
    • Is the prerequisite already inside trusted host/local/plugin/operator state?
    • Does SECURITY.md explicitly call this class out as out of scope or hardening-only?
  2. Shipped behavior
    • Is the bug present in the latest shipped tag or npm release?
    • Was it fixed before release?
  3. Exploit path
    • Does the report show a real boundary bypass, not just prompt injection, local same-user control, or helper-level semantics?
    • If data only moves between trusted workspace-memory files called out in SECURITY.md, do not treat "injection markers" alone as a security bug.
    • In that case, frame sanitization as optional hardening only if it preserves expected memory workflows.
  4. Functional tradeoff
    • If a hardening change would reduce intended user functionality, call that out before proposing it.
    • Prefer fixes that preserve user workflows over deny-by-default regressions unless the boundary demands it.

Response Format

When preparing a maintainer-ready close reply:

  1. Print the GHSA URL first.
  2. Then draft a detailed response the maintainer can post.
  3. Include:
    • exact reason for close
    • exact code refs
    • exact shipped tag / release facts
    • exact fix commit or canonical duplicate GHSA when applicable
    • optional hardening note only if worthwhile and functionality-preserving

Keep tone firm, specific, non-defensive.

Clipboard Step

After drafting the final post body, copy it:

pbcopy <<'EOF'
<final response>
EOF

Tell the user that the clipboard now contains the proposed response.

Useful Commands

gh api /repos/openclaw/openclaw/security-advisories/<GHSA>
gh api /repos/openclaw/openclaw/security-advisories --paginate
git tag --sort=-creatordate | head -n 20
npm view openclaw version --userconfig "$(mktemp)"
git tag --contains <commit>
git show <tag>:<path>
gh search issues --repo openclaw/openclaw --match title,body,comments -- "<terms>"
gh search prs --repo openclaw/openclaw --match title,body,comments -- "<terms>"

Decision Notes

  • “fixed on main, unreleased” is usually not a close.
  • “needs attacker-controlled trusted local state first” is usually out of scope.
  • “same-host same-user process can already read/write local state” is usually out of scope.
  • “trusted workspace memory promotes/reindexes trusted workspace memory” is usually out of scope unless it crosses a documented boundary.
  • “helper function behaves differently than documented config semantics” is usually invalid.
  • If only the severity is wrong but the bug is real, keep it open and narrow the impact in the reply.

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.

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.