{"id":45881586,"url":"https://github.com/0xbigshaq/firepwn-tool","last_synced_at":"2026-02-27T14:01:13.298Z","repository":{"id":43051162,"uuid":"278937126","full_name":"0xbigshaq/firepwn-tool","owner":"0xbigshaq","description":"Firepwn is a tool made for testing the Security Rules of a firebase application. ","archived":false,"fork":false,"pushed_at":"2026-02-26T23:07:06.000Z","size":5328,"stargazers_count":626,"open_issues_count":1,"forks_count":40,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-02-27T05:37:16.369Z","etag":null,"topics":["firebase","firebase-database","firebase-pentest","firebase-security","firestore"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/0xbigshaq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-11T20:30:45.000Z","updated_at":"2026-02-26T23:07:11.000Z","dependencies_parsed_at":"2022-09-05T14:21:04.738Z","dependency_job_id":null,"html_url":"https://github.com/0xbigshaq/firepwn-tool","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/0xbigshaq/firepwn-tool","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbigshaq%2Ffirepwn-tool","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbigshaq%2Ffirepwn-tool/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbigshaq%2Ffirepwn-tool/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbigshaq%2Ffirepwn-tool/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/0xbigshaq","download_url":"https://codeload.github.com/0xbigshaq/firepwn-tool/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/0xbigshaq%2Ffirepwn-tool/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29898808,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T12:09:13.686Z","status":"ssl_error","status_checked_at":"2026-02-27T12:09:13.282Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["firebase","firebase-database","firebase-pentest","firebase-security","firestore"],"created_at":"2026-02-27T14:01:02.229Z","updated_at":"2026-02-27T14:01:13.292Z","avatar_url":"https://github.com/0xbigshaq.png","language":"TypeScript","funding_links":[],"categories":["firebase"],"sub_categories":[],"readme":"# firepwn\n\nA tool for testing Firebase Security Rules by simulating real client SDK behavior. Unlike most Firebase pentest scripts that rely on the [REST API](https://firebase.google.com/docs/reference/rest/database), firepwn uses the actual Firebase Client SDK to test both **authentication** and **authorization** across multiple Google services.\n\n\n## Features\n\n### Firebase Initialization\n\nConfigure a target project by entering its `firebaseConfig` values (`apiKey`, `authDomain`, `databaseURL`, `projectId`, `storageBucket`). Supports both individual form fields and pasting a raw JSON/JS config object.\n\n![./screenshots/init-form.png](./screenshots/init-form.png)\n\n### Authentication\n\nSupports multiple [Firebase Authentication](https://firebase.google.com/products/auth) methods:\n\n- **Email/Password** - sign in with existing credentials or register a new account\n\n![./screenshots/auth-1.png](./screenshots/auth-1.png)\n\n- **Google OAuth** - paste an `oauthIdToken` captured from the target app's sign-in flow (e.g. from browser DevTools) to assume a Google session\n\n![./screenshots/auth-2-o.png](./screenshots/auth-2-o.png)\n\n- **MFA (SMS)** - complete multi-factor authentication challenges with SMS verification codes\n\n\n### Firestore Database\n\nFull CRUD operations on Firestore:\n\n- **Get** - with document limit, sort order, and query filters (`==`, `\u003c`, `\u003c=`, `\u003e`, `\u003e=`, `array-contains`, `in`)\n- **Set** - create documents or overwrite existing ones (with optional merge mode)\n- **Update** - modify specific fields in existing documents\n- **Delete** - remove documents\n\n![./screenshots/firestore-get.png](./screenshots/firestore-get.png)\n\nSupports nested collections/subcollections.\n\n### Cloud Storage\n\nInteract with Firebase Storage buckets:\n\n- **List** files and directories\n- **Upload** / **Download** files\n- **Delete** files\n- **Get metadata** for stored objects\n\n### Cloud Functions\n\nInvoke [callable Cloud Functions](https://firebase.google.com/docs/functions/) with custom parameters to test authorization on backend logic.\n\n### Custom Scripting\n\nFirebase services are attached to `window` globals during initialization, so you can run custom queries directly from the browser console:\n\n| Variable                  | Reference                                                                        |\n|---------------------------|----------------------------------------------------------------------------------|\n| `window.authService`      | [Auth](https://firebase.google.com/docs/reference/js/v8/firebase.auth.Auth)          |\n| `window.firestoreService` | [Firestore](https://firebase.google.com/docs/reference/js/v8/firebase.firestore.Firestore) |\n| `window.functionsService` | [Functions](https://firebase.google.com/docs/reference/js/v8/firebase.functions.Functions) |\n| `window.storageService`   | [Storage](https://firebase.google.com/docs/reference/js/v8/firebase.storage.Storage)   |\n\n![./screenshots/scripting-fb.gif](./screenshots/scripting-fb.gif)\n\n### Output Log\n\nAll operations are logged in a real-time output panel with success/error/info indicators.\n\n## Usage\n\n1. Launch the tool and fill in the initialization form with the target project's `firebaseConfig`.\n2. Click **Start** to bootstrap the Firebase SDKs. The rest of the UI unlocks once initialization succeeds.\n3. Use the **Auth** panel to authenticate (email/password, OAuth, or MFA).\n4. Run Firestore queries, Storage operations, or Cloud Function invocations from the respective panels to verify authorization controls.\n\n## Getting Started\n\n```bash\nnpm install\nnpm run dev\n```\n\nThen open [http://localhost:3000](http://localhost:3000).\n\n\n## License\n\n[GPL-3.0](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xbigshaq%2Ffirepwn-tool","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F0xbigshaq%2Ffirepwn-tool","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F0xbigshaq%2Ffirepwn-tool/lists"}