
Capsec scans your Capacitor or Ionic app for 63+ security issues across secrets, storage, network config, and platform-specific vulnerabilities. Run npx capsec scan with zero setup, and it flags everything from hardcoded API keys to disabled certificate pinning to Android debug mode left on in production. The HTML reports are clean, the CI mode exits dirty on critical finds, and the fixes are concrete (swap Preferences for NativeBiometric, lock down AndroidManifest cleartext settings). It's basically a linter for the OWASP Mobile Top 10, tuned specifically for Capacitor's quirks. If you're shipping a mobile app that touches real user data, run this before your security team does.
$ npx -y skills add cap-go/capacitor-skills --skill capacitor-security --agent claude-codeInstalls into .claude/skills of the current project.
Audit and harden the app layer of a Capacitor app: secrets in the bundle, on-device storage, network transport, WebView and native bridge exposure, and platform manifests.
TRIGGER when:
@capgo/capgo-sec (capsec) results, rule IDs such as SEC001, STO002, NET003, CAP004, AND004, IOS001..env values appear in src/, dist/, www/, or capacitor.config.*.Preferences.set, localStorage, IndexedDB, or plain SQLite.capacitor.config.* contains server.cleartext: true, server.url, broad server.allowNavigation, android.allowMixedContent, or webContentsDebuggingEnabled: true.NSAllowsArbitraryLoads, android:usesCleartextTraffic="true", android:allowBackup="true", android:debuggable, or exported components without permissions.Sponsors