Open-source autonomous security validation and automated penetration-testing platform.
Phase 1 — Foundation (in development). Minimum viable milestone: a functioning FastAPI backend with authentication, organization/project management, PostgreSQL schema managed by Alembic migrations, Docker Compose local stack, and passing tests under GitHub Actions CI.
This is a ground-up, independent implementation. OpenPentest is not affiliated with Pentera or any other commercial security vendor.
OpenPentest helps organizations continuously discover assets, assess security weaknesses, validate security controls, understand attack paths, and improve their security posture — under explicit authorization only.
| Module | Responsibility | Status |
|---|---|---|
| Core | Orchestration, orgs, projects, auth, RBAC, assessment lifecycle, jobs, policy | In development |
| Discover | Asset discovery, inventory, normalization, relationships | Planned |
| Assess | Vulnerability assessment, config checks, findings, scanner integrations | Planned |
| Validate | Controlled, non-destructive security validation | Planned |
| AttackGraph | Asset/finding correlation, attack-path hypotheses | Planned |
| Cloud | AWS inventory, IAM analysis, cloud config checks | Planned |
| Web | Web application security assessment | Planned |
| Agent | Rust endpoint agent with mTLS enrollment and signed jobs | Planned |
| Evidence | SHA-256 evidence collection, storage, retention | Planned |
| Report | Executive/technical reports, risk trends, PDF exports | Planned |
- Backend: Python 3, FastAPI, Pydantic, SQLAlchemy, Alembic
- Frontend: Next.js, React, TypeScript, Tailwind CSS, shadcn/ui
- Database: PostgreSQL
- Cache/job queue: Redis
- Evidence storage: S3-compatible (MinIO for local dev)
- Agents: Rust
- Workers: Python, Go
- Infra: Docker, Docker Compose
- Testing: pytest, Playwright, Ruff, mypy
- CI/CD: GitHub Actions
OpenPentest is a security platform and is built accordingly:
- Only explicitly authorized targets may be assessed (target allowlists, per-job authorization).
- Initial release supports PASSIVE and carefully controlled NON_DESTRUCTIVE_ACTIVE execution only.
- No exploitation, persistence, credential harvesting, lateral movement, or destructive payloads.
- mTLS agent communication, per-agent identity, short-lived credentials, signed job definitions.
- Secrets never committed to Git; audit logs and retention policies enforced.
See SECURITY.md for disclosure policy and AGENT_SECURITY.md (planned) for agent security architecture.
main: stable code, protected by CI.feature/*,fix/*,docs/*: short-lived branches.- Commits follow Conventional Commits (
feat:,fix:,docs:,test:,refactor:,security:,build:,ci:). - Pull requests required for architectural changes; significant changes need review and passing tests before merge.
Apache License 2.0, subject to dependency license compatibility. See LICENSE.
OpenPentest is community-driven from day one. See CONTRIBUTING.md and CODE_OF_CONDUCT.md. Good first issues and help-wanted labels are used to onboard contributors.
See ROADMAP.md. Development is incremental — working features ship before ambitious ones.