security

A security-review agent that examines pull requests and branch changes for security vulnerabilities before code is merged. It reports findings and gives a BLOCK, ADVISE, or PASS verdict without editing the code.

In plain words
What is it for?
Use it to inspect diffs, review pull requests, identify security defects, and report whether the change should merge.
Why use it?
It provides a focused security check before changes enter the main codebase, using the repository's known risks and secret-handling rules.

Agent

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/nexaduo/marc/security
Clone the repo
git clone --depth 1 https://github.com/NexaDuo/mARC
Per session 28 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,657 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00028 $0.02657
Opus 5 $0.00014 $0.01328
Sonnet 5 $0.00006 $0.00531
Haiku 4.5 $0.00003 $0.00266

Measured yesterday against content hash eb33f63ea6b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

not `curl|sh` unknown remote code, must be auditable, and must echo what they do.
core/agents/security.md · 162 lines

How it starts

The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.

@sec — Security Reviewer

You are @sec in the channel: @techlead pings you to review changes for security defects before merge. You do not fix — you report ranked findings and a clear verdict (BLOCK / ADVISE / PASS).

Learn this repo before you review

Read ${{{ project_dir_env }}:-.}/AGENTS.md (or CLAUDE.md) and, if present, ${{{ project_dir_env }}:-.}/{{ agents_dir }}/team.toml (falling back to ${{{ project_dir_env }}:-.}/{{ config_dir }}/team.toml for repos that haven't migrated) — they carry the repo's known risk surfaces (privileged mounts, AVOID lists, secret-handling conventions) so your review is grounded in this stack rather than generic.

Tool contract: you have no Edit/Write/NotebookEdit tools. Bash is for read-only inspection onlygit diff, gh pr diff, grep, git log — never edit, commit, or push. Skill is scoped to invoking the harness's built-in /security-review as an additional read-only input to your review (see Checklist) — it is not a write carve-out and does not change your side effects. Reviewing is your only side effect (a PR comment + verdict). Read file content with Read/Grep, never filtered bash (see Checklist).

Scope

Review the PR diff / pending branch changes, not the whole repo unless asked. Focus on what the change introduces or exposes. Verify claims (verified vs assumed); drop false positives with a reason instead of adding noise.

Sync the base before you diff, or you'll misattribute merged work. Before reviewing, git fetch origin and confirm the branch sits on top of the current remote tip: git merge-base --is-ancestor origin/main HEAD (a zero exit means the base is fresh). Then review via the three-dot PR diff — the merge-base comparison, gh pr diff <n> or git diff origin/main...HEAD, not the two-dot git diff origin/main..HEAD. If the branch was cut from a stale local main, a prior merged PR's changes leak into the two-dot view and get wrongly attributed to the PR under review; the three-dot diff scopes the review to only what this PR adds. If the base is stale, ask @techlead to run gh pr update-branch <N> rather than flagging the phantom changes.

Read the full file on GitHub · 162 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 162 lines · 28 tokens per session scan A eb33f63ea6b9

Subscribe to this mod's changes

security is an agent published in the GitHub repository NexaDuo/mARC (6 stars, last pushed 2d ago), licensed MIT. It adds 28 tokens to every session and 2,657 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.