mobile-threat-model

mobile-threat-model is a skill for Claude Code from H4D3ZS/vscodium-rust. It costs 47 tokens per session (1,416 once invoked), scanned A, original, MIT.

A threat-model generator for mobile apps using STRIDE, a framework for considering spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege. It maps the findings to OWASP MASVS controls.

In plain words
What is it for?
Use it to profile an Android, iOS, or cross-platform app, record its architecture and integrations, classify sensitive data, and define security threats and controls.
Why use it?
It helps teams identify likely attackers, valuable data, and design weaknesses before implementation or a security review.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to profile an Android, iOS, or cross-platform app, record its architecture and integrations, classify sensitive data, and define security threats and controls.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/h4d3zs/vscodium-rust/mobile-threat-model
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.

Any agent
npx skills add H4D3ZS/vscodium-rust --skill mobile-threat-model
Clone the repo
git clone --depth 1 https://github.com/H4D3ZS/vscodium-rust

Made for: Claude Code.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/mobile-threat-model/github.svg)](https://agentmods.dev/skills/h4d3zs/vscodium-rust/mobile-threat-model)
Your own site
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/mobile-threat-model"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/mobile-threat-model/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 mobile-threat-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/h4d3zs/vscodium-rust/mobile-threat-model"><img src="https://agentmods.dev/badge/skills/h4d3zs/vscodium-rust/mobile-threat-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,416 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.00047 $0.01416
Opus 5.5 $0.00019 $0.00566
Sonnet 5.5 $0.00009 $0.00283
Haiku 4.5 $0.00005 $0.00142

Measured yesterday against content hash 3158d7f00032, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mobile-threat-model 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 yesterday.

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.

crates/engine/bundles/mobile-security-skills/skills/mobile-threat-model/SKILL.md · 125 lines

How it starts

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

Mobile App Threat Model Generator

You are a mobile application security architect. Generate a comprehensive threat model for the target mobile app using STRIDE methodology, mapped to OWASP MASVS controls and NowSecure best practices.

Target

Analyze the codebase at: $ARGUMENTS

If no path is provided, analyze the current working directory.

Procedure

Phase 1: Application Profiling

Analyze the codebase to determine:

  1. Platform: Android, iOS, or cross-platform (React Native, Flutter, Xamarin, Cordova)
  2. Architecture: Client-server, offline-first, peer-to-peer, hybrid
  3. Data Sensitivity Tier (NowSecure classification):
    • Tier 1 — No Sensitive Data: Utility apps, calculators, games without accounts
    • Tier 2 — Handles PII: Apps with user accounts, personal data, messaging
    • Tier 3 — Flagship / High-Value: Banking, healthcare, enterprise, government apps
  4. Backend Integration: API endpoints, authentication services, cloud storage
  5. Third-Party SDKs: Analytics, advertising, payment, social, crash reporting
  6. Data Types: Enumerate all sensitive data categories handled by the app
  7. IPC Surface: Deep links, URL schemes, content providers, broadcast receivers
  8. Platform Features: Camera, GPS, biometrics, NFC, Bluetooth, push notifications

Phase 2: Trust Boundary Identification

Identify and document trust boundaries:

  1. App ↔ OS: Sandboxing, permissions, IPC
  2. App ↔ Network: TLS termination, API gateway
  3. App ↔ Backend: Authentication, authorization
  4. App ↔ Other Apps: IPC, shared storage, clipboard
  5. App ↔ User: UI input validation, sensitive data display
  6. App ↔ Third-Party SDKs: Data shared with embedded SDKs
  7. App ↔ Physical World: Biometrics, NFC, QR codes

Phase 3: STRIDE Threat Analysis

For each trust boundary, enumerate threats using STRIDE:

Category Mobile-Specific Threats
Spoofing Fake app clones, certificate spoofing, biometric bypass, deep link hijacking, phishing via WebView
Tampering APK/IPA repackaging, runtime hooking (Frida/Xposed), memory patching, API request manipulation, binary patching
Repudiation Insufficient audit logging, missing server-side transaction logs, client-side log manipulation
Information Disclosure Insecure storage, cleartext traffic, log leakage, backup extraction, memory dumping, side-channel leaks (screenshots, clipboard)
Denial of Service API rate limiting bypass, local DoS via malformed intents, resource exhaustion
Elevation of Privilege Root/jailbreak exploitation, privilege escalation via IPC, OAuth scope abuse, deep link command injection

Read the full file on GitHub · 125 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. yesterday First seen · 125 lines · 47 tokens per session scan A 3158d7f00032

Subscribe to this mod's changes

mobile-threat-model is a skill published in the GitHub repository H4D3ZS/vscodium-rust (257 stars, last pushed today), licensed MIT. It adds 47 tokens to every session and 1,416 once invoked, about $0.0002 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-12-02.

Related

mobile-threat-model compared with skills from other repositories

mobile-threat-model next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mobile-threat-modelH4D3ZS/vscodium-rustSkill257todayMITA47Claude Code
orca-emulator-androidstablyai/orcaSkill152ktodayMITA102Claude Code, Codex
android-multiprofilechromium/chromiumSkill25ktodayBSD-3-ClauseA73Claude Code, Codex
glance-canonical-layoutsandroid/skillsSkill11k9d agoApache-2.0A56Claude Code
android-tombstone-symbolicationdotnet/skillsSkill6.4ktodayMITA176Claude Code
dogfoodcallstack/agent-deviceSkill5.6ktodayMITA55Claude Code
winapp-mauimicrosoft/winappCliSkill1.4ktodayMITA68Claude Code