Insecure nsuserdefaults

From zakirkun/ice-tea · View interactive version

Insecure nsuserdefaults is an AI agent skill from the GitHub repository zakirkun/ice-tea. Detects storage of sensitive information in NSUserDefaults which is unencrypted and accessible in device backups.

How to use this skill

Skill file

Sensitive Data in NSUserDefaults

Overview

NSUserDefaults stores data in a plaintext plist file in the app's Library directory. This data:

Sensitive data such as auth tokens, passwords, or PII must never be stored in NSUserDefaults.

Remediation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.