Agentic security

Marvin maps itself to the OWASP Agentic Skills Top 10, one risk at a time, and names the check that runs for each. It is a map of controls, not a compliance claim: no badge, and a risk is marked partial while anything is left open.

The ten risks

Covereda check runs, nothing named is left open Partiala check runs; a residual or follow-up is named Openno check yet
RiskStateWhat it isCheck that runsFollow-up
AST01PartialMalicious skills: hidden payloads, piped installers, tampered identity and memory files.The agentic lint (pipe-shell, auto-prereq, the hidden-content rules); the kit manifest drift line; one consent rule for memory and instruction stores.AOS-359: no signing, no revocation.
AST02PartialSupply chain: unpinned sources, configuration as code, secrets in files.Lint unpinned-source, bypass-permissions, secret:*; the security validator reviews agent config as code (security.md); install and upgrade print a plan first.AOS-359, AOS-360: unsigned tags, unpinned third-party sources.
AST03PartialOver-privilege, and instructions smuggled in through content.The persona scope hook (persona_scope); persona-tools in the static gate; a DATA: line in every brief; guardrails.md rows; git internals are agent config (no sub-agent writes a .git gitfile or anything under .git/, and a sub-agent's git config write is allowed only for inert keys; user git config, git init and clone --template, and every worktree's gitfile and .marvin/ count too; git's own output-file options (--output, format-patch -o, archive -o, bundle create) count as writes; git sparse-checkout is refused; if a tracked .marvin/PROJECT-INFO.md is missing, the hook acts as block); persona_scope is the stricter of every candidate project root.AOS-362, AOS-365. File tools are fully checked; Bash is best-effort.
AST04CoveredInsecure metadata: invisible or smuggled text in prose and frontmatter.Lint hidden-unicode, bidi, tag-chars, control-char, base64-run; the agentic-lint gate runs it on the kit's own files.None.
AST05PartialUntrusted external instructions: an agent told to follow a remote page.The intake guide is inlined (intake-guide.md), the tracker copy is data; lint runtime-fetch for consumer skills.Follow-up: solution research has no fetch or domain rule.
AST06PartialWeak isolation: hosts, sandboxes, shadowed skills.Codex write lanes run in a sandbox and only in a Marvin worktree (marvin-codex.sh); the persona scope limits each persona's paths.AOS-363, AOS-364. Claude sub-agents have no container.
AST07PartialUpdate drift: files that change without a reviewed update.The kit manifest (marvin-kit-manifest.sh): hashes recorded at install and upgrade, one line at session start, Marvin asks before trusting a drifted file.Automatic updates are opt-in, asked once, and the repo still changes only through the reviewed upgrade. Updates carry no signature check: AOS-359, AOS-381.
AST08PartialPoor scanning: payloads written to slip past a scanner.The lint runs before any model reads the change; one shared secret-pattern list; the Codex prompt is secret-scanned; reviewed text is data (agentic-skills.md).Follow-up: wording with no pattern depends on the reviewing model.
AST09PartialNo governance: no inventory, audit trail or revocation.The kit manifest is the inventory of kit files with version and hash; the install and upgrade plan is saved in a committed report.AOS-366: no durable audit trail. Follow-up: no revocation path.
AST10CoveredCross-platform reuse: controls lost when a skill moves to another agent.One owner for the security checklist, shared by the Claude stage and the Codex lane; Codex lanes cite the guardrails baseline; the consumer guide says to re-validate a port.None. A signed skill format is not adopted.

Every check above is a script, a gate or a validator step in this repo. Details: agentic-skills.md, security.md, hooks. The security validator also applies CodeGuard when it is on.

How far the checks reach

Not covered yet

The ten risks are the OWASP Agentic Skills Top 10 (AST01 to AST10), read at repository commit d6f7d7d, licensed CC BY-SA 4.0. Every risk line here is a paraphrase. The full audit is the committed report docs/decisions/2026-12-01-owasp-agentic-skills-top-10.md.