dragonked2/alphacode/hunt-apikey-leak

Claude Code and agent skill by dragonked2/alphacode

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

API key/secret detection — JS bundles, source code, config files, error messages, backup files. Must demonstrate sensitive capability impact.

Install

npx vskill@latest install dragonked2/alphacode/hunt-apikey-leak

SKILL.md

API KEY LEAK HUNTING — 3 BULLETS MAX

Core: Exposed keys are only vulnerabilities if they provide sensitive capability.

DETECTION

bash
# JS bundles
katana -u target.com -d 3 -jc | grep "\.js$" | xargs -I{} curl -s {} | grep -oiE "(api[_-]?key|secret|token|password|authorization|bearer|oauth|jwt|private[_-]?key)['\"]?\s*[:=]\s*['\"][^'\"]+['\"]"
# Config files
for f in .env config.yml config.json docker-compose.yml .git/config .htaccess web.config; do
curl -s "https://target.com/$f" | head -5
done
# Source code leaks
curl -s "https://target.com/.git/HEAD" # Git repo exposed
curl -s "https://target.com/.env" | grep -iE "key|secret|token|password"
# Error messages
curl -s "https://target.com/api/error" | grep -iE "key|token|secret|password"
# Backup files
for f in backup.zip source.zip db.sql database.sql dump.sql; do
code=$(curl -s -o /dev/null -w "%{http_code}" "https://target.com/$f")
[ "$code" != "404" ] && echo "[+] $f → $code"
done

IMPACT ASSESSMENT

AWS key → test: aws sts get-caller-identity → Critical if admin
Stripe key → test: create $0.10 charge → Critical if production
SendGrid key → test: send email → High
GitHub token → test: list repos → High if private repos
Database URL → connect to DB → Critical
JWT secret → forge tokens → Critical
OAuth client_secret → impersonate app → High

CHAINS

API key → cloud access → infrastructure compromise → Critical
OAuth secret → impersonate app → ATO → Critical
JWT secret → forge admin tokens → Critical
Database URL → mass data exfil → Critical

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/dragonked2/alphacode/hunt-apikey-leak/badge)](https://verified-skill.com/skills/dragonked2/alphacode/hunt-apikey-leak)

Something wrong with this skill or its page? Tell us.