{"id":29599765,"url":"https://github.com/ertaku12/bugsheriff-reactnative","last_synced_at":"2026-04-11T14:03:02.409Z","repository":{"id":300096918,"uuid":"1004870013","full_name":"ertaku12/BugSheriff-ReactNative","owner":"ertaku12","description":"BugSheriff - A bug bounty website","archived":false,"fork":false,"pushed_at":"2025-06-19T20:50:57.000Z","size":9241,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-03T18:49:32.016Z","etag":null,"topics":["docker-compose","flask","postgresql","react-native"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ertaku12.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2025-06-19T09:58:16.000Z","updated_at":"2025-06-19T20:52:59.000Z","dependencies_parsed_at":"2025-06-19T21:43:54.007Z","dependency_job_id":null,"html_url":"https://github.com/ertaku12/BugSheriff-ReactNative","commit_stats":null,"previous_names":["ertaku12/bugsheriff-reactnative"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ertaku12/BugSheriff-ReactNative","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertaku12%2FBugSheriff-ReactNative","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertaku12%2FBugSheriff-ReactNative/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertaku12%2FBugSheriff-ReactNative/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertaku12%2FBugSheriff-ReactNative/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ertaku12","download_url":"https://codeload.github.com/ertaku12/BugSheriff-ReactNative/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ertaku12%2FBugSheriff-ReactNative/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31682955,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["docker-compose","flask","postgresql","react-native"],"created_at":"2025-07-20T11:34:20.811Z","updated_at":"2026-04-11T14:03:02.391Z","avatar_url":"https://github.com/ertaku12.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BugSheriff Bug Bounty Platform\n\n## Project Description\nThis project is a bug bounty platform where users can report security vulnerabilities and earn rewards. Admin users can manage programs, add new programs, and review user reports.\n\n## Features\n- User and admin logins\n- Program listing, adding, deleting, and updating\n- User report management\n- JWT authentication\n- Mobile-friendly and user-friendly interface\n\n## Requirements\n- Node.js\n- Docker\n- PostgreSQL\n- React Native (with Expo)\n\n## Running the Project\n\n### Run the Docker Backend\n1. Navigate to the project directory:\n   ```bash\n   cd Docker-psql-flask\n   ```\n\n2. Run the Docker Compose command: (**If first time, run it TWICE**)\n   ```bash\n   docker-compose up --build \n   ```\n\n## Database setup\n\nOpen another terminal and run the below command:\n\n```bash\ndocker exec -it postgresql bash\npsql -U admin -d bugsheriff\n```\n\n### Sample database insert query:\n```sql\nINSERT INTO programs (name, description, application_start_date, application_end_date, status) VALUES\n('Cyber Defenders Bug Hunt',\n 'Scope: Web Applications, APIs, and Cloud Infrastructure. Look for Vulnerabilities such as XSS, SQL Injection, and Authentication Bypass. Rewards are Categorized as Low ($50-$150), Medium ($151-$500), and High ($501-$1000).',\n '10-01-2024',\n '12-31-2024',\n 'Open'),\n\n('Mobile Security Challenge',\n 'Scope: iOS and Android Apps. Test for Insecure Data Storage, Improper Platform Usage, and Security Misconfigurations. Rewards: Low ($100), Medium ($300), High ($700).',\n '09-15-2024',\n '11-15-2024',\n 'Closed'),\n\n('E-commerce Bug Smash',\n 'Scope: E-commerce Platform Including Checkout Process, User Accounts, and Payment Systems. Prioritize Finding Flaws like CSRF, IDOR, and Logic Flaws. Rewards: Low ($200), Medium ($500), High ($1200).',\n '11-01-2024',\n '01-31-2025',\n 'Open'),\n\n('Cloud Fortress PenTest',\n 'Scope: AWS, Azure, and Google Cloud Platforms. Focus on Misconfigurations, Privilege Escalations, and Insecure API Gateways. Rewards: Low ($250), Medium ($750), High ($1500).',\n '12-01-2024',\n '02-01-2025',\n 'Open'),\n\n('IoT Device Security Crackdown',\n 'Scope: Internet of Things (IoT) Devices and Their Companion Applications. Look for Issues like Insecure Firmware Updates, Weak Authentication, and Privacy Vulnerabilities. Rewards: Low ($100), Medium ($400), High ($900).',\n '10-15-2024',\n '12-15-2024',\n 'Closed');\n```\n\n\n\n### Run React Native\n1. Ensure you have Expo CLI installed globally:\n   ```bash\n   npm install -g expo-cli\n   ```\n\n2. Navigate to the React Native project directory:\n   ```bash\n   cd Bugsheriff\n   ```\n\n3. Install the dependencies:\n   ```bash\n   npm install\n   ```\n\n4. Start the development server:\n   ```bash\n   npx expo start\n   ```\n\n## Download APK\nInstall the APK file on your Android device/emulator.\n   \n   Link: https://drive.google.com/file/d/15QEb1TR7P5mX1G58UdhbQ59xwWLweUj9/view?usp=drive_link\n\n- App is now ready to use!\n\n\n## Final Notes\n- Change the Flask API URL in the React Native project to your Docker container's IP address.\n\n- To stop and remove containers:\n   ```bash\n   docker-compose down\n   ```\n\n- To remove volumes:\n   ```bash\n   docker volume rm docker-psql-flask_postgres_data\n\n   docker volume rm docker-psql-flask_uploads\n   ```\n\n## Home Page\n![Home Page](images/home_page.jpg)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fertaku12%2Fbugsheriff-reactnative","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fertaku12%2Fbugsheriff-reactnative","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fertaku12%2Fbugsheriff-reactnative/lists"}