Thank you for your interest in contributing to Vanguard EDR! This document provides guidelines and instructions for contributing.
This project and everyone participating in it is governed by our Code of Conduct. By participating, you are expected to uphold this code.
Before creating bug reports, please check the issue list as you might find out that you don't need to create one. When creating a bug report, please include as many details as possible:
- Use a clear and descriptive title
- Describe the exact steps which reproduce the problem
- Provide specific examples to demonstrate the steps
- Describe the behavior you observed after following the steps
- Explain which behavior you expected to see instead and why
- Include screenshots and animated GIFs if possible
- Include your environment details (OS, Python version, etc.)
Enhancement suggestions are tracked as GitHub issues. When creating an enhancement suggestion, please include:
- Use a clear and descriptive title
- Provide a step-by-step description of the suggested enhancement
- Provide specific examples to demonstrate the steps
- Describe the current behavior and the expected improved behavior
- Explain why this enhancement would be useful
- Follow the Python style guide (PEP 8)
- Include appropriate test cases
- Update documentation if applicable
- Provide a clear description of what you changed and why
- Reference any related issues
- Python 3.9+
- Git
- pip
-
Fork the repository
-
Clone your fork:
git clone https://github.com/YOUR-USERNAME/vanguard.git cd vanguard -
Create a virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install development dependencies:
pip install -e ".[dev,frida]" -
Make your changes and test them:
pytest # Run tests black . # Format code flake8 # Lint code mypy . # Type check (optional)
- Follow PEP 8
- Use 4 spaces for indentation
- Maximum line length: 100 characters
- Use type hints where appropriate
# Format code with black
black vanguard_agent/ vanguard_server/
# Check style with flake8
flake8 vanguard_agent/ vanguard_server/
# Check types with mypy
mypy vanguard_agent/ vanguard_server/- Use the present tense ("Add feature" not "Added feature")
- Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
- Limit the first line to 72 characters or less
- Reference issues and pull requests liberally after the first line
- Consider starting commit messages with:
feat:for new featuresfix:for bug fixesdocs:for documentation changesstyle:for code style changesrefactor:for code refactoringtest:for adding testschore:for maintenance tasks
Example:
feat(sysmon): Add real-time process correlation
Implement process correlation logic in SysmonMonitor to detect
parent-child relationships and identify suspicious process chains.
Fixes #123
pytest -v- Place test files in appropriate test directories
- Use descriptive test names
- Test both success and failure cases
- Include docstrings explaining what is tested
- Keep README.md updated
- Update relevant documentation in
docs/folder - Include docstrings for all public functions
- Keep CHANGELOG.md up to date
- Update the README.md with details of any interface changes
- Update the CHANGELOG.md with notes on your changes
- Ensure all tests pass locally
- Ensure code follows the style guidelines
- Include a clear description of your changes
setup.py- Package configurationCHANGELOG.md- Version history and roadmapPACKAGES.md- Dependency informationWINDOWS_FIX_LOG.md- Technical fix documentation
- Additional behavioral signatures (see THREAT_SIGNATURES in ml_analyzer.py)
- Performance optimizations
- Test coverage improvements
- Documentation enhancements
- UI/UX improvements
- Cross-platform support improvements
- Database scalability (ClickHouse migration)
- Additional detection methods
- Web-based management console
- Cloud platform integrations
- Advanced ML models
- RBAC implementation
Feel free to open an issue with the question label or start a discussion.
By contributing to Vanguard EDR, you agree that your contributions will be licensed under its MIT License.
Contributors will be recognized in the CHANGELOG.md and README.md acknowledgements section.
Thank you for contributing to Vanguard EDR! 🎉