Secure development checklist and decision framework

· Tech

A quick-reference companion to the series on secure local development.

Decision framework: what goes where

1Password: human credentials only

Website logins, 2FA TOTP codes, SSH keys (via 1Password SSH agent), credit card numbers, secure notes, software license keys, Wi-Fi passwords, and identity documents.

Infisical: application and development secrets

Database connection strings, API keys (Stripe, SendGrid, Cloudflare, etc.), JWT secrets and session secrets, OAuth client secrets, encryption keys, service-to-service tokens, third-party SDK credentials, and any value that appears in your app’s environment.

Docker Compose: development runtime

Runs your application code with secrets injected by Infisical. The app containers see environment variables. The host filesystem never contains secret values. Hot-reload works via volume-mounted source code.

Docker sandbox: AI agent workspace

Contains only source code and the agent’s own API key. Zero access to runtime secrets. All AI-generated changes are tested in the separate Docker Compose stack where real secrets exist.

Summary matrix

Secret typeStorageAccess methodAI agent can see?
Website passwords1PasswordBrowser extensionNo
2FA codes1PasswordApp / autofillNo
SSH keys1Password SSH agentAgent forwardingNo
Database credentialsInfisicalinfisical run → Docker envNo
API keysInfisicalinfisical run → Docker envNo
JWT/session secretsInfisicalinfisical run → Docker envNo
EAS Build secretsInfisicalinfisical run → eas buildNo
Public env varsdocker-compose.ymlHardcoded in compose fileYes (safe)
EXPOPUBLIC* varsHost shell / app.config.tsExpo CLI on hostYes (safe, public by design)
Source codeGitVolume mountYes (intended)
.env.exampleGitCommitted with placeholdersYes (safe)
API responsesDev API containerhost.docker.internal:3333Yes (intended, no secrets in responses)
Terraform secretsInfisicalTerraform provider + ephemeral resourcesNo (never in state files)

Security hardening checklist

Files that must never exist on disk

Git safety

AI agent isolation

Expo / React Native

Infisical configuration

macOS system security and host tools

Docker security

Incident preparedness

Team (when applicable)