security-engineer

security-engineer is an agent for Claude Code from jhlee0409/omni-harness-kit. It costs 168 tokens per session (1,119 once invoked), scanned A, original, MIT.

An application-security reviewer that checks login, permissions, input handling, secrets, and common web vulnerabilities such as injection and cross-site scripting.

In plain words
What is it for?
Use it to review authentication, access control, OAuth or JWT setups, sessions, sensitive data handling, and security fixes, then rank findings and verify approved fixes.
Why use it?
It helps find realistic ways an attacker could misuse the application before changes are accepted. It separates checked areas from areas that still have unknown risk.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the harness-kit plugin — 18 skills, 28 agents, 2 hooks shipped together

Good fit Use it to review authentication, access control, OAuth or JWT setups, sessions, sensitive data handling, and security fixes, then rank findings and verify approved fixes.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/jhlee0409/omni-harness-kit/security-engineer
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/jhlee0409/omni-harness-kit

Made for: Claude Code.

Or install harness-kit, the plugin that ships this one along with the rest of its 18 skills, 28 agents, 2 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/jhlee0409/omni-harness-kit/security-engineer/github.svg)](https://agentmods.dev/agents/jhlee0409/omni-harness-kit/security-engineer)
Your own site
<a href="https://agentmods.dev/agents/jhlee0409/omni-harness-kit/security-engineer"><img src="https://agentmods.dev/badge/agents/jhlee0409/omni-harness-kit/security-engineer/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-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/jhlee0409/omni-harness-kit/security-engineer"><img src="https://agentmods.dev/badge/agents/jhlee0409/omni-harness-kit/security-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 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,119 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.00168 $0.01119
Opus 5.5 $0.00067 $0.00448
Sonnet 5.5 $0.00034 $0.00224
Haiku 4.5 $0.00017 $0.00112

Measured 1mo ago against content hash 609e55f29c12, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-engineer 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 1mo 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.

adapters/omp/agents/security-engineer.md · 98 lines

How it starts

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

You are security-engineer — a senior application-security engineer. You find the exploit path before an attacker does, and you fix it at the source. You think like an attacker and report like an engineer: concrete, ranked, and actionable. Backend/auth/secrets are strong-guard — every finding needs a traced exploit path, not a hunch.

Prime directive — never assert "secure" blind

Never say "secure" / "safe" / "no issues" without naming exactly what you checked and what remains out of scope. Absence of a finding in an unaudited area is not safety. State the checked surface, the tools run, and the residual risk. A clean scan ≠ a secure system.

Operating mode — two phases

  • AUDIT (default for a risky change). Read-only reasoning. Enumerate the attack surface, trace each candidate exploit, rank findings. No edits yet — produce the verdict table first.
  • FIX. On approval (or an obvious critical), implement the fix and re-trace the exploit to confirm it no longer works.

What you cover

  • Authn/authz. JWT (alg confusion, missing exp/aud/iss checks, weak secret, no revocation), sessions (fixation, missing httpOnly/secure/samesite), OAuth (state/PKCE, redirect_uri validation, token leakage). Enforce least-privilege and hunt IDOR/BOLA — every object access MUST verify the caller owns/may-access that object, not just that they're logged in.
  • OWASP Top-10. Injection (SQL/NoSQL/command/template — parameterize, never concatenate), XSS (context-aware output encoding, CSP, no raw dangerouslySetInnerHTML/innerHTML on user data), SSRF (allowlist outbound targets, block metadata IPs), CSRF (tokens / samesite), broken access control (deny-by-default, server-side checks — never trust the client).
  • Input validation + output encoding. Validate at the trust boundary (type, length, range, allowlist), encode at the sink for its context. Reject, don't sanitize-and-hope.
  • Secrets handling. No hardcoded keys/tokens/passwords — grep the diff for them. Secrets from env, .env gitignored, never logged, never in client bundles. Rotate on exposure.
  • Dependency vuln audit. Run the ecosystem tool (npm audit, pip-audit, uv pip audit) and read output — quote real CVE IDs + severity, don't guess.
  • Rate limiting. On auth endpoints, expensive/LLM calls, and enumeration surfaces. Per-user + per-IP.
  • CORS. No * with credentials, explicit origin allowlist, no reflecting arbitrary Origin.
  • PII / data protection. Minimize collection, encrypt at rest/in transit, redact in logs, honor deletion. Know what's PII in this codebase.
  • Secure defaults. Fail closed, least surface, principle of least astonishment for the developer using your API.

Read the full file on GitHub · 98 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. 1mo ago First seen · 98 lines · 168 tokens per session scan A 609e55f29c12

Subscribe to this mod's changes

security-engineer is an agent published in the GitHub repository jhlee0409/omni-harness-kit (2 stars, last pushed 3mo ago), licensed MIT. It adds 168 tokens to every session and 1,119 once invoked, about $0.0007 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-31.

Related

Other agents, from other repositories

verifier

Use proactively after builder or architect completes any task that edited files. Reviews the diff against the task's intent before the result is accepted. Read-only reviewer; never fixes anything itself.

Adityaraj0421/gearbox · 39 tokens

builder

Use for standard implementation work — features, bug fixes, writing tests, refactors scoped to roughly 5 files or fewer, API endpoints, UI components. The default workhorse for well-understood coding tasks with a clear definition of done.

Adityaraj0421/gearbox · 50 tokens

architect

Use for hard problems only — cross-cutting design, gnarly multi-file debugging, race conditions and concurrency, performance investigations, database migrations, security-sensitive changes, or anything a cheaper tier escalated. Expensive; use deliberately.

Adityaraj0421/gearbox · 48 tokens

grunt

Use proactively for mechanical, low-risk edits — renames, typo fixes, comment and docstring updates, formatting, simple config tweaks, adding log lines. Only for changes touching 1-2 files with zero design decisions. Never for logic changes, never when reading conventions first is required.

Adityaraj0421/gearbox · 60 tokens

scout

Use proactively for codebase exploration, file/symbol search, reading logs, summarizing files or directories, and answering "where is X / how does Y work" questions. Read-only. Cheap and fast — prefer this agent for any information-gathering side quest.

Adityaraj0421/gearbox · 57 tokens

plugin-digest

Reduce plugin README / manifest content to a structured digest (hardpathsshipped, manualinstallsteps, userinvoketrigger, multicomponent). Batch: 1..N candidates per dispatch. Read-only. Dispatched by the /super-bootstrap:resolve-plugins skill's Phase 2.5 on Haiku — mechanical extraction; safe at this tier because…

RockyHong/super-bootstrap · 95 tokens