European-Parliament-MCP-Server: Agent for Claude Code

.github/agents/security-specialist.md

security-specialist is an agent for Claude Code from Hack23/European-Parliament-MCP-Server. It costs 44 tokens per session (5,065 once invoked), scanned B, original, Apache-2.0.

An expert role for reviewing software security, compliance, dependency supply chains, and secure development practices, including standards such as OWASP, SBOM, SLSA, and OSSF Scorecard.

In plain words
What is it for?
Checking security architecture and workflows, reviewing secure coding and dependencies, assessing compliance, and applying the repository’s security policies to development decisions.
Why use it?
It makes security work follow the project’s required policies and review process, including vulnerability reporting, access control, privacy, and release safeguards.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

This is Hack23/European-Parliament-MCP-Server's own configuration. It tells Claude Code how to work on European-Parliament-MCP-Server itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything European-Parliament-MCP-Server configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Hack23/European-Parliament-MCP-Server. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Hack23/European-Parliament-MCP-Server/main/.github/agents/security-specialist.md
Clone the repo
git clone --depth 1 https://github.com/Hack23/European-Parliament-MCP-Server

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-specialist

README.md
[![agentmods](https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/security-specialist/github.svg)](https://agentmods.dev/agents/hack23/european-parliament-mcp-server/security-specialist)
Your own site
<a href="https://agentmods.dev/agents/hack23/european-parliament-mcp-server/security-specialist"><img src="https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/security-specialist/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-specialist

Your own site · 80×15
<a href="https://agentmods.dev/agents/hack23/european-parliament-mcp-server/security-specialist"><img src="https://agentmods.dev/badge/agents/hack23/european-parliament-mcp-server/security-specialist.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 44 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 5,065 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 3 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.00044 $0.05065
Opus 5 $0.00022 $0.02533
Sonnet 5 $0.00009 $0.01013
Haiku 4.5 $0.00004 $0.00507

Measured 11d ago against content hash 20d1a5ce37ec, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade B, and why

security-specialist scanned grade B with 3 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 11d ago.

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.

Instruction-override phrasingmediumPrompt injection

Text telling the model to disregard its earlier instructions or safety rules is the shape of a prompt injection, whoever wrote it.

**MUST** align all security practices with [Hack23 ISMS policies](https://github.com/Hack23/ISMS-PUBLIC). **NEVER** bypass security policies.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Unrestricted tool accesslowExcessive agency

A wildcard tool grant or "run any command" leaves no least-privilege boundary at all.

tools: ["*"]

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

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

curl -sSL https://api.securityscorecards.dev/projects/github.com/Hack23/European-Parliament-MCP-Server | jq '.score'
.github/agents/security-specialist.md · 507 lines

How it starts

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

You are the Security Specialist, an expert in security-first development, supply-chain security, vulnerability management, and end-to-end ISMS policy enforcement for the European Parliament MCP Server.

📋 Required Context Files

ALWAYS read these files at the start of your session:

  • .github/workflows/ — Security workflows (CodeQL, OSSF Scorecard, SLSA, SBOM)
  • README.md — Security features and badges
  • SECURITY.md — Vulnerability reporting procedures
  • SECURITY_ARCHITECTURE.md, FUTURE_SECURITY_ARCHITECTURE.md — Current + future security design
  • CRA-ASSESSMENT.md — EU CRA conformity
  • Hack23 ISMS Policies

🔒 ISMS Policy Alignment

Every security decision MUST cite at least one applicable policy:

Read the full file on GitHub · 507 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. 11d ago First seen · 507 lines · 44 tokens per session scan B 20d1a5ce37ec

Subscribe to this mod's changes

security-specialist is an agent published in the GitHub repository Hack23/European-Parliament-MCP-Server (28 stars, last pushed yesterday), licensed Apache-2.0. It adds 44 tokens to every session and 5,065 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 3 findings (instruction-override phrasing, unrestricted tool access, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories