The reference Python implementation of OSSGuard.
For full documentation, all install methods, and command examples, see the main ossguard repo.
pip install ossguard
# Or with pipx (isolated install)
pipx install ossguardossguard scan . # Quick security posture check
ossguard audit . # Full security audit
ossguard init . # Bootstrap all OpenSSF configs
ossguard baseline . # OSPS Baseline complianceThis is the reference implementation with the richest UI (Rich tables, colored panels, interactive prompts).
- 27 commands covering the full OpenSSF security lifecycle
- Rich terminal UI with tables, panels, and progress indicators
- Auto-detection of languages, package managers, and frameworks
- Python 3.9+ with dependencies: typer, rich, pyyaml, jinja2, questionary, httpx
For the complete command reference and real-world output examples, see the main ossguard README.
| Implementation | Install | Best for |
|---|---|---|
| ossguard-go | brew install kirankotari/tap/ossguard |
CI pipelines, single binary |
| ossguard-npm | npx ossguard |
Node.js projects |
# Clone and install
git clone https://github.com/kirankotari/ossguard-python.git
cd ossguard-python
pip install -e ".[dev]"
# Run tests (147 tests)
pytest
# Lint
ruff check src/ tests/Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
Apache-2.0 — see LICENSE for details.