mobile-code-quality

mobile-code-quality is a skill for Claude Code, Codex from SecurityTalent/bugskill-ai. It costs 132 tokens per session (1,960 once invoked), scanned A, original, MIT.

A mobile-app code security check for Android and iOS that finds unsafe input handling, outdated APIs, risky object loading, and weak native-code protections. It covers app code, embedded web pages, and native libraries.

In plain words
What is it for?
Use it to inspect SQLite queries, WebViews, serialized data, JNI or other native code, compiler protections, and dependencies with known security flaws.
Why use it?
It helps reveal ways crafted input could trigger database injection, script injection, unsafe object handling, or memory-corruption exploits. These problems can let an attacker run unwanted actions or code inside the app.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

Good fit Use it to inspect SQLite queries, WebViews, serialized data, JNI or other native code, compiler protections, and dependencies with known security flaws.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/securitytalent/bugskill-ai/mobile-code-quality
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 SecurityTalent/bugskill-ai --skill mobile-code-quality
Clone the repo
git clone --depth 1 https://github.com/SecurityTalent/bugskill-ai

Made for: Claude Code, Codex.

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-code-quality

README.md
[![agentmods](https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/mobile-code-quality/github.svg)](https://agentmods.dev/skills/securitytalent/bugskill-ai/mobile-code-quality)
Your own site
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/mobile-code-quality"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/mobile-code-quality/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-code-quality

Your own site · 80×15
<a href="https://agentmods.dev/skills/securitytalent/bugskill-ai/mobile-code-quality"><img src="https://agentmods.dev/badge/skills/securitytalent/bugskill-ai/mobile-code-quality.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 132 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,960 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.00132 $0.01960
Opus 5.5 $0.00053 $0.00784
Sonnet 5.5 $0.00026 $0.00392
Haiku 4.5 $0.00013 $0.00196

Measured 20d ago against content hash eb38385d0976, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mobile-code-quality 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 20d 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.

Awesome-Claude-Code-Agent-Skills/07-Mobile-and-Smart-Contracts/mobile-code-quality/SKILL.md · 157 lines

How it starts

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

Mobile Code Quality

What Is Broken and Why

Mobile code quality vulnerabilities arise from using deprecated/unsafe APIs, failing to validate input from local storage or IPC, insecure object deserialization, and shipping with exploitable native code. SQL injection via string-concatenated SQLite queries is common. WebViews that load arbitrary URLs without scheme/host validation allow navigation to attacker-controlled content. Java/Kotlin deserialization of untrusted Parcelables or ObjectInputStream can lead to type confusion and arbitrary code execution. Native code (JNI/NDK) compiled without stack canaries, PIE, or NX creates exploitable memory corruption conditions.

Key Signals

  • rawQuery("SELECT * FROM users WHERE id='" + userInput + "'") — string-concatenated SQL
  • webView.loadUrl(intent.getStringExtra("url")) — unvalidated URL load
  • ObjectInputStream.readObject() on data from Intent extras or ContentProvider
  • NSKeyedUnarchiver.unarchiveObject(with:) without class whitelist (iOS < 12)
  • Native library without PIE: checksec --file=libapp.so shows No PIE
  • Gradle implementation dependency with published CVE in OSS Index
  • targetSdkVersion below 30 — misses numerous security improvements
  • Implicit Intent used to send sensitive data: sendBroadcast(Intent("ACTION")) without package target
  • No version check / forced update mechanism — vulnerable older versions remain in production

Methodology

SQL Injection:

  1. Identify SQLite query construction in decompiled code — search for rawQuery, execSQL with + concatenation
  2. Trace input sources: Intent extras, ContentProvider queries, user input fields
  3. Test: inject ' OR '1'='1 via deep link parameter or IPC

WebView URL loading:

  1. Find all webView.loadUrl() / WKWebView.load(URLRequest) calls
  2. Trace the URL source — does it come from user input, Intent, or remote config?
  3. Inject javascript: or file:// scheme payloads

Deserialization:

  1. Search for ObjectInputStream, Parcel.readValue, NSKeyedUnarchiver in source
  2. Check if input is from untrusted source (Intent extras, network, files)
  3. Attempt to pass crafted gadget chain via Intent Parcelable extra

Read the full file on GitHub · 157 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. 20d ago First seen · 157 lines · 132 tokens per session scan A eb38385d0976

Subscribe to this mod's changes

mobile-code-quality is a skill published in the GitHub repository SecurityTalent/bugskill-ai (13 stars, last pushed 21d ago), licensed MIT. It adds 132 tokens to every session and 1,960 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.

Related

Other skills, from other repositories

user-research-cookiy

End-to-end user research assistant — qualitative and quantitative. Use this skill whenever the user mentions user research, user interviews, discussion guides, interview guides, research plans, qualitative research, quantitative research, user surveys, survey design, usability studies, participant recruitment…

cookiy-ai/user-research-skill · 154 tokens

email-marketing-bible

Email marketing operating manual for AI agents, with hard send-safety gates. Use when someone plans, writes, designs, audits or sends an email campaign, newsletter, welcome series, abandoned-cart, post-purchase or win-back flow; builds a list or segment; drives Klaviyo, Mailchimp, Brevo, Kit or any ESP through MCP, an…

CosmoBlk/email-marketing-bible · 195 tokens

globalpercent

GlobalPercent — build a global-macro-probability panel for an investment research system. Merges public probability data from prediction markets (Polymarket + Kalshi), classifies every market into macro modules (monetary policy / macro economy / AI / etc.), and shows the whole market's expected-probability state at a…

simonlin1212/globalpercent · 134 tokens

ui-ux-design-pro

Senior-level UI/UX design expert for building data-driven, premium production interfaces. Use when you need to: 1. Design complex applications (dashboards, SaaS, AI tools) from scratch 2. Generate comprehensive design systems (tokens, palettes, typography) 3. Audit existing UI for quality, accessibility, and "craft"…

saifyxpro/ui-ux-design-pro-skill · 117 tokens

playwright-best-practices

Use when writing Playwright tests, fixing flaky tests, debugging failures, implementing Page Object Model, configuring CI/CD, optimizing performance, mocking APIs, handling authentication or OAuth, testing accessibility (axe-core), file uploads/downloads, date/time mocking, WebSockets, geolocation, permissions…

currents-dev/playwright-best-practices-skill · 214 tokens

open-map-stack

Use textual agent instructions for GIS and geospatial work: source discovery and provenance, vector/raster/point-cloud pipelines, CRS and metric analysis, spatial SQL, routing and isochrones, QGIS projects, tile generation, and web maps. Use advanced tools and formats such as OSM, Overture, STAC, Sentinel/Landsat…

jaakla/openmapstack · 173 tokens