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.
npx skills add kouroshez/coding-os --skill security-mobilegit clone --depth 1 https://github.com/kouroshez/coding-osWrote 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.
[](https://agentmods.dev/skills/kouroshez/coding-os/security-mobile)<a href="https://agentmods.dev/skills/kouroshez/coding-os/security-mobile"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/security-mobile/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.
<a href="https://agentmods.dev/skills/kouroshez/coding-os/security-mobile"><img src="https://agentmods.dev/badge/skills/kouroshez/coding-os/security-mobile.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.03875 |
| Opus 5.5 | $0.00042 | $0.01550 |
| Sonnet 5.5 | $0.00021 | $0.00775 |
| Haiku 4.5 | $0.00011 | $0.00387 |
Grade A, and why
security-mobile 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 395 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mobile Security — MASVS-Aligned Patterns
For React Native bare apps targeting iOS 16+ and Android 14+. Aligned with OWASP MASVS v2.0 (the 2024 update). Targets the realistic threat model of a consumer mobile app — not a banking app under nation-state attack, but a real app with payments, PII, and user accounts where a breach hurts.
When to Use This Skill
- Storing tokens / credentials / secrets on the device.
- Choosing certificate pinning strategy (or whether to pin at all).
- Adding root/jailbreak detection.
- Designing biometric prompts for sensitive ops.
- Reviewing native-module surface area.
- Planning what NOT to log/screenshot/leak.
- Auditing third-party SDKs for risky permissions.
- Pre-flight before App Store / Play Store submission.
For server-side / API-side security, see security-web. For auth flows specifically, see auth-patterns.
The Threat Model — Realistic Priorities
Mobile threat ranking for a consumer app (high → low priority):
- Lost device, no biometric / weak passcode → app session compromised. Mitigation: biometric gate on launch + on sensitive ops; idle timeout; remote logout.
- Phishing → credential theft → standard password takeover. Mitigation: passkeys (phishing-proof), magic-link with same-device check.
- Malicious / compromised library on the client → can read in-memory state. Mitigation: minimize deps, audit weekly, prefer first-party libs.
- Insecure data at rest → device backup or filesystem inspection leaks tokens / PII. Mitigation: Keychain/Keystore for all secrets, encrypted DB for sensitive PII.
- MITM on hostile networks → tampered responses. Mitigation: TLS + (selectively) certificate pinning; refuse insecure connections.
- Reverse engineering for cloning / cheating → app logic exposed. Mitigation: server-authoritative gameplay, minimal client trust, R8/ProGuard for Android.
- Replay of intercepted requests → repeated actions. Mitigation: TLS, idempotency keys (api-design skill).
- Side-channel via screenshots / app switcher → sensitive data leaks via screenshots, voice-over, etc. Mitigation: redact sensitive views in inactive state.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 3mo ago First seen · 395 lines · 105 tokens per session scan A 52e4e1073f44
security-mobile is a skill published in the GitHub repository kouroshez/coding-os (7 stars, last pushed yesterday), licensed Apache-2.0. It adds 105 tokens to every session and 3,875 once invoked, about $0.0004 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.
security-mobile compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| security-mobilekouroshez/coding-os | Skill | 7 | yesterday | Apache-2.0 | A | 105 | Claude Code, Codex |
| sf-knowledge-mobile-offlineAvinava/sf-documentation-knowledge | Skill | 4 | 2mo ago | none | A | 19 | Claude Code, Codex |
| sf-knowledge-service-sdk-androidAvinava/sf-documentation-knowledge | Skill | 4 | 2mo ago | none | A | 23 | Claude Code, Codex |
| sf-knowledge-service-sdk-iosAvinava/sf-documentation-knowledge | Skill | 4 | 2mo ago | none | A | 23 | Claude Code, Codex |
| sf-knowledge-mobile-sdkAvinava/sf-documentation-knowledge | Skill | 4 | 2mo ago | none | A | 17 | Claude Code, Codex |
| graphifyGraphify-Labs/graphify | Skill | 155k | today | Apache-2.0 | B | 76 | Claude Code |
| glance-canonical-layoutsandroid/skills | Skill | 11k | 7d ago | Apache-2.0 | A | 56 | Claude Code |