claudemods

All Claude Code modsanthropics/claude-code

sec-default

A Claude Code mod in anthropics/claude-code, built into Claude Code

Security default for organizations: seated outermost, it keeps the organization's classic hooks, prompt content, settings, tool policy and pinned environment out of reach of the plugins a person installs, and keeps those plugins from running the model's call before it is allowed; two managed options add a control: allowManagedModsOnly limits mods to the organization's, and forceHotReloadPrompt asks before a mod Claude wrote loads.

sec-default reaches L1 (reads) and passed claude plugin validate.

It ships inside Claude Code, so there is nothing to install.

Access

L1 Readsreads files, reads env vars, reads settings, reads machine details, persists state, draws

Validation

Passed

View the source on GitHub Back to the list

What the scan recorded

Observed events
classic hooks, the system prompt, every skill, compaction, subagent spawns, every tool call, every prompt
Hooks
classic.*, prompt.section, prompt.context, prompt.attachment, prompt.compose, skill.prompt, attribution.text, session.append {door=attachment}, session.append {door=hook-context}, session.append {door=compaction}, session.append {door=tool-message}, session.append {door=note}, session.compact, settings.read, session.info, session.redact, state.get {plugin=engine}, telemetry.log {to=collector}, session.identity, tool.describe, command.describe, agent.offer, agent.spawn, agent.report, tool.offer, tool.register, tool.list, tool.call, agent.call, tool.run, prompt.submit, fs.write, fs.stat {resolve=true}, fs.list, process.run, process.spawn, tool.check, tool.judge, ui.log, env.get, env.set, vcs.detect, vcs.diff, wasm.compile, vcs.isolate, vcs.list, vcs.status, vcs.release, plugin.register {tier=user}
API calls
$.env.get, $.fs.list, $.fs.stat, $.session.info, $.settings.read, $.store.get, $.store.set, $.tool.check, $.ui.ask, $.ui.log
Validation
Passed
Scanned revision
e554e538e046

These are the hooks and API calls reported by claude plugin validate. Access levels describe the widest reach of those calls and are not safety ratings. Validation is a static check, not a runtime test, and a passing result does not prove that a mod works or is safe. What a mod can access and how the scan works.

More from anthropics/claude-code