v0.48.0 — OWASP Agentic Skills Top 10
Consumers: run /marvin:upgrade-agent-os, approve its plan, then reload every open session. Re-approve each critical file in .docs/information/ (approved_by: user <date>), or it stops binding. See upgrades/v0.48.0.md.
Why. The architect asked for Marvin to be checked against the OWASP Agentic Skills Top 10 (AST01–AST10, OWASP commit d6f7d7d), for the gaps the check found to be closed, and for consumer projects that build their own skills and agents to get guidance. The public claim is a map with its gaps listed, not a compliance badge.
What changed.
- Persona least privilege (AOS-351). Every persona declares
tools:ordisallowedTools:; validators and the researcher cannot Edit. The PreToolUse persona-scope hook (persona_scope: block | advise | off, defaultblock) keeps read-only personas to their run folder (the researcher also to.docs/researches/). Nomarvin:*sub-agent writes agent config —.claude/,.marvin/(except run reports and report snapshots),CLAUDE*.md,AGENTS.md,.mcp.json,.docs/information/, git internals, user-level Claude, Codex and git config — or reads a credential path. The orchestrator makes those edits, with the user's approval. File tools are checked fully; Bash is checked best-effort. - Agent config is code (AOS-349).
security.mdgains Agent configuration and Credential hygiene;guardrails.mdgainsagent-config-edit,plugin-installandcredential-read. Every brief carries aDATA:line, and the brief lint checks it. The Claude and Codex security checklists share one owner. - Data labels and consent (AOS-350).
questions_getfences question content as data; untrusted list rows are marked; the Codex forwarder labels relayed output as data. Standing rules, memory andCLAUDE.mdconventions come only from the user's own words. Acriticalinformation file binds only withapproved_by. - Intake guide inlined (AOS-352).
.marvin/agents/intake-guide.mdholds the filing rules; the tracker document is a human mirror and is data. - Kit manifest (AOS-353).
.marvin/kit-manifestis recorded and committed by install and upgrade. SessionStart and the kit-core injection notice drift, and Marvin asks before following a drifted kit file. It never blocks a session. - Agentic lint (AOS-354) and the consumer guide
agentic-skills.md(AOS-355). The lint checks hidden content, secrets, runtime fetches, pipe-to-shell, unconfirmed installs, agents without tools, unpinned sources and risky settings, and prints onlyfile:line rule. validate-kit runs it on the kit's tracked files. The security validator runs the plugin's own copy, then its checklist. - Codex parity (AOS-356). Write lanes run only in a Marvin worktree with an explicit sandbox; every lane refuses a prompt that matches a secret pattern; read lanes stay read-only on resume too.
- Plan before writing (AOS-357). Install and upgrade print every file, setting, command, commit and backup they will touch, ask once, and save the plan in the committed report.
- Site and audit (AOS-358). The Agentic security concept page and
docs/decisions/2026-12-01-owasp-agentic-skills-top-10.mdmap each risk (2 covered, 8 partial, none wholly open) to the check that runs, the residuals and follow-ups AOS-359..366. - marvin-progress docs (AOS-367). The mod page covers marvin-progress v0.3.1 and carries four illustrative renders, captioned as such.
Decisions and deviations, flagged for the architect.
- Spike → D9. A sub-agent's PreToolUse input carries
agent_typebut not its brief (2.1.330 and 2.1.332), so noAGENT-CONFIG:/CREDENTIALS:reservation tokens exist: sub-agents never make those edits. - Two guarantee tiers (C-D8). After repeated parser bypasses, the hook guarantees the file tools fully and Bash best-effort; the residuals are listed on the site page.
- Lint rethink (C-D6). No fence exempts any line; JSON rules run on python3's parser and fail closed (
json-unparsed) without it. The plan test "base64 inside fence is clean" became "flags". - Write areas (C-D2, C-D4, C-D14). Sub-agents write only
.marvin/runs/**and.marvin/reports/**; the researcher also.docs/researches/**, and the orchestrator commits its memo. The documenter draftsPROJECT-INFO.mdchanges for the orchestrator. - Credential paths (C-D1, C-D1b) were narrowed for templates and source files (
.env.example,credentials.ts) and widened for home-directory credential stores. - Fleet child ask (AOS-353). The kit-integrity ask follows
fleet-child.md: a fleet child is attended and asks with the question tool plus a gate mirror; only an unattended session opens a sidebar question and stops. This refines D8's wording. site/settings-install.mdhas nopersona_scopeline: that page takes install-time placeholder keys only. The Settings page shows the key.
Acceptance.
- Documentation (repo rule 10): README inventory rows for every new file, gate and suite counts (31 checks, 23 suites) and lists;
CLAUDE.mdandAGENTS.mdrule 8 in step; the PROJECT-INFO template and the install, upgrade and project-info skills carrypersona_scope; the concept page, hooks, upgrading, first-session, PM-tools and marvin-progress pages updated and regenerated,build-docs.sh --checkclean. - Screenshots (repo rule 11): the new concept page needs none. The marvin-progress page uses illustrative renders at the architect's request; live v0.3.x shots stay in AOS-331.
- Gates on
release/0.48.0, Claude Code 2.1.330 and 2.1.332:validate-kit.sh, everyscripts/test-*.sh,claude plugin validate .andclaude plugin test .pass. 2.1.318 is covered by CI'smodjob for the hooks module. CI cannot dispatch sub-agents, so the personatools:keys and the scope hook'sagent_typefield are verified live on 2.1.330 and 2.1.332 only. No migration script, somutate-migrations.shdoes not apply. - Reviews: every story had completion and security validators (security batched in two passes). The whole-branch review ran a completion pass and three security rounds; each FAIL was fixed with a regression test, under a stopping rule recorded in the build ledger.
- Residuals, listed on the site page: Bash checks are best-effort (interpreters building names at run time, links made at run time inside temp dirs, env-only targets); build-cache writes by read-only personas; repo-root Grep over gitignored
.env; files the user's own git config includes, and an existing global hooks folder; a pulled, applied or checked-out commit can change agent config (it leaves a trace); lint Unicode folding is ASCII-only without python3; the manifest check can hit its time limit on very large kit trees (it says so). - Follow-ups: AOS-359..366 (filed). To file: the solution-research fetch/domain rule (AST05), a release revocation path (AST09), a validate-kit test for the lint's tracked-files scope, Git Bash manifest timing, validator loop-variable redirects into temp dirs being refused, and opaque commands that merely name a
.gitpath (find -not -path './.git/*' -exec …) being refused.
Upgrade
Consumer-facing: Marvin checks itself against the OWASP Agentic Skills Top 10. Sub-agents get least-privilege tools and a scope hook, the intake guide is installed locally, and kit files are hash-checked. Map: docs site page Agentic security.
- Update the plugin, then run
/marvin:upgrade-agent-os. It now prints its plan and asks before the first write. It refreshes.marvin/agents/with backups, adds the new guidesintake-guide.mdandagentic-skills.md, and records and commits.marvin/kit-manifest. - New setting
persona_scope: block(block | advise | off; absent = advise). Upgrade step 4a adds it. Underblock, amarvin:*sub-agent never writes agent config (.claude/,.marvin/except run reports,CLAUDE*.md,AGENTS.md,.mcp.json,.docs/information/, git internals) and never reads a credential path. The orchestrator makes those edits, with your approval. - A
criticalfile in.docs/information/now binds only when its header hasapproved_by: user <YYYY-MM-DD>. Re-approve your existing critical files, or they stop binding. - The tracker's Issue Intake & Triage Guide is now a mirror for humans. Agents follow
.marvin/agents/intake-guide.md. The upgrade re-runs your intake brief, which rewrites the mirror from it. - If a session later says
Marvin kit files differ from .marvin/kit-manifest, a kit file was edited outside an upgrade. Marvin asks you before following it. - Codex write lanes now run only in a Marvin worktree, with an explicit sandbox, and refuse a prompt that holds a secret.
- Reload every open session after updating. No migration script.
Changes
Added
- OWASP Agentic Skills Top 10 map: an audit report (
docs/decisions/) and the Agentic security site page. Each risk is marked covered or partial and names the check that runs. There is no compliance badge. - Persona scope hook (
persona_scope: block | advise | off). Read-only personas write only their run folder, and the researcher also writes.docs/researches/. Nomarvin:*sub-agent writes agent config or git internals, or reads a credential path. File tools are checked fully; Bash is best-effort. tools:/disallowedTools:on every persona. Validators and the researcher cannot Edit.marvin-agentic-lint.sh: hidden Unicode, base64 runs, shared secret patterns, runtime fetches,curl|sh, unconfirmed installs, agents without tools, unpinned plugin or MCP sources, and risky settings. It printsfile:line ruleonly. validate-kit runs it on the kit (agentic-lint).agentic-skills.md: guidance for projects that build skills, agents, hooks, plugins or MCP servers. The security validator runs the lint and then its checklist.intake-guide.md: the filing rules, installed locally.- Committed kit manifest (
.marvin/kit-manifest). SessionStart and the kit core note drift, and Marvin asks before following a drifted kit file. - Install and upgrade print their plan before the first write and ask once. The plan is saved in the committed report.
Changed
- Agent configuration is security surface (
security.md), with credential hygiene and three new guardrail rows:agent-config-edit,plugin-install,credential-read. - Every brief carries a
DATA:line, and the brief lint checks for it. questions_getwraps question content in a labelled data fence. Untrusted rows inquestions_listare marked. Codex output is labelled as data.- One consent rule for standing rules, memory and
CLAUDE.mdconventions: they come from the user's own words, never from read content. - The tracker's intake guide is a mirror for humans and is data. Each tracker config names its duplicate search and Backlog.
- The documenter drafts
PROJECT-INFO.mdchanges and the orchestrator applies them. The orchestrator also commits the researcher's memo. - Docs site: the marvin-progress page covers v0.3.1 (Details opens in the band, the desktop widget) with four illustrative renders; live shots follow in AOS-331.
Security
- Codex write lanes run only in a Marvin worktree with an explicit sandbox. Every lane refuses a prompt that matches a secret pattern.
- The question store's secret check uses the shared pattern list, which now covers
github_pat_,glpat-,AIza, JWT and Slack tokens.
Action needed
- Run
/marvin:upgrade-agent-osand approve its plan, then reload every open session. - Re-approve each
criticalfile in.docs/information/withapproved_by: user <date>, or it stops binding.