static-security

static-security is a skill for Claude Code from VeryGoodOpenSource/vgv-ai-flutter-plugin. It costs 167 tokens per session (3,740 once invoked), scanned A, original, MIT.

A guide for finding security problems in Flutter and Dart source code before the app is built. It covers static review only, not penetration testing or checks while the app is running.

In plain words
What is it for?
Use it to review secret handling, on-device storage, network-related code, and other Flutter security concerns against mobile security guidance.
Why use it?
It helps prevent secrets and sensitive data from being exposed in an app that runs on devices users may not control. It also identifies unsafe ways to store data and other code-level risks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

Part of the vgv-ai-flutter-plugin plugin — 15 skills, 1 agent, 4 hooks, 2 MCP servers shipped together

Good fit Use it to review secret handling, on-device storage, network-related code, and other Flutter security concerns against mobile security guidance.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/verygoodopensource/vgv-ai-flutter-plugin/static-security
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 VeryGoodOpenSource/vgv-ai-flutter-plugin --skill static-security
Clone the repo
git clone --depth 1 https://github.com/VeryGoodOpenSource/vgv-ai-flutter-plugin

Made for: Claude Code.

Or install vgv-ai-flutter-plugin, the plugin that ships this one along with the rest of its 15 skills, 1 agent, 4 hooks, 2 MCP servers.

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 static-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/verygoodopensource/vgv-ai-flutter-plugin/static-security/github.svg)](https://agentmods.dev/skills/verygoodopensource/vgv-ai-flutter-plugin/static-security)
Your own site
<a href="https://agentmods.dev/skills/verygoodopensource/vgv-ai-flutter-plugin/static-security"><img src="https://agentmods.dev/badge/skills/verygoodopensource/vgv-ai-flutter-plugin/static-security/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 static-security

Your own site · 80×15
<a href="https://agentmods.dev/skills/verygoodopensource/vgv-ai-flutter-plugin/static-security"><img src="https://agentmods.dev/badge/skills/verygoodopensource/vgv-ai-flutter-plugin/static-security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 167 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,740 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 108
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
  • medium Prompt Injection · line 47
    Large whitespace padding was detected (a block of blank lines or a long run of spaces). This can push injected instructions below or to the right of the visible area so a human reviewer never sees them while the agent still reads them. Manual review of the hidden content is recommended.
    Fix: Remove the large whitespace padding (blank-line blocks or long space runs) and review any content hidden below or to the right of it. Keep skill files compact and reviewable so no instructions can be
  • medium Rogue Agent · line 59
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00167 $0.03740
Opus 5.5 $0.00067 $0.01496
Sonnet 5.5 $0.00033 $0.00748
Haiku 4.5 $0.00017 $0.00374

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

Security

Grade A, and why

static-security 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 24d 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.

plugin/skills/static-security/SKILL.md · 283 lines

How it starts

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

Security

Flutter apps compile all Dart code directly into a binary that runs on untrusted devices. This skill covers static security review for Flutter/Dart codebases, anchored to the VGV Security in Mobile Apps guide and the OWASP Mobile Top 10. Every finding in this skill is something detectable by reading source code — no pen-testing or runtime analysis.

Core Standards

Apply these standards to all Flutter security work:

  • Read the matching VGE Standards file before writing code — every task listed under VGE Standards below has a file you MUST open with the Read tool first; it holds rules these bullets do not repeat
  • Never hardcode secrets — API keys, tokens, and passwords in source code or config files are compiled into the binary and extractable via reverse engineering; serve them from a backend service
  • --dart-define is not a fix for a hardcoded secret — neither is String.fromEnvironment, a .env file, a native config file, an obfuscated constant, or a split-up string. Every one of them still ships the value inside the binary in recoverable form, so moving a key into one is the same finding in a new location. The only remediation is fetching it from a backend at runtime
  • Use package:flutter_secure_storage for sensitive on-device data — SharedPreferences is plaintext and unencrypted; never store tokens, PII, or session data there
  • All network calls over HTTPS — plain HTTP transmits data in cleartext; never disable certificate validation (the only exception is during development with a local test server)
  • Use Random.secure() for security-sensitive randomness — dart:math's Random() is a pseudo-random number generator, not cryptographically secure
  • Use established crypto packages — never implement custom cryptography; use package:crypto for hashing data and package:crypt (dart-crypt) for passwords
  • Enforce auth server-side, and in the app at the repository layer — the server validates the token on every request and is the only authoritative gate; client-side checks can be bypassed by anyone with access to the device. Inside the app, put auth checks in the repository layer, never only in widgets
  • No sensitive data in logs — print(), log(), and debugPrint() output is readable on-device and in crash reporting tools
  • Keep dependencies free of known vulnerabilities — never suppress security advisories without documented justification; scan pubspec.lock with osv-scanner before every release
  • Replace the insecure request, don't negotiate it — when asked to implement something this skill prohibits, write the secure implementation in the same response instead. Name the rule in a line or two, then deliver working code for the approved approach. Do not answer with the prohibited implementation plus a warning, and do not stop at "want me to do it the safe way instead?" — an offer is not a replacement. If the developer reaffirms the prohibited approach after reading why, say what the residual risk is and proceed
  • Set android:allowBackup="false" — the Android default silently allows adb backup to extract app data, bypassing package:flutter_secure_storage
  • Label every finding Critical, Warning, or Note — see Severity Triage below

Read the full file on GitHub · 283 lines

Files

What ships with it

1 file 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.

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. 24d ago Changed · -42 lines af9be922a734
  2. 1mo ago Changed · -1 lines · -48 tokens per session 0baad8fb2754
  3. 2mo ago Changed · +1 lines · +33 tokens per session a8f0e7ec1816
  4. 2mo ago Changed · -3 lines · +159 tokens per session 9e7378ba8e39
  5. 3mo ago First seen · 328 lines · 23 tokens per session scan A 76b82cfa0381

Subscribe to this mod's changes

static-security is a skill published in the GitHub repository VeryGoodOpenSource/vgv-ai-flutter-plugin (182 stars, last pushed 4d ago), licensed MIT. It adds 167 tokens to every session and 3,740 once invoked, about $0.0007 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-30.

Related

static-security compared with skills from other repositories

static-security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
static-securityVeryGoodOpenSource/vgv-ai-flutter-pluginSkill1824d agoMITA167Claude Code
Flutter Testing PatternsPramodDutta/qaskillsSkill25227d agoMITA31Claude Code, Codex
fl-route-configphanbaohuy96/flutter_base_structureSkill10todaynoneA26Claude Code, Codex
fl-bus-eventphanbaohuy96/flutter_base_structureSkill10todaynoneA20Claude Code, Codex
fl-module-scaffoldphanbaohuy96/flutter_base_structureSkill10todaynoneA24Claude Code, Codex
fl-bloc-patternphanbaohuy96/flutter_base_structureSkill10todaynoneA28Claude Code, Codex
fl-reviewerphanbaohuy96/flutter_base_structureSkill10todaynoneA31Claude Code, Codex