|
2 | 2 |
|
3 | 3 | AI-powered autonomous bug bounty assistant and security assessment platform. |
4 | 4 |
|
| 5 | +BugFinder automatically determines the target type, selects appropriate assessment modules, executes safe scans, correlates findings, and generates professional reports — all while explaining each finding in plain language. |
| 6 | + |
| 7 | +```bash |
| 8 | +bf scan https://example.com |
| 9 | +bf scan app.apk |
| 10 | +bf scan 10.0.0.0/24 |
| 11 | +bf tui # Launch the terminal dashboard |
| 12 | +``` |
| 13 | + |
| 14 | +## Quick Start |
| 15 | + |
5 | 16 | ```bash |
| 17 | +# Install |
6 | 18 | pip install bugfinder |
| 19 | + |
| 20 | +# Set your NVIDIA API key (required for AI features) |
| 21 | +export BF_NVIDIA_API_KEY="your-key-here" |
| 22 | + |
| 23 | +# Run your first scan |
7 | 24 | bf scan https://example.com |
| 25 | + |
| 26 | +# Launch the TUI dashboard |
| 27 | +bf tui |
8 | 28 | ``` |
| 29 | + |
| 30 | +## Features |
| 31 | + |
| 32 | +- **Auto-detect**: Automatically identifies target type (website, API, APK, IP, Docker, etc.) |
| 33 | +- **AI-Powered**: NVIDIA API integration for intelligent planning, explanation, and reporting |
| 34 | +- **Zero Config**: Works out of the box — no manual configuration required for standard scans |
| 35 | +- **Dual Mode**: Beginner mode (guided, educational) and Expert mode (full control) |
| 36 | +- **Knowledge Graph**: Maintains relationships between discovered assets for smarter analysis |
| 37 | +- **Plugin System**: Extensible via plugins for custom technologies and workflows |
| 38 | +- **Rich TUI**: Terminal-based dashboard with real-time progress, findings explorer, and report preview |
| 39 | +- **Multi-Format Reports**: Markdown, HTML, PDF, JSON, CSV export |
| 40 | +- **Scope-Aware**: Built-in scope enforcement and rate limiting for safe testing |
| 41 | + |
| 42 | +## CLI Reference |
| 43 | + |
| 44 | +| Command | Description | |
| 45 | +|---|---| |
| 46 | +| `bf scan <target>` | Auto-detect and scan | |
| 47 | +| `bf scan <target> --quick` | Lightweight scan | |
| 48 | +| `bf scan <target> --deep` | Maximum coverage | |
| 49 | +| `bf scan <target> --expert` | Full configuration control | |
| 50 | +| `bf tui` | Launch Textual terminal UI | |
| 51 | +| `bf report <scan_id>` | Generate report | |
| 52 | +| `bf config <key> <value>` | Set configuration | |
| 53 | +| `bf list-agents` | Show available agents | |
| 54 | +| `bf plugin install <name>` | Install plugin | |
| 55 | + |
| 56 | +## Configuration |
| 57 | + |
| 58 | +Configuration via environment variables (prefixed with `BF_`), `.env` file, or `bf config`: |
| 59 | + |
| 60 | +```bash |
| 61 | +# Required for AI features |
| 62 | +BF_NVIDIA_API_KEY=your_key_here |
| 63 | +BF_NVIDIA_MODEL=minimax-m3 |
| 64 | + |
| 65 | +# Scope enforcement (comma-separated) |
| 66 | +BF_ALLOWED_DOMAINS=example.com,api.example.com |
| 67 | + |
| 68 | +# Scan settings |
| 69 | +BF_MAX_CONCURRENT_TASKS=10 |
| 70 | +BF_RATE_LIMIT_PER_SECOND=50 |
| 71 | + |
| 72 | +# Mode |
| 73 | +BF_BEGINNER_MODE=true |
| 74 | +BF_EDUCATIONAL_MODE=true |
| 75 | +``` |
| 76 | + |
| 77 | +## Development |
| 78 | + |
| 79 | +```bash |
| 80 | +# Clone and setup |
| 81 | +git clone https://github.com/highoncomputers/BugFinder.git |
| 82 | +cd BugFinder |
| 83 | +make install |
| 84 | + |
| 85 | +# Run tests |
| 86 | +make test |
| 87 | + |
| 88 | +# Lint and format |
| 89 | +make lint |
| 90 | +make format |
| 91 | + |
| 92 | +# Type check |
| 93 | +make typecheck |
| 94 | + |
| 95 | +# Run TUI |
| 96 | +make dev |
| 97 | +``` |
| 98 | + |
| 99 | +## Project Structure |
| 100 | + |
| 101 | +``` |
| 102 | +bugfinder/ |
| 103 | +├── cli/ # CLI commands + Textual TUI |
| 104 | +├── core/ # Config, types, exceptions |
| 105 | +├── target/ # Target auto-detection |
| 106 | +├── planner/ # AI + rule-based planner |
| 107 | +├── agents/ # Assessment agents |
| 108 | +│ ├── web/ # Web app scanners |
| 109 | +│ ├── api/ # API testing |
| 110 | +│ ├── android/ # APK analysis |
| 111 | +│ ├── cloud/ # Cloud config review |
| 112 | +│ ├── infra/ # Network/infrastructure |
| 113 | +│ ├── secrets/ # Secret detection |
| 114 | +│ └── recon/ # Reconnaissance |
| 115 | +├── engine/ # Scheduler + executor |
| 116 | +├── knowledge_graph/ # Asset relationship graph |
| 117 | +├── database/ # SQLAlchemy models |
| 118 | +├── ai/ # NVIDIA API client |
| 119 | +├── reporting/ # Report generators |
| 120 | +├── plugins/ # Plugin system |
| 121 | +├── security/ # Scope + rate limiting |
| 122 | +└── learning/ # Educational resources |
| 123 | +``` |
| 124 | + |
| 125 | +## Contributing |
| 126 | + |
| 127 | +1. Fork the repository |
| 128 | +2. Create a feature branch (`git checkout -b feature/amazing`) |
| 129 | +3. Run `make precommit` before committing |
| 130 | +4. Open a Pull Request |
| 131 | + |
| 132 | +## License |
| 133 | + |
| 134 | +MIT |
0 commit comments