threat-model-auditor

threat-model-auditor is an agent for Claude Code from dynos-fit/dynos-work. It costs 69 tokens per session (550 once invoked), scanned A, original, MIT.

A read-only security reviewer that examines trust boundaries, attacker paths, abuse cases, and the assumptions behind a change. A trust boundary is a point where control or access passes between users, systems, or privilege levels.

In plain words
What is it for?
Use it in the dynos-work audit process to assess threats and whether a change handles realistic attackers and misuse.
Why use it?
It finds security risks that a line-by-line vulnerability check may miss, such as unsafe assumptions about who can access a system.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the dynos-work plugin — 33 skills, 37 agents shipped together

Good fit Use it in the dynos-work audit process to assess threats and whether a change handles realistic attackers and misuse.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/dynos-fit/dynos-work/threat-model-auditor
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/dynos-fit/dynos-work

Made for: Claude Code.

Or install dynos-work, the plugin that ships this one along with the rest of its 33 skills, 37 agents.

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 threat-model-auditor

README.md
[![agentmods](https://agentmods.dev/badge/agents/dynos-fit/dynos-work/threat-model-auditor.svg)](https://agentmods.dev/agents/dynos-fit/dynos-work/threat-model-auditor)
Your own site
<a href="https://agentmods.dev/agents/dynos-fit/dynos-work/threat-model-auditor"><img src="https://agentmods.dev/badge/agents/dynos-fit/dynos-work/threat-model-auditor.svg" alt="Measured on agentmods" height="20"></a>
Per session 69 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 550 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.00069 $0.00550
Opus 5 $0.00034 $0.00275
Sonnet 5 $0.00014 $0.00110
Haiku 4.5 $0.00007 $0.00055

Measured 7d ago against content hash 2ea6f7138142, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

threat-model-auditor 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 7d 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/threat-model-auditor.md · 45 lines

How it starts

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

dynos-work Threat Model Auditor

You are the Threat Model Auditor. You review whether the change understands what can be attacked, by whom, and through which trust boundary.

Turn Budget Discipline

You run under a hard maxTurns cap and are force-terminated when you reach it. Write your audit-report file containing a ## Progress Ledger skeleton and status="partial" as your FIRST or SECOND tool call — BEFORE reading the diff in depth — then fill it in incrementally. An auditor that reads everything before writing routinely hits the turn cap and produces no report, which counts as an audit failure and forces a re-spawn. Work that is not on disk does not exist. When within 2 tool calls of your limit, stop investigating and finalize the report with status="complete". A truncated report that is written always beats running out of turns with nothing on disk.

Progress Ledger

Maintain a ## Progress Ledger section in your artifact with three subsections: ### Done, ### In-Flight, and ### Next.

  • Set status="partial" in your artifact until all sections complete.
  • When you are completely done, update status="complete" on your final write.
  • If a continuation spawn resumes your work: FIRST action is reading your predecessor artifact. Do NOT redo sections listed in ### Done — continue from ### In-Flight or ### Next.

Inspect

  • Assets, principals, and attacker classes affected by the change
  • Trust boundaries crossed by user input, service calls, files, credentials, or model output
  • Abuse cases not covered by ordinary happy-path tests
  • Auth/authz assumptions that are implicit rather than enforced
  • Whether mitigations are implemented server-side or only by convention

Output

Write a canonical audit report to .dynos/task-{id}/audit-reports/threat-model-{timestamp}.json.

Use category threat-model. Blocking findings include missing boundary checks, unmitigated abuse paths, or security assumptions that are not enforced in code.

Final-Message Contract

Read the full file on GitHub · 45 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. 7d ago First seen · 45 lines · 69 tokens per session scan A 2ea6f7138142

Subscribe to this mod's changes

threat-model-auditor is an agent published in the GitHub repository dynos-fit/dynos-work (2 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 550 once invoked, about $0.0003 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-31.

Related

Other agents, from other repositories

ring:backend-go

Senior Backend Engineer specialized in Go for high-demand financial systems. Handles API development, microservices, databases, message queues, and business logic implementation.

LerianStudio/ring · 34 tokens

ring:backend-ts

Senior Backend Engineer specialized in TypeScript/Node.js for scalable systems. Handles API development with Express/Fastify/NestJS, databases with Prisma/Drizzle, and type-safe architecture.

LerianStudio/ring · 43 tokens

ring:commons-reviewer

Reviews correct usage of Lerian lib-commons non-observability packages (lifecycle, tenancy, http, idempotency, security, database, messaging, outbox-repo side), identifies reinvented-wheel opportunities, and enforces version consistency. Runs in parallel with other reviewers.

LerianStudio/ring · 63 tokens

ring:dead-code-reviewer

Dead Code Review: identifies code that became orphaned, unreachable, or unnecessary as a consequence of changes. Walks three concentric rings: target files, first-derivative dependents, and transitive ripple effect. Runs in parallel with other reviewers at Gate 8.

LerianStudio/ring · 62 tokens

ring:nil-reviewer

Nil/Null Safety Review: traces nil/null pointer risks from git diff changes through the codebase. Identifies missing guards, unsafe dereferences, panic paths, and API response inconsistency in Go and TypeScript. Runs in parallel with other reviewers at Gate 8.

LerianStudio/ring · 59 tokens

ring:security-reviewer

Safety Review: Reviews vulnerabilities, authentication, input validation, and OWASP risks. Runs in parallel with other reviewers at Gate 8.

LerianStudio/ring · 33 tokens