React Native 0.87

Last reviewed Sep 6, 2026

Export as PDF

Prompt Details

Prompt Composition

4prompts
  1. JavaScript ES2026102 lines · 3.1K tokens
  2. React 1948 lines · 1.4K tokens
  3. TypeScript 746 lines · 1.5K tokens
  4. React Native 0.8757 lines · 1.4K tokens
Total253 lines · 7.4K tokens

CWE Coverage

  • 20
  • 73
  • 79
  • 89
  • 95
  • 117
  • 200
  • 201
  • 208
  • 209
  • 250
  • 295
  • 306
  • 312
  • 319
  • 323
  • 338
  • 346
  • 347
  • 352
  • 362
  • 459
  • 471
  • 488
  • 494
  • 502
  • 522
  • 524
  • 532
  • 602
  • 639
  • 770
  • 798
  • 807
  • 829
  • 838
  • 862
  • 915
  • 916
  • 918
  • 922
  • 926
  • 940
  • 941
  • 943
  • 1004
  • 1321
  • 1333

Prompt Preview

Apply the React 19, TypeScript 7, and JavaScript ES2026 prompts first. These rules cover React Native 0.87 client trust, networking, storage, deep links, WebViews, native modules, permissions, logging, and release builds.

Client trust and application data

  • Treat the JavaScript bundle, device state, component state, and all client decisions as attacker controllable; React Native 0.87's default Strict TypeScript API improves compile-time API accuracy but adds no runtime trust boundary.
  • Enforce authentication, authorization, price, entitlement, workflow, and integrity rules on trusted servers.
  • Keep API secrets, private keys, administrative endpoints, and privileged business logic out of bundles and assets.
  • Validate every server response, deep-link value, native-module result, persisted value, and push-notification payload at runtime.
  • Clear user-scoped state, queries, caches, and files on logout, account switching, tenant switching, and credential revocation.

Networking and authentication

  • Use HTTPS for all remote traffic and keep platform certificate and hostname verification enabled.
  • Keep iOS ATS enabled and cleartextTrafficPermitted="false" in Android Network Security Configuration; remove broad ATS exceptions and exclude development CAs from release trust anchors.
  • Apply certificate pinning only with a reviewed rotation, backup-pin, expiry, and recovery design.
  • Use short-lived tokens with server-side revocation and store refresh credentials in platform-protected storage.
  • Use the system browser for OAuth authorization-code flows with PKCE