Agent skill · Audited from source
Security Threat Model
skill · davila7/claude-code-templatesMIT licenceAudited 2 Oct 2026 · source aa855ad1e58d
Is it safe? Yes — SAFE, grade B (89/100). We read this skill's source at commit aa855ad1e58d and found no filesystem, network or shell access and no hard-coded secrets. What it does: Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks…
Cite
Cite this page
ModelsAtlas. “Security Threat Model (davila7/claude-code-templates)”. Retrieved 2 Oct 2026. https://modelsatlas.com/skills/davila7/security-threat-model
3 skills are called “Security Threat Model”. You are viewing davila7/claude-code-templates.
- davila7/claude-code-templates★ 32k✓SAFE
- foryourhealth111-pixel/Vibe-Skills★ 3.6k✓SAFE
- mohitagw15856/pm-claude-skills★ 1.4k!CAUTION
Trust audit
Audit 0.4.1 · source read 2 Oct 2026
SAFE means nothing in the source contradicts what the skill says it does. Grade B is shared by 17,406 of 18,389 audited skills.
What the source does
- FilesystemNone observedNo reads or writes in the source
- NetworkNone observedNo outbound calls in the source
- ShellNone observedNo commands run in the source
- DependenciesPinnedNothing floats
- SecretsNone foundNo keys in source
Five audit layers
| Layer | What we check | Result | Findings |
|---|---|---|---|
L0 Provenance | Repo owner, licence, archive status, activity | PASS | 0 |
L1 Static source | Secrets, path traversal, supply chain, hidden code | NA | 0 |
L2 Instructions | Prompt injection, authority framing, hidden directives | PASS | 1 |
L3 Inventory | The files and declarations match the source | PASS | 0 |
L4 Sandbox | Run in isolation and watch behaviour | SKIPPED why | 0 |
Gates applied: no behavioural pass.
Findings (1)
LOWPrompt injectionprompt.authority_framing · references/prompt-template.md:10
You are a senior application security engineer producing a threat model that will be read by other AppSec engineers.
- Why
- No further detail recorded for this rule.
- Fix
- —
Audit 0.4.1 · source sha aa855ad1e58d · 2 Oct 2026Report an issue or request a re-scan
Provenance
Who published it, and what the verdict is pinned to
- Publisherdavila7 GitHub userOwner of the repository this skill is read from
- Source folderdavila7/claude-code-templates/cli-tool/components/skills/security/security-threat-modelThe exact folder we audited
- LicenceMITAs the repository states it
- Commit pinned for this verdictaa855ad1e58dA new audit runs when the source changes
- Repository statusNot archivedPushed today
- Sandboxed runNot runSkills are read, not executed; layer L4 is skipped
What it tells the agent
Full source on GitHub ↗Its description: Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks…
--- name: "security-threat-model" description: "Repository-grounded threat modeling that enumerates trust boundaries, assets, attacker capabilities, abuse paths, and mitigations, and writes a concise Markdown threat model. Trigger only when the user explicitly asks to threat model a codebase or path, enumerate threats/abuse paths, or perform AppSec threat modeling. Do not trigger for general architecture summaries, code review, or non-security design work." author: openai --- # Threat Model Source Code Repo Deliver an actionable AppSec-grade threat model that is specific to the repository or a project path, not a generic checklist. Anchor every architectural claim to evidence in the repo and keep assumptions explicit. Prioritizing realistic attacker goals and concrete impacts over generic checklists. ## Quick start 1) Collect (or infer) inputs: - Repo root path and any in-scope paths. - Intended usage, deployment model, internet exposure, and auth expectations (if known). - Any existing repository summary or architecture spec. - Use prompts in `references/prompt-template.md` to generate a repository summary. - Follow the required output contract in `references/prompt-template.md`. Use it verbatim when possible. ## Workflow ### 1) Scope and extract the system model - Identify primary components, data stores, and external integrations from the repo summary. - Identify how the system runs (server, CLI, library, worker) and its entrypoints. - Separate runtime behavior from CI/build/dev tooling and from tests/examples. - Map the in-scope locations to those components and exclude out-of-scope items explicitly. - Do not claim components, flows, or controls without evidence. ### 2) Derive boundaries, assets, and entry points - Enumerate trust boundaries as concrete edges between components, noting protocol, auth, encryption, validation, and rate limiting. - List assets that drive risk (data, credentials, models, config, compute resources, audit logs). - Identify entry points (endpoints, upload surfaces, parsers/decoders, job triggers, admin tooling, logging/error sinks). ### 3) Calibrate assets and attacker capabilities - List the assets that drive risk (credentials, PII, integrity-critical state, availability-critical components, build artifacts). - Describe realistic attacker capabilities based on exposure and intended usage. - Explicitly note non-capabilities to avoid inflated severity. ### 4) Enumerate threats as abuse paths - Prefer attacker goals that map to assets and boundaries (exfiltration, privilege escalation, integrity compromise, denial of service). - Classify each threat and tie it to impacted assets. - Keep the number of threats small but high quality. ### 5) Prioritize with explicit likelihood and impact reasoning - Use qualitative likelihood and impact (low/medium/high) with short justifications. - Set overall priority (critical/high/medium/low) using likelihood x impact, adjusted for existing controls. - State which assumptions most influence the ranking. ### 6) Validate service context and assumptions with the user - Summarize key assumptions that materially affect threat ranking or scope, then ask the user to confirm or correct them. - Ask 1–3 targeted questions to resolve missing context (service owner and environment, scale/users, deployment model, authn/authz, internet exposure, data sensitivity, multi-tenancy). - Pause and wait for user feedback before producing the final report. - If the user declines or can’t answer, state which assumptions remain and how they influence priority. ### 7) Recommend mitigations and focus paths - Distinguish existing mitigations (with evidence) from recommended mitigations. - Tie mitigations to concrete locations (component, boundary, or entry point) and control types (authZ checks, input validation, schema enforcement, sandboxing, rate limits, secrets isolation, audit logging). - Prefer specific implementation hints over generic advice (e.g., "enforce schema at gateway for upload payloads" vs "validate inputs"). - Base recommendations on validated user context; if assumptions remain unresolved, mark recommendations as conditional. ### 8) Run a quality check before finalizing - Confirm all discovered entrypoints are covered. - Confirm each trust boundary is represented in threats. - Confirm runtime vs CI/dev separation. - Confirm user clarifications (or explicit non-responses) are reflected. - Confirm assumptions and open questions are explicit. - Confirm that the format of the report matches closely the required output format defined in prompt template: `references/prompt-template.md` - Write the final Markdown to a file named `<repo-or-dir-name>-threat-model.md` (use the basename of the repo root, or the in-scope directory if you were asked to model a subpath). ## Risk prioritization guidance (illustrative, not exhaustive) - High: pre-auth RCE, auth bypass, cross-tenant access, sensitive data exfiltration, key or token theft, model or config integrity compromise, sandbox escape. - Medium: targeted DoS of critical components, partial data exposure, rate-limit bypass with measurable impact, log/metrics poisoning that affects detection. - Low: low-sensitivity info leaks, noisy DoS with easy mitigation, issues requiring unlikely preconditions. ## References - Output contract and full prompt template: `references/prompt-template.md` - Optional controls/asset list: `references/security-controls-and-assets.md` Only load the reference files you need. Keep the final result concise, grounded, and reviewable.
Excerpt, first 5,571 characters of SKILL.md, verbatim from the audited commit. It is text from someone else’s repository, quoted so you can judge it before your agent reads it.
Install
Pinned to the audited commit aa855ad
git clone https://github.com/davila7/claude-code-templates git -C claude-code-templates checkout aa855ad1e58d
The author documents no install command, so this uses the repository directly. Our verdict covers commit aa855ad1e58d only.
Works in
The author has not said which agents this skill supports, and we have not tested it in any.
Audit history
Every audit, every source change
- ✓SAFE B 89 / 100
first audit · source
aa855ad1e58d
README badge
For maintainers · shows the latest audit
[](https://modelsatlas.com/skills/davila7/security-threat-model/)
The badge shows our verdict and grade for this skill, and links back to this page. It changes when the audit does.
Similar skills
All security skills →hesreallyhim/awesome-claude-code
A hand-picked collection of the finest of resources for the most awesome of agents, Claude Code, the undisputed champion of coding companions, from the unstoppable team at Anthropic PBC. A delectable showcase of top…
davila7/claude-code-templates
Generate descriptive commit messages by analyzing git diffs. Use when the user asks for help writing commit messages or reviewing staged changes.
davila7/claude-code-templates
Use this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple PDFs into one, splitting PDFs apart, rotating pages, adding…
davila7/claude-code-templates
Create high-quality git commits: review/stage intended changes, split into logical commits, and write clear commit messages (including Conventional Commits). Use when the user asks to commit, craft a commit message,…
davila7/claude-code-templates
Semantic search, similar content discovery, and structured research using Exa API
davila7/claude-code-templates
Generative Engine Optimization for AI search engines (ChatGPT, Claude, Perplexity).
Add this badge to your README
[](https://modelsatlas.com/skills/davila7/security-threat-model/)
<a href="https://modelsatlas.com/skills/davila7/security-threat-model/"><img src="https://modelsatlas.com/skills/davila7/security-threat-model/badge.svg" alt="ModelsAtlas: SAFE B"></a>
Questions about Security Threat Model
What does the Security Threat Model skill do?
Is Security Threat Model safe to install?
What can Security Threat Model access on my machine?
How current is this page?
Sources
- github.com/davila7/claude-code-templates/tree/main/cli-tool/comp — the audited source at commit aa855ad1e58d and every finding aboveObserved · 2 Oct 2026
Spotted something wrong? Report a correction · Methodology
Keep going in your AI
Opens with this page as the source. We add nothing else to the prompt.
- What does the Security Threat Model skill do?
- Is Security Threat Model safe to install?
- What can Security Threat Model access on my machine?