security-champion-agent

security-champion-agent is an agent for Claude Code from navikt/copilot. It costs 25 tokens per session (1,673 once invoked), scanned A, original, MIT.

A security review assistant for Nav applications. It covers threat modeling, compliance, and designing several layers of protection.

In plain words
What is it for?
Use it to review authentication and validation code, scan repositories and Docker images for vulnerabilities and secrets, check GitHub Actions workflows, and assess applications against OWASP Top 10 risks. OWASP Top 10 is a list of common web-application security risks.
Why use it?
It helps find attack paths, exposed secrets, vulnerabilities, and weak security practices before they become incidents. It also gives teams a structured way to review security.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; $skill-name invocation; Copilot chat-mode frontmatter (tools: vscode/*).

Good fit Use it to review authentication and validation code, scan repositories and Docker images for vulnerabilities and secrets, check GitHub Actions workflows, and assess applications against OWASP Top 10 risks. OWASP Top 10 is a list of common web-application security risks.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/navikt/copilot/security-champion
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.

Clone the repo
git clone --depth 1 https://github.com/navikt/copilot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for security-champion-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/navikt/copilot/security-champion/github.svg)](https://agentmods.dev/agents/navikt/copilot/security-champion)
Your own site
<a href="https://agentmods.dev/agents/navikt/copilot/security-champion"><img src="https://agentmods.dev/badge/agents/navikt/copilot/security-champion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security-champion-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/navikt/copilot/security-champion"><img src="https://agentmods.dev/badge/agents/navikt/copilot/security-champion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,673 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00025 $0.01673
Opus 5.5 $0.00010 $0.00669
Sonnet 5.5 $0.00005 $0.00335
Haiku 4.5 $0.00003 $0.00167

Measured yesterday against content hash 1375f6d3b159, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-champion-agent scanned grade A with 0 findings 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

agents/security-champion.agent.md · 132 lines

How it starts

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

Security Champion Agent

Security architect for Nav applications. Reviews changes for security, models threats and checks compliance with Nav's Golden Path. Owns the security perspective in phase 3 when @nav-pilot delegates. Implementation details come from the skills below.

Skills and fallback

Skill Use for
$security-review Pre-commit scans (trivy, zizmor, govulncheck) and the Nav security reference: Golden Path, Nais security features, CEF audit logging, GDPR, input and upload validation, secure coding examples, checklists, Slack channels and tools (references/nav-security-reference.md)
$nav-auth Entra ID, TokenX, ID-porten, Maskinporten, JWT validation and RBAC
$tokenx-auth TokenX exchange and validation through Texas
$nais accessPolicy, secrets, resources
$threat-model STRIDE-A analysis with data flow diagrams
$security-owasp Code-level OWASP Top 10:2025 anti-patterns for Kotlin and Go
$observability-setup Security alerts and anomaly detection

The always-on security-core instruction holds the base rules: no secrets or personal data in logs, secrets from the environment, parameterized queries, resource ownership, token validation and TLS. A violation of any of them is a finding.

If a skill is missing, say which one in the report, review with the rules in this file, and tell the user to install it with nav-pilot install <name> --type skill (or copy skills/<name>/ from navikt/copilot into .github/skills/). Do not invent Nav-specific details the skill would have given; point to sikkerhet.nav.no and doc.nais.io instead.

Review workflow

Show progress while reviewing:

🔍 Kartlegger — identifiserer angrepsflate og dataflyt...
🛡️ Analyserer — sjekker mot Golden Path og OWASP Top 10...
📋 Funn — 1 kritisk, 3 medium, 8 god praksis

When @nav-pilot delegates to you, prefix output with 🛡️ Sikkerhet: so the user sees which specialist is working.

Read the full file on GitHub · 132 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 Changed · -832 lines 1375f6d3b159
  2. 1mo ago Changed fb9fd0c8f143
  3. 1mo ago Changed · +1 lines 65fed295fcdd
  4. 1mo ago Changed 88648b8aac16
  5. 2mo ago Changed · +1 lines 09850437ed89
  6. 2mo ago Changed f7c85c203663
  7. 2mo ago Changed 2c3200cf2325
  8. 2mo ago Changed 910ead105ad5
  9. 3mo ago Changed a209e3ce5d93
  10. 3mo ago First seen · 962 lines · 25 tokens per session scan A 5ccba48b6693

Subscribe to this mod's changes

security-champion-agent is an agent published in the GitHub repository navikt/copilot (65 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 1,673 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

security-champion-agent compared with agents from other repositories

security-champion-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-champion-agentnavikt/copilotAgent65todayMITA25Claude Code
RPI OrchestratorAndyElessar/skillsAgent23d agononeA46Claude Code
RPI PlannerAndyElessar/skillsAgent23d agononeA28Claude Code
RPI ReviewerAndyElessar/skillsAgent23d agononeA31Claude Code
RPI ImplementorAndyElessar/skillsAgent23d agononeA35Claude Code
RPI ResearcherAndyElessar/skillsAgent23d agononeA36Claude Code
speckit.checklistCorpusvision/agent-frameworkAgent76mo agoMITA13Claude Code