secure-execution-review
Skill51 starsChanged 20 days agoApache-2.0View on GitHub
Check MVM runtime, backend, policy, networking, package, or lifecycle changes against local authority and evidenced security guarantees. Use before designing or reviewing security-sensitive MVM work.
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 7 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Read AGENTS.md first. Start from the governing issue and the ADRs and contracts it links.
- Distinctive: line 12
Do not use this skill to turn a small unrelated change into a repository-wide audit.
- Distinctive: line 20
If ownership, public API, authorization, or the security model changes, obtain the required design/ADR review before implementation.
- Distinctive: line 22
Trace the one authority path: Follow the operation from the client through policy resolution, signed admission, the selected backend, and …
- Very specific: line 29
When platforms genuinely implement the same capability differently, keep the caller on one existing trait or contract and put the …
- Distinctive: line 50
Prove behavior at the right boundary: Add a happy-path witness and negative tests for the relevant tampering, wrong principal/key, stale …
- Distinctive: line 56
Do not trade a required check for a faster reported clock.
- Distinctive: line 57
Report honestly: Update the owning issue, applicable contract and user documentation with observed status and links to tests.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 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
Review a secure execution change
Read AGENTS.md first. Start from the governing issue and the ADRs and
contracts it links. Use Trail to locate the owning production path and its
callers. ADR-001's claims table and backend matrix govern shipped security
claims; proposals, fixtures, and tests for other backends do not extend them.
Do not use this skill to turn a small unrelated change into a repository-wide
audit. For a focused security review, use the security-audit skill in guidance
mode when available; a full codebase audit requires its own request. Rust
changes still follow the repository's Rust-skill rule.
- State the contract. Identify the user-visible operation, selected backend, caller, signed plan or pack, trust boundary, and exact outcome. Classify each involved capability as shipped, preview, or proposed. If ownership, public API, authorization, or the security model changes, obtain the required design/ADR review before implementation.
- Trace the one authority path. Follow the operation from the client
through policy resolution, signed admission, the selected backend, and
host-side enforcement. For network or mailbox work, distinguish canonical
MVM local contracts from optional MVMD cross-host delivery. Check that
each backend either enforces the advertised capability or refuses it
before execution; do not introduce a second gate, guest NIC, SSH path,
silent fallback, or cache-based authorization.
When platforms genuinely implement the same capability differently,
keep the caller on one existing trait or contract and put the implementations
under
platforms/, selecting modules at their boundary rather than scatteringcfg(unix)through callers. Preserve unsupported-platform refusals; do not invent a trait for a single-platform module, a test assertion, or one syscall, or hide module declarations behindinclude!. Keep Windows/WHP as a future target of the same contract, not a current enforcement claim: a Windows adapter needs its own owner-only storage, isolation and refusal witnesses before it can replace a fail-closed platform module. - Name the threat and evidence. Say which actor may be compromised and whether protected data is at rest, in transit, in use, or retained after termination. Check issuer, digest, revocation freshness, epoch, replay, bounds, key custody, and audit where relevant. Do not call a host-held key, best-effort RAM scrub, or simulated exchange a malicious-host or physical-erasure guarantee. State any hardware requirement explicitly.
- Review changed transitions. For launch, build/cutover, mailbox, offline/reconnect, quarantine, replacement, or pack admission, enumerate states, transition owner, durable evidence, deadlines, cancellation, crash recovery, and typed refusal or unknown outcomes. A verified build is not an admitted or ready replacement; mailbox acceptance, delivery, and application acknowledgement are separate.
- Prove behavior at the right boundary. Add a happy-path witness and negative tests for the relevant tampering, wrong principal/key, stale epoch, replay, unavailable enforcement, quota exhaustion, and cleanup failure. Use the actual backend or label mock/fixture evidence as such. Measure cold and warm readiness with admission included, and record image preparation, launch, and safe replacement separately when touched. Do not trade a required check for a faster reported clock.
- Report honestly. Update the owning issue, applicable contract and user documentation with observed status and links to tests. Run the repository's scoped and required gates, name exact source revisions and commands, and call out unrun live/hardware checks. Keep unfinished checkboxes open. Do not claim another repository's design direction is implemented here.
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.

