Skip to content

About

Open-source autonomous security validation and automated penetration-testing platform

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

OpenPentest

Open-source autonomous security validation and automated penetration-testing platform.

Status

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.

What it is

OpenPentest helps organizations continuously discover assets, assess security weaknesses, validate security controls, understand attack paths, and improve their security posture — under explicit authorization only.

Core modules (planned)

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

Technology stack

  • 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

Security posture

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.

Repository conventions

  • 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.

License

Apache License 2.0, subject to dependency license compatibility. See LICENSE.

Community

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.

Roadmap

See ROADMAP.md. Development is incremental — working features ship before ambitious ones.

About

Open-source autonomous security validation and automated penetration-testing platform

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages