Thanks for your interest in contributing! This guide covers the basics.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USER/bugbounty-lab101 cd bugbounty-lab101 - Create a feature branch:
git checkout -b feature/your-feature
- Bash 4+ required (for associative arrays,
${BASH_SOURCE}, etc.) - Use
set -eo pipefailat the top of all scripts - Use
mktempfor temporary files — never predictable/tmp/name_$$patterns - Add a cleanup
trapfor any temp resources:source "$SCRIPT_DIR/lib/common.sh" safe_tmpdir TEMP_DIR "myscript" trap 'cleanup_tmpdir "$TEMP_DIR"' EXIT
- Resolve script directory with:
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" - Check tools before using them:
if command -v nmap &>/dev/null; then ...
- All user-facing output, comments, and documentation in English
- Variable names and function names in English
- Use the shared library where possible:
source "$SCRIPT_DIR/lib/common.sh"
- Run
shellcheckbefore submitting:shellcheck your-script.sh
- New scan modules — add as standalone scripts in
auto-scanner/ - Tool categories — update
tools/registry.sh - Documentation — improve
docs/, add CVEs to watchlists - Bug fixes — check Issues or find something that breaks
- Wordlists / templates — improve
bugbounty/templates/
- Run
shellcheckon any modified.shfiles - Test your changes on Kali Linux (or equivalent)
- Update relevant documentation if you add features
- Keep PRs focused — one feature/fix per PR
- Write a clear description of what changed and why
This project is for authorized security testing only. Do not contribute:
- Malicious tools designed for unauthorized access
- Exploits without responsible disclosure context
- Credentials, API keys, or personal data
Open an Issue or start a Discussion on GitHub.