Thank you for your interest in contributing! Contributions of all kinds are welcome — bug reports, new YARA rules, feature requests, and pull requests.
git clone https://github.com/rawqubit/yaraforge
cd yaraforge
pip install -e ".[dev]"New YARA rules should be placed in the appropriate rules/ subdirectory. Each rule must include:
- A
descriptionmeta field - A
severitymeta field (low,medium,high,critical) - A
referencemeta field where applicable
Run yaraforge validate rules/ before submitting to ensure syntax is valid.
- Format with
black - Lint with
ruff - Type-check with
mypy - All new features must include tests in
tests/
- Fork the repository and create a feature branch.
- Write tests for your changes.
- Ensure
pytest tests/ -vpasses. - Submit a pull request with a clear description.