Skip to content
Agentmart
Submit a tool

threat-model

Design-time threat modelling checklist.

Skill by diego81b

IndexedAGPL-3.0★ 2
Write a review

Chalk Labs

Need help deploying threat-model?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/diego81b-threat-model

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Design-time threat modelling checklist. Resolves trust boundaries, attack surface, who can reach what, what an attacker controls, and what crossing a boundary costs — before any contract is finalized and before any code exists to review.

Use cases: documents, design, security

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/threat-model

What's inside

Skill name
threat-model
Description
Design-time threat modelling checklist. Resolves trust boundaries, attack surface, who can reach what, what an attacker controls, and what crossing a boundary costs — before any contract is finalized and before any code exists to review.
License
AGPL-3.0
Instructions
58 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • name: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Threat Model

Shared reference for `architect-agent`.

This is a checklist for the **design**, not the code. `security-reviewer-agent` reads an implementation and finds exploitable vulnerabilities in it; by then a structural mistake — a boundary drawn in the wrong place, an identity trusted that shouldn't be, a secret that has to travel — can only be reported, not prevented. The questions below are the ones whose answers are cheap now and expensive later.

Work through each section that applies. Every positive answer becomes a row in the architecture artifact's existing `## Risks` table, with the same columns as any other risk, so it flows through the orchestrator's Risk Disposition Loop like the rest. Do not open a parallel findings table.

A section that genuinely doesn't apply is answered `N/A — [reason]`, not skipped silently: a downstream reviewer needs to tell "considered and dismissed" apart from "never asked."

---

## 1. Trust Boundaries

- Where does data cross from a less-trusted zone to a more-trusted one? (Browser → API, API → database, service → third party, tenant → shared infrastructure.)
- What is the *first* component on the trusted side of each boundary, and is it the one performing validation — or does something downstream assume validation already happened?
- Is any boundary crossed more than once for the same request, and does the trust level change each time?

## 2. Attack Surface Added by This Design

- Which new entry points does this design expose: endpoints, queue consumers, webhooks, file uploads, scheduled jobs, admin operations?
- Which are reachable without authentication, and is that deliberate?
- Does the design widen an existing surface — a new field on an existing endpoint, a new role, a new query parameter that reaches the database?

## 3. Identity and Authority

- For each new operation: who is allowed to perform it, and where is that decided?
- Is authority derived from the authenticated identity server-side, or read from the request payload?
- Does any operation act *on behalf of* another identity (impersonation, service account, delegated token)? What bounds that delegation?
- Can a lower-privileged caller reach a higher-privileged effect indirectly — through a queue, a callback, a cascade, or a shared job runner?

## 4. What the Attacker Controls

For each input the design accepts, assume the attacker fully controls it:

- What is the worst value they can supply, and what does the design do with it? (Identifiers pointing at other tenants' rows, oversized payloads, unexpected types, negative or zero quantities, absent fields.)
- Does any input reach an interpreter — SQL, shell, template, deserializer, path resolver, URL fetcher?
- Can the attacker control *how many times* an operation runs, or how expensive one run is?

## 5. Data Crossing the Boundary

- Which data classes travel across each boundary: credentials, tokens, personal data, financial data, internal identifiers?
- Does a response return more than the caller needs, or more than they are entitled to see?
- Where do secrets live in this design, and what has to be true for them not to be logged, cached, or returned?

## 6. Failure and Abuse

- What does the design do when a dependency is slow, down, or lying? Does failing open grant access it shouldn't?
- Is there an operation whose failure leaves partial state that a second attempt can exploit?
- Which actions must leave an audit trail for an incident to be reconstructable, and does the design produce one?

## 7. Blast Radius

- If one component in this design is fully compromised, what else does the attacker reach?
- Does this design create a new place where a single credential, key, or role grants broad access?
- Is there a boundary that would contain the damage, and is it actually enforced or only conventional?

From diego81b/kairos-agents-framework, AGPL-3.0.

More from diego81b/kairos-agents-framework

Signals

Stars
2
Forks
0
Open issues
0
Last commit (this folder)
Sep 14, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
AGPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from diego81b

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get threat-model running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying threat-model?

CallGet help
Cite this page

threat-model skill. Agent Mart. https://agentmart.dev/skills/diego81b-threat-model (last updated 2026-10-24)