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 SecurityTalent/bugskill-ai --skill mobile-weak-cryptogit clone --depth 1 https://github.com/SecurityTalent/bugskill-aiWrote 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/securitytalent/bugskill-ai/mobile-weak-crypto)<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/mobile-weak-crypto"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/mobile-weak-crypto/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/securitytalent/bugskill-ai/mobile-weak-crypto"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/mobile-weak-crypto.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.00132 | $0.01875 |
| Opus 5.5 | $0.00053 | $0.00750 |
| Sonnet 5.5 | $0.00026 | $0.00375 |
| Haiku 4.5 | $0.00013 | $0.00187 |
Grade A, and why
mobile-weak-crypto 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 2mo 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 — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Mobile Weak Cryptography
What Is Broken and Why
Mobile apps frequently implement cryptography incorrectly: using broken algorithms (DES, RC4), insecure modes (ECB), static/reused IVs, hardcoded keys embedded in source or resources, or non-cryptographic RNGs for key generation. Android's java.util.Random is not a CSPRNG. iOS's arc4random() is acceptable but older code uses rand(). ECB mode leaks plaintext patterns in ciphertext. Hardcoded keys are extractable via static analysis of the APK or IPA in seconds.
Key Signals
Cipher.getInstance("AES/ECB/NoPadding")orCipher.getInstance("DES/...")in Android codekCCAlgorithmDES,kCCAlgorithmRC4in iOS CommonCrypto calls- Hardcoded hex/base64 strings adjacent to crypto API calls
new Random()orMath.random()used to generate keys or IVsarc4random()replaced byrand()or custom PRNG in security-critical iOS code- Static byte arrays used as IV:
byte[] iv = {0,0,0,0,...} SecretKeySpecinitialized directly from a string literal:new SecretKeySpec("hardcoded".getBytes(), "AES")- RSA without OAEP:
Cipher.getInstance("RSA/ECB/PKCS1Padding") - Key sizes below 128-bit (AES), 2048-bit (RSA), 256-bit (EC)
Methodology
- Static analysis — Android: Decompile APK with
jadxorapktool; search forCipher.getInstance,SecretKeySpec,MessageDigest,SecureRandom,Random() - Static analysis — iOS: Extract IPA; search Swift/ObjC source or binary strings for
CCCrypt,kCCAlgorithm,SecKey, hardcoded key strings - Identify algorithm strings — grep for
"DES","ECB","RC4","MD5","SHA-1"in decompiled code - Locate hardcoded key material — search for 16/32-byte hex strings, base64-encoded strings near crypto calls
- Check IV handling — look for static IV byte arrays or IVs derived from non-random sources
- Check key storage — verify keys are in Android Keystore / iOS Secure Enclave, not in SharedPreferences or NSUserDefaults
- Dynamic analysis — use Frida to hook
Cipher.doFinal()/CCCrypt()and log key, IV, and plaintext at runtime - Verify RNG — check that
SecureRandom(Android) andSecRandomCopyBytes(iOS) are used for all security-sensitive randomness
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.
- 2mo ago First seen · 127 lines · 132 tokens per session scan A 3bbdd7123961
mobile-weak-crypto is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 2mo ago), licensed MIT. It adds 132 tokens to every session and 1,875 once invoked, about $0.0005 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-09-27.
mobile-weak-crypto compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| mobile-weak-cryptoSecurityTalent/bugskill-ai | Skill | 13 | 2mo ago | MIT | A | 132 | Claude Code, Codex |
| user-research-cookiycookiy-ai/user-research-skill | Skill | 1.6k | 21d ago | MIT | A | 154 | Claude Code, Codex |
| playwright-best-practicescurrents-dev/playwright-best-practices-skill | Skill | 448 | 25d ago | MIT | A | 214 | Claude Code, Codex |
| email-marketing-bibleCosmoBlk/email-marketing-bible | Skill | 392 | 21d ago | MIT | A | 195 | Claude Code |
| globalpercentsimonlin1212/globalpercent | Skill | 79 | 1mo ago | Apache-2.0 | A | 134 | Claude Code, Codex |
| ui-ux-design-prosaifyxpro/ui-ux-design-pro-skill | Skill | 111 | 2mo ago | MIT | A | 117 | Claude Code |
| distribution-patternsgarrettw/php-arch-skills | Skill | 17 | 2d ago | MPL-2.0 | A | 91 | Claude Code, Codex |