security-reactnative

security-reactnative is a skill for Claude Code from TheBeardedBearSAS/claude-craft. It costs 29 tokens per session (355 once invoked), scanned A, original, MIT.

A security guide for React Native 0.85+ mobile apps, covering native storage, HTTPS, secure modules, deep links, and WebViews. React Native is a framework for building iOS and Android apps with JavaScript and native components.

In plain words
What is it for?
Use it when reviewing or hardening React Native authentication, secret storage, networking, native modules, deep links, or WebViews.
Why use it?
It helps protect tokens, network traffic, native calls, navigation links, and embedded web content from common mobile risks.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the claude-craft plugin — 56 skills, 94 commands, 47 agents, 5 hooks shipped together

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.

agentmods
npx agentmods add skills/thebeardedbearsas/claude-craft/security-reactnative
Any agent
npx skills add TheBeardedBearSAS/claude-craft --skill security-reactnative
Clone the repo
git clone --depth 1 https://github.com/TheBeardedBearSAS/claude-craft

Made for: Claude Code.

Or install claude-craft, the plugin that ships this one along with the rest of its 56 skills, 94 commands, 47 agents, 5 hooks.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/security-reactnative.svg)](https://agentmods.dev/skills/thebeardedbearsas/claude-craft/security-reactnative)
Your own site
<a href="https://agentmods.dev/skills/thebeardedbearsas/claude-craft/security-reactnative"><img src="https://agentmods.dev/badge/skills/thebeardedbearsas/claude-craft/security-reactnative.svg" alt="Measured on agentmods" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 355 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00029 $0.00355
Opus 5 $0.00015 $0.00178
Sonnet 5 $0.00006 $0.00071
Haiku 4.5 $0.00003 $0.00036

Measured 2d ago against content hash 5e2c2bff8b8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

security-reactnative 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 2d 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.

.claude/skills/security-reactnative/SKILL.md · 33 lines

What it actually says

Security - React Native 0.85+ Best Practices

Ce skill fournit les bonnes pratiques de sécurité pour React Native 0.85+ avec la New Architecture.

Principes clés

  • Sécurité native : Keychain (iOS) / Keystore (Android) pour les secrets sensibles (pas AsyncStorage)
  • HTTPS uniquement : ATS (iOS) et Network Security Config (Android) strictes
  • JSI synchrone : validation côté natif des appels TurboModules
  • Expo SecureStore : abstraction sécurisée cross-platform pour les tokens

Spécificités React Native 0.85+

  • TurboModules sécurisés : validation des inputs côté natif avant traitement JSI
  • Bridge legacy supprimé : pas de risques de sérialisation JSON vulnérable
  • Fabric : rendu natif isolé du thread JS (limite les injections UI)
  • Hermes obligatoire : bytecode natif (protection contre le reverse engineering du bundle JS)

Anti-patterns critiques

  • ❌ Stocker des tokens dans AsyncStorage (plaintext)
  • ❌ HTTP non sécurisé en production
  • ❌ Code PIN/biométrie sans SecureStore
  • ❌ Deep links non validés (injection de navigation)
  • ❌ WebView sans validation de l'origine

Sources : OWASP Mobile Top 10, RN Security Best Practices

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. 2d ago First seen · 33 lines · 29 tokens per session scan A 5e2c2bff8b8e

Subscribe to this mod's changes

security-reactnative is a skill published in the GitHub repository TheBeardedBearSAS/claude-craft (105 stars, last pushed 3d ago), licensed MIT. It adds 29 tokens to every session and 355 once invoked, about $0.0001 per session on Opus 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-03.

Related

Other skills, from other repositories

android-development

Android development with Kotlin, Jetpack Compose, and modern Android architecture. Use when building Android apps, implementing Material Design, or following Android best practices.

travisjneuman/.claude · 33 tokens

flutter-development

Cross-platform development with Flutter and Dart for iOS, Android, Web, Desktop, and embedded. Use when building Flutter apps, implementing Material/Cupertino design, or optimizing Dart code.

travisjneuman/.claude · 41 tokens

ios-development

Comprehensive guide for building native Apple platform applications.

travisjneuman/.claude · 43 tokens

kotlin-multiplatform

KMP/CMP shared business logic, Compose Multiplatform, expect/actual, Ktor, SQLDelight, and platform-specific implementations. Use when building cross-platform Kotlin applications for Android, iOS, desktop, or web.

travisjneuman/.claude · 54 tokens

react-native-performance-reviewer

Review React Native and Expo Go code changes for mobile performance, memory usage, CPU pressure, battery impact, network efficiency, and behavior under stressful real-world conditions. Use when reviewing apps/mobile, libs/ shared with Expo, or any React Native component, hook, navigation flow, screen, Expo module, API…

conectlens/lenserfight · 209 tokens

mobile-app-designer

Use when designing or refining Expo Go React Native screens in apps/mobile, with separate iOS and Android considerations, to keep the UI minimalist, performant, and aligned with the shared native design system.

conectlens/lenserfight · 44 tokens