agentleFS
romaraytromarayt/raytsystem-public-os/skills/raytsystem-security-review/SKILL.md

raytsystem-security-review

Skill150 starsChanged 5 months agoApache-2.0View on GitHub

Audit raytsystem changes for prompt injection, provenance bypass, path/symlink/hardlink escape, secret leakage, stale fencing, partial promotion, unsafe parsing, and unapproved side effects. Use for SECURITY REVIEW, adversarial testing, recovery review, or approval-boundary validation; remain independent and read-only.

1 other project uses a version of this, 1 of them edited.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    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
  1. Distinctive:

    Keep review read-only; run only non-mutating diagnostics or isolated synthetic tests.

    line 15
  2. Distinctive:

    Never read secrets without scoped necessity, disclose values, promote, publish, or modify external systems.

    line 16
  3. Very specific:

    Run agent subagent-check before delegation.

    line 21
  4. Very specific:

    Test raw/hash/citation closure, generation races, lease fencing, WAL/pointer crash windows, and idempotency.

    line 27
  5. Very specific:

    Test SQL/FTS injection, resource limits, archive/parser containment, symlink/hardlink/no-follow paths, and secret redaction.

    line 28
  6. Very specific:

    Verify zero unapproved process/network/outbox/Git/external action.

    line 29
  7. Distinctive:

    Stop on secret/PII exposure, unsafe external destination, real promotion, destructive action, or missing authority.

    line 44
  8. Distinctive:

    Do not downgrade a confirmed issue because exploitation is inconvenient.

    line 45

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

raytsystem Security Review

Inputs and outputs

  • Accept one bounded change/run plus threat model and declared permissions.
  • Return confirmed or unproven Critical/High findings with repro, violated invariant, and minimal regression test/fix.

Write scope

  • Keep review read-only; run only non-mutating diagnostics or isolated synthetic tests.
  • Never read secrets without scoped necessity, disclose values, promote, publish, or modify external systems.

Preflight

  1. Run uv run raytsystem agent preflight --skill raytsystem-security-review --write --json locally.
  2. Run agent subagent-check before delegation; hosted review receives only safe excerpts.
  3. Snapshot declared canonical/external state and identify every write/egress boundary.

Workflow

  1. Trace untrusted input through Fetcher/Extractor/proposal/validation/promotion/query/save paths.
  2. Test raw/hash/citation closure, generation races, lease fencing, WAL/pointer crash windows, and idempotency.
  3. Test SQL/FTS injection, resource limits, archive/parser containment, symlink/hardlink/no-follow paths, and secret redaction.
  4. Verify zero unapproved process/network/outbox/Git/external action.

Validation

  • Require a regression test for every confirmed Critical/High issue.
  • Re-run scoped and full gates after fixes; never accept skipped required tests.
  • Exercise evals m3-security-review-golden and m3-security-review-adversarial.

Recovery

  • Preserve failed staging and machine-readable reports; retry only classified transient failures.
  • On quota/tool loss, list exact reviewed surfaces and remaining adversarial cases.

Stop and approval conditions

  • Stop on secret/PII exposure, unsafe external destination, real promotion, destructive action, or missing authority.
  • Do not downgrade a confirmed issue because exploitation is inconvenient; fail closed and request the narrow required approval.

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.