flutter-security
Skill3 starsChanged 11 days agoMITView on GitHub
Secure Flutter token/PII storage, build-time secrets, network trust, and release hardening using OWASP Mobile practices. Use for secure storage, secret injection, certificate pinning, jailbreak/root risk, or release builds—not generic form validation, API error handling, auth-provider setup, or tests of existing security services.
- Reads credentials
5 other projects use a version of this.
Adopted by
Most recently taken up by
- dhruvanbhalara/skillstheir own version, first seen Nov 29, 2026
- cindovahq/security-skillstheir own version, first seen Nov 8, 2026
- thienqo/flutter-skillstheir own version, first seen Nov 1, 2026
- ashrafiucse/security-audit-skillstheir own version, first seen Oct 13, 2026
- thiennc-tesoglobal/flutter-skillstheir own version, first seen Aug 30, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- dhruvanbhalara/skills★ 30same name
- thiennc-tesoglobal/flutter-skills★ 21same name
- thienqo/flutter-skills★ 21same name
- ashrafiucse/security-audit-skills★ 2same name
- cindovahq/security-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- verify-skillsmithSkill
- flutter-ci-debuggingSkill
- gcp-cloud-run-opsSkill
- project-factorySkill
- skill-auditSkill
- skill-pack-installerSkill
- skill-syncSkill
- skill-update-checkSkill
- skill-vetterSkill
- flutter-error-handlingSkill
- flutter-performanceSkill
- flutter-testingSkill
- better-motionSkill
- better-uiSkill
- emil-design-engSkill
- ui-ux-pro-maxSkill
- feature-forgeSkill
- platform-pipelineSkill
The file
We split this skill into the rules it gives an agent
3 rules. 0 are common, 0 are distinctive, and 3 are very specific to this project.
0
Common
Most of the 5 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 41
No Secrets in SharedPreferences: Use flutter_secure_storage for tokens and PII
- Very specific: line 42
No Hardcoded API Keys: Use --dart-define or secure vaults for all secrets
- Very specific: line 43
No Unobfuscated Releases: Always build with --obfuscate --split-debug-info
“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Mobile Security
Priority: P0 (CRITICAL)
Implementation Workflow
- Store secrets securely — Use
flutter_secure_storagefor tokens/PII. Never useshared_preferencesfor sensitive data. - Externalize secrets — Never store API keys in Dart code. Use
--dart-defineor.envfiles. - Obfuscate releases — Build
--obfuscate --split-debug-info=./symbols. Deterrent only — move sensitive logic to backend. - Pin certificates —
dio_certificate_pinningfor high-security apps to prevent MITM. - Root detection —
flutter_jailbreak_detectionfor root/jailbreak checks in financial/sensitive apps. - Mask PII — Redact PII (email, phone) from all logs and analytics.
Secure Storage & Release Build Examples
See implementation examples for secure storage usage and obfuscated release build commands.
Reference & Examples
SSL Pinning & Secure Storage: references/REFERENCE.md.
Anti-Patterns
- No Secrets in SharedPreferences: Use
flutter_secure_storagefor tokens and PII - No Hardcoded API Keys: Use
--dart-defineor secure vaults for all secrets - No Unobfuscated Releases: Always build with
--obfuscate --split-debug-info - No PII in Logs: Mask or omit sensitive data from all logs and analytics events
Related Topics
common/security-standards | layer-based-clean-architecture | performance
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

