information-leakage-hardcoded-secrets-ai-code

27

Understand how AI-generated code exposes sensitive information through hardcoded credentials and verbose logging. Use this skill when you need to learn about hardcoded secrets in AI code, understand logging vulnerabilities, recognize exposed API keys, or prevent information disclosure. Triggers include "hardcoded credentials", "hardcoded secrets", "API keys in code", "information leakage", "verbose logging", "exposed secrets", "AWS keys", "logging vulnerabilities", "sensitive data logs".

Third-Party Agent Skill: Review the code before installing. Agent skills execute in your AI assistant's environment and can access your files. Learn more about security

Installation for Agentic Skill

View all platforms →
skilz install harperaa/secure-claude-skills/information-leakage-hardcoded-secrets-ai-code
skilz install harperaa/secure-claude-skills/information-leakage-hardcoded-secrets-ai-code --agent opencode
skilz install harperaa/secure-claude-skills/information-leakage-hardcoded-secrets-ai-code --agent codex
skilz install harperaa/secure-claude-skills/information-leakage-hardcoded-secrets-ai-code --agent gemini

First time? Install Skilz: pip install skilz

Works with 22+ AI coding assistants

Cursor, Aider, Copilot, Windsurf, Qwen, Kimi, and more...

View All Agents
Download Agent Skill ZIP

Extract and copy to ~/.claude/skills/ then restart Claude Desktop

1. Clone the repository:
git clone https://github.com/harperaa/secure-claude-skills
2. Copy the agent skill directory:
cp -r secure-claude-skills/security-awareness/information-leakage ~/.claude/skills/

Need detailed installation help? Check our platform-specific guides:

Related Agentic Skills

Agentic Skill Details

Type
Non-Technical
Meta-Domain
general
Primary Domain
general
Sub-Domain
aws logs logging
Market Score
27

Report Security Issue

Found a security vulnerability in this agent skill?