meta/agents/security-agent/skills/03-credential-audit/SKILL.md
Scan all project files for exposed secrets, tokens, and credentials — including git history
npx skillsauth add abzhaw/juliaz_agents credential-auditInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Secrets leak in three ways: hardcoded in source files, committed to git history, or accidentally written to log files. This skill catches all three.
.ts, .js, .json, .yml, .yaml, .sh, .env* filesnode_modules/, .git/, dist/.env files ever committed to git.env.secrets should be 600 (owner read/write only)start-system.sh should be 700sk-[a-zA-Z0-9]{32,} # OpenAI API key
AIza[0-9A-Za-z_-]{35} # Google API key
[0-9]{10}:[A-Za-z0-9_-]{35} # Telegram bot token
op_[a-zA-Z0-9]{32,} # 1Password service token
password\s*=\s*["'][^"']+["'] # Hardcoded password
# Scan for common secret patterns
grep -rE "(sk-|AIza|password\s*=|token\s*=|secret\s*=)" \
/Users/raphael/juliaz_agents \
--include="*.ts" --include="*.js" --include="*.sh" --include="*.yml" \
--exclude-dir=node_modules --exclude-dir=.git --exclude-dir=dist \
-l 2>/dev/null
# Check if .env files were ever committed
git -C /Users/raphael/juliaz_agents log --all --full-history -- "**/.env*" 2>/dev/null
# Check file permissions
stat -f "%Sp %N" /Users/raphael/juliaz_agents/.env.secrets 2>/dev/null
| Finding | Severity | |---------|----------| | API key in source file | 🔴 Critical | | Secret in git history | 🔴 Critical | | Secret in log file | 🟠 High | | .env file world-readable | 🟠 High | | Suspicious pattern (possible token) | 🟡 Medium |
CREDENTIAL AUDIT
✅ No secrets found in source files
🔴 Telegram token found in orchestrator/logs/pm2-out.log (line 245)
⚠️ .env.secrets permissions: 644 (should be 600)
development
Fortschrittsverfolgung der Masterarbeit. Wortanzahl pro Kapitel, Fertigstellungsgrad, fehlende Elemente, Deadlines. Haelt den Ueberblick.
development
Kapitelarchitektur und Gliederung der Masterarbeit. Verwaltet die Struktur, schlaegt vor wo Inhalte hingehoeren, validiert den logischen Fluss zwischen Kapiteln.
tools
Konvertiert Protokolleinträge und Session-Logs in thesis-fähiges deutsches Narrativ. Transformiert Entwicklungsdokumentation in akademische Prosa.
research
Sucht und analysiert akademische Literatur. Findet relevante Papers, erstellt strukturierte Zusammenfassungen. Zitiert NIEMALS — schlaegt nur vor.