Complete AI Training
Start for Free

Your job's AI kit

Get your AI kit

Tell us who you are and what you do. We show you your kit right away and email you the link: skills, prompts, AI agents, MCP servers and courses for your job.

500+ jobs ready, and we make a kit for any other job. No payment needed to look.

Share

AI news ·

Claude Code Approval Files Expose Thousands of Secrets

Claude Code’s persistent approval setting can write secrets like API keys into plaintext project files, risking exposure if the repository is shared.

Researchers identified a security risk in Claude Code’s persistent approval setting. When enabled, the feature can write full command strings into plaintext project files. Those files may contain hardcoded credentials, API keys, or other secrets. If the repository is then shared or made public, the exposed data becomes accessible to anyone with access to the codebase.

The finding affects teams across customer support, healthcare, insurance, legal, IT, and product development where agent-generated configuration files are committed without review. The plaintext storage means standard repository sharing workflows can inadvertently distribute sensitive credentials outside the organization.

Organizations are advised to implement secret scanning on all repositories, enforce least-privilege tool access for AI coding agents, and require explicit human review of agent-generated configuration files before they are committed or shared.

Share