security-officer

security-officer is an agent for coding agents from 686f6c61/alfred-dev. It costs 298 tokens per session (4,264 once invoked), scanned A, original, MIT.

Un agente de seguridad que revisa el código, sus dependencias y el cumplimiento de normas como RGPD, NIS2 y CRA. También comprueba riesgos conocidos y prepara un inventario de los componentes usados.

In plain words
What is it for?
Auditorías de seguridad, revisión frente a OWASP Top 10, análisis de CVE, licencias y versiones, generación de SBOM y comprobaciones previas al despliegue.
Why use it?
Ayuda a detectar vulnerabilidades, dependencias problemáticas y posibles incumplimientos antes de que lleguen a producción. Sirve como control obligatorio durante varias fases del desarrollo y la entrega.

Agent

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the alfred-dev plugin — 11 skills, 22 commands, 10 agents, 5 hooks, 1 MCP server shipped together

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/686f6c61/alfred-dev/security-officer
Clone the repo
git clone --depth 1 https://github.com/686f6c61/alfred-dev

Or install alfred-dev, the plugin that ships this one along with the rest of its 11 skills, 22 commands, 10 agents, 5 hooks, 1 MCP server.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/686f6c61/alfred-dev/security-officer.svg)](https://agentmods.dev/agents/686f6c61/alfred-dev/security-officer)
Your own site
<a href="https://agentmods.dev/agents/686f6c61/alfred-dev/security-officer"><img src="https://agentmods.dev/badge/agents/686f6c61/alfred-dev/security-officer.svg" alt="Measured on agentmods" height="20"></a>
Per session 298 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,264 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00298 $0.04264
Opus 5 $0.00149 $0.02132
Sonnet 5 $0.00060 $0.00853
Haiku 4.5 $0.00030 $0.00426

Measured 4d ago against content hash 397b0bccc1e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

security-officer 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 4d 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.

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-officer.md · 283 lines

How it starts

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

El Paranoico -- CSO del equipo Alfred Dev

Identidad

Eres El Paranoico, CSO (Chief Security Officer) del equipo Alfred Dev. Desconfiado por defecto. Ves vulnerabilidades hasta en el código comentado. Duermes con un firewall bajo la almohada y sueñas con inyecciones SQL. Tu trabajo es que nada malo llegue a producción, y lo haces con la meticulosidad de quien sabe que un fallo de seguridad puede destruir un negocio.

Comunícate siempre en castellano de España. Tu tono es serio, directo y a veces cortante. Cuando encuentras una vulnerabilidad, no la adornas: la expones con su gravedad, su vector de ataque y su solución. Humor negro cuando la situación lo merece.

Frases típicas

Usa estas frases de forma natural cuando encajen en la conversación:

  • "Habéis validado esa entrada? No, en serio, la habéis validado?"
  • "Dependencia desactualizada detectada. Esto no sale a producción así."
  • "RGPD, artículo 25: protección de datos desde el diseño. No es opcional."
  • "Si no está cifrado, no existe."
  • "NIS2 exige notificación en 24 horas. Tenemos ese protocolo?"
  • "Eso no está sanitizado. Nada está sanitizado."
  • "Has pensado en los ataques de canal lateral?"
  • "Necesitamos cifrar esto. Y aquello. Y todo lo demás."
  • "Confianza cero. Ni en ti, ni en mí, ni en nadie."
  • "Ese token en el repo? Navidad ha llegado pronto para los atacantes."

Al activarse

Cuando te activen, anuncia inmediatamente:

  1. Tu identidad (nombre y rol).
  2. Qué vas a hacer en esta fase.
  3. Qué artefactos producirás.
  4. Cuál es la gate que evalúas.

"El Paranoico al servicio. Voy a auditar dependencias, revisar OWASP Top 10 y verificar compliance. La gate: cero vulnerabilidades críticas o altas."

Qué NO hacer

  • No revisar calidad de código ni estilo (eso es del qa-engineer).
  • No optimizar rendimiento.
  • No hacer refactoring.
  • No aprobar "con condiciones" hallazgos de severidad crítica o alta.
  • No asumir que un CVE "no aplica" sin análisis técnico documentado.

HARD-GATES: seguridad verificable

Read the full file on GitHub · 283 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. 4d ago First seen · 283 lines · 298 tokens per session scan A 397b0bccc1e6

Subscribe to this mod's changes

security-officer is an agent published in the GitHub repository 686f6c61/alfred-dev (119 stars, last pushed 20d ago), licensed MIT. It adds 298 tokens to every session and 4,264 once invoked, about $0.0015 per session on Opus 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

Other agents, from other repositories

patent-creator

Drafts complete patent applications autonomously through 6-phase workflow (estimated 55-80 min). Produces markdown + SVG output requiring DOCX/PDF conversion before USPTO filing.

RobThePCGuy/Claude-Patent-Creator · 42 tokens

patent-illustrator

Expert in creating patent-style technical diagrams - flowcharts, block diagrams, system architectures - using Graphviz with proper reference numbering.

RobThePCGuy/Claude-Patent-Creator · 31 tokens

patent-drafter

Expert in drafting USPTO-compliant patent claims and specifications. Specializes in claims strategy, specification writing, and 35 USC 112 compliance.

RobThePCGuy/Claude-Patent-Creator · 35 tokens

legal-reviewer

Legal-services / legal-tech specialist pre-implementation reviewer for legal archetype (law firms, solo practitioners, legal-SaaS). Outputs threat model TM-{slug}.md and signs off Critical/High mitigations before senior-dev claims tasks.

avelikiy/great_cto · 52 tokens

edtech-reviewer

Education-technology specialist pre-implementation reviewer for edtech archetype. Specialises in COPPA verifiable parental consent, FERPA student-data handling, GDPR-K (digital age of consent), Section 508 + WCAG 2.2 AA accessibility, child-safety content moderation (CSAM hash, NCMEC reporting), and US state…

avelikiy/great_cto · 112 tokens

healthcare-reviewer

Healthcare-specific pre-implementation reviewer for archetype:healthcare. Specialises in HIPAA Security Rule (45 CFR 164.308–318), Business Associate Agreement (BAA) chain, FHIR/HL7 implementation gotchas, PHI access logging (immutable audit), HITECH breach-notification timelines, and HHS Office for Civil Rights (OCR)…

avelikiy/great_cto · 103 tokens