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
- factor241/ketos-botedited, first seen Sep 3, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 1
- factor241/ketos-bot★ 111% same
Wrote their own version · 0
None found.
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 repository31 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- graphSkill
- ingestSkill
- lintSkill
- querySkill
- researchSkill
- run-reviewSkill
- saveSkill
- security-reviewSkill
- startSkill
- watchSkill
- graphSkill
- ingestSkill
- lintSkill
- querySkill
- researchSkill
- run-reviewSkill
- saveSkill
- security-reviewSkill
- startSkill
- watchSkill
- graphSkill
- raytsystem-ingestSkill
- raytsystem-lintSkill
- raytsystem-querySkill
- raytsystem-researchSkill
- raytsystem-run-reviewSkill
- raytsystem-saveSkill
- raytsystem-watchSkill
- startSkill
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
- Distinctive: line 15
Keep review read-only; run only non-mutating diagnostics or isolated synthetic tests.
- Distinctive: line 16
Never read secrets without scoped necessity, disclose values, promote, publish, or modify external systems.
- Very specific: line 21
Run agent subagent-check before delegation.
- Very specific: line 27
Test raw/hash/citation closure, generation races, lease fencing, WAL/pointer crash windows, and idempotency.
- Very specific: line 28
Test SQL/FTS injection, resource limits, archive/parser containment, symlink/hardlink/no-follow paths, and secret redaction.
- Very specific: line 29
Verify zero unapproved process/network/outbox/Git/external action.
- Distinctive: line 44
Stop on secret/PII exposure, unsafe external destination, real promotion, destructive action, or missing authority.
- Distinctive: line 45
Do not downgrade a confirmed issue because exploitation is inconvenient.
≈ “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.
Files
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
- Run
uv run raytsystem agent preflight --skill raytsystem-security-review --write --jsonlocally. - Run
agent subagent-checkbefore delegation; hosted review receives only safe excerpts. - Snapshot declared canonical/external state and identify every write/egress boundary.
Workflow
- Trace untrusted input through Fetcher/Extractor/proposal/validation/promotion/query/save paths.
- Test raw/hash/citation closure, generation races, lease fencing, WAL/pointer crash windows, and idempotency.
- Test SQL/FTS injection, resource limits, archive/parser containment, symlink/hardlink/no-follow paths, and secret redaction.
- 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-goldenandm3-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.
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.

