Made by threatvec & talkdedsec
Thank you for your interest in contributing to SentinelAI! This guide will help you get started.
By contributing, you agree to abide by our Code of Conduct.
- Check existing issues first
- Use the bug report template
- Include: OS, Python version, SentinelAI version, steps to reproduce
- Open a feature request
- Describe the use case and expected behavior
- Explain why this would benefit the community
- Fork the repository
- Create a feature branch:
git checkout -b feature/my-feature - Write tests for your changes
- Ensure all tests pass:
pytest - Lint your code:
ruff check . - Commit with clear messages
- Push to your fork and submit a PR
# Clone your fork
git clone https://github.com/YOUR_USERNAME/SentinelAI.git
cd SentinelAI
# Create virtual environment
python -m venv .venv
source .venv/bin/activate # or .venv\Scripts\activate on Windows
# Install with dev dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run linter
ruff check .
# Run type checker
mypy src/sentinelai- Python 3.11+ required
- Type hints on all public functions
- Docstrings on all public classes and methods
- 100 character line length limit
- ruff for linting and formatting
- pytest for testing with >80% coverage target
Use clear, descriptive commit messages:
feat: add SSRF detection to code scanner
fix: false positive in secret scanner for test files
docs: update LLM firewall configuration guide
test: add tests for PII detection edge cases
src/sentinelai/
├── core/ # Core engine - touch with care
├── scanners/ # Add new scanners here
├── llm_firewall/ # LLM protection modules
├── agent_monitor/ # Agent monitoring
├── dashboard/ # Web UI
├── reports/ # Report generation
└── utils/ # Shared utilities
- Create a new file in
src/sentinelai/scanners/ - Extend the
BaseScannerclass - Implement
scan()method - Add rules to
rules/directory - Register in
scanners/__init__.py - Write tests in
tests/
By contributing, you agree that your contributions will be licensed under the SentinelAI Proprietary License.
SentinelAI - Copyright (c) 2026 threatvec & talkdedsec. All rights reserved.