flutter-secure-storage-security-engineering

flutter-secure-storage-security-engineering is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 123 tokens per session (3,982 once invoked), scanned A, original, MIT.

Security engineering guidance for storing small sensitive values in Flutter with flutter_secure_storage. It addresses platform-provided protected storage such as Android Keystore and Apple Keychain, rather than databases or server vaults.

In plain words
What is it for?
Use it to design, review, migrate, test, and troubleshoot persistent access tokens, refresh tokens, session credentials, and private keys across Flutter platforms.
Why use it?
It helps reduce mistakes when persisting tokens, credentials, and encryption keys, including unsafe backups, logout behavior, migration failures, and incorrect assumptions about protection.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to design, review, migrate, test, and troubleshoot persistent access tokens, refresh tokens, session credentials, and private keys across Flutter platforms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/flutter-secure-storage-security-engineering
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 ariaramin/flutter-skills --skill flutter-secure-storage-security-engineering
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

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 flutter-secure-storage-security-engineering

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/flutter-secure-storage-security-engineering"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/flutter-secure-storage-security-engineering.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,982 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.00123 $0.03982
Opus 5.5 $0.00049 $0.01593
Sonnet 5.5 $0.00025 $0.00796
Haiku 4.5 $0.00012 $0.00398

Measured 1mo ago against content hash 9b2da0e71844, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

flutter-secure-storage-security-engineering 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 1mo 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.

skills/flutter-secure-storage-security-engineering/SKILL.md · 484 lines

How it starts

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

Flutter Secure Storage Security Engineering

Mission

Use flutter_secure_storage as a narrow persistence boundary for small sensitive values whose persistence is justified. Never treat it as:

  • a general database;
  • an authentication system;
  • a server-side secret vault;
  • proof of confidentiality on a fully compromised runtime;
  • automatic biometric protection;
  • automatic token revocation;
  • a substitute for backend authorization. Optimize in this order:
  1. Correct data classification.
  2. Security and recoverability.
  3. Lifecycle correctness.
  4. Migration safety.
  5. Platform correctness.
  6. Testability.
  7. Performance.
  8. Maintainability.

Reference Routing

Load only what the task requires:

  • Read references/01-foundations-storage-api.md for the threat model, storage selection, architecture, package setup, key naming, environment separation, core API semantics, and storage-medium decisions.
  • Read references/02-platform-backends.md for Android, iOS, macOS, Web, Linux, and Windows implementation/configuration details.
  • Read references/03-credentials-keys-migrations.md for access/refresh tokens, session memory, logout, account switching, database/private keys, migrations, recovery, concurrency, logging, and runtime-secret handling.
  • Read references/04-performance-testing-debugging.md for performance, startup, DI/Bloc integration, tests, platform integration tests, debugging, and observability.
  • Read references/05-antipatterns-workflows-checklists.md for anti-patterns, implementation/review/refactoring workflows, platform checklists, and production release gates. Use the bundled references as the authoritative basis for this skill. Do not silently replace their version-sensitive behavior with remembered package behavior.

Security Model

Start every task with this distinction:

Secret at rest
↓
flutter_secure_storage
↓
platform security mechanism
↓
improved resistance to local extraction
Secret being actively used
↓
application memory/runtime
↓
different threat boundary

A value encrypted at rest can still be exposed through:

  • runtime instrumentation;
  • debugger or memory inspection;
  • malicious code in-process;
  • logging or crash metadata;
  • UI/clipboard exposure;
  • same-origin XSS on Web;
  • unsafe network/application logic. Do not claim absolute secrecy on rooted, jailbroken, privileged, or otherwise compromised clients.

Read the full file on GitHub · 484 lines

Files

What ships with it

5 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.

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. 1mo ago First seen · 484 lines · 123 tokens per session scan A 9b2da0e71844

Subscribe to this mod's changes

flutter-secure-storage-security-engineering is a skill published in the GitHub repository ariaramin/flutter-skills (11 stars, last pushed 23d ago), licensed MIT. It adds 123 tokens to every session and 3,982 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-10-11.

Related

flutter-secure-storage-security-engineering compared with skills from other repositories

flutter-secure-storage-security-engineering next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
flutter-secure-storage-security-engineeringariaramin/flutter-skillsSkill1123d agoMITA123Claude Code, Codex
omh-apple-designrlaope/oh-my-hermesSkill6.2ktodayMITA21Claude Code
platform-conventionsOwl-Listener/designer-skillsSkill3.5k11d agoMITA55Claude Code, Codex
redteam-mobile-detail-packNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA57Claude Code, Codex
android-pentestNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA32Claude Code, Codex
offline-syncWrongStack/WrongStackSkill444todayMITA85Claude Code, Codex
flutter-mobileWrongStack/WrongStackSkill444todayMITA86Claude Code