ersinkoc/security-check/sc-data-exposure
Claude Code and agent skill by ersinkoc/security-check
- community
Checking that the SKILL.md file is still in the repository.
Sensitive data exposure detection — PII leaks, verbose errors, debug mode, and information disclosure
Install
npx vskill@latest install ersinkoc/security-check/sc-data-exposureSKILL.md
The same SKILL.md was published earlier as ersinkoc/security-check/sc-data-exposure.
SC: Sensitive Data Exposure
Purpose
Detects sensitive data exposure including PII in logs, stack traces in production responses, debug mode enabled in production, sensitive data in URLs, source maps deployed to production, exposed .git directories, backup files, and excessive data in API responses. Focuses on data leaving the application boundary unintentionally.
Activation
Called by sc-orchestrator during Phase 2. Always runs.
Phase 1: Discovery
Keyword Patterns to Search
Vulnerability Patterns
1. Stack Trace in Production:
2. PII in Logs:
3. Debug Mode in Production:
4. Excessive Data in API Response:
Severity Classification
- Critical: Production credentials in logs, PII bulk exposure, debug mode in production
- High: Stack traces revealing internals, .git exposure, sensitive API response data
- Medium: Source maps in production, verbose error messages, sensitive data in URLs
- Low: Server version headers, minor information disclosure
Output Format
Finding: EXPOSE-{NNN}
- Title: {Data exposure type}
- Severity: Critical | High | Medium | Low
- Confidence: 0-100
- File: file/path:line
- Vulnerability Type: CWE-200 (Information Disclosure) | CWE-209 (Error Message Information Leak) | CWE-532 (Log File Information Disclosure)
- Description: {What sensitive data is exposed and through what channel}
- Impact: Privacy violation, credential theft, attack surface mapping.
- Remediation: {Redact sensitive data, disable debug mode, remove source maps, configure error handling}
- References: https://cwe.mitre.org/data/definitions/200.html
Common False Positives
- Debug mode with env check —
DEBUG = os.getenv('DEBUG')properly controlled by environment - Log redaction in place — logging library configured to redact sensitive fields
- Development-only config — debug settings in files clearly scoped to development
- Test logging — verbose logging in test files
- Error handling middleware — custom error handler that catches and redacts before responding
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/sc-data-exposure/SKILL.md
Popularity
- Repository stars
- 46
- Repository forks
- 5
- 7-day trend score
- 19
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/ersinkoc/security-check/sc-data-exposure)