PhonePe

mantis: Automate Attack Surface Discovery and Security Scanning

Mantis is a Python command-line framework for discovering assets, running reconnaissance, and scanning for vulnerabilities, secrets, misconfigurations, and phishing domains. It is suited to product security teams managing organization-wide attack surfaces.

View on GitHub Compare
Stars
1k
Forks
137
Stars, last 30 days
+6

Our take

Health score

31/100

How it is scored
Activity
19
Community
63
Issues
21
Pull requests
20

+6 stars in the last 30 days

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

1,044

Forks

137

Change since Nov 14, 2026: 0 stars·0 forks

Overview

Mantis coordinates asset discovery, reconnaissance, and security scanning from organization domains or known asset lists. It identifies assets such as subdomains and certificates, gathers details about active assets, then scans for vulnerabilities, exposed secrets, misconfigurations, and phishing domains.

It is intended for security and product security teams that want repeatable scans across an organization's attack surface. Distributed scanning, workflow customization, and dashboard support make it more suitable for ongoing programs than for a one-off check of a single website.

Key Features

  • Onboards top-level domains, subdomains, IP addresses, IP ranges, and CIDRs for scanning.
  • Discovers subdomains and certificates, then collects reconnaissance data such as ports, technologies, CDN, WAF, and ASN information.
  • Scans for domain-level vulnerabilities, misconfigurations, secrets, and phishing domains.
  • Supports scheduled scans across an organization or scans scoped to an application or subdomain.
  • Offers configurable workflows and thread counts.
  • Supports distributed scans using Ray.
  • Provides dashboard support through AppSmith and MongoDB, plus vulnerability management and alerting features.

Use Cases

  • Product security teams can inventory an organization's domains and IP ranges and establish a recurring discovery and scanning workflow.
  • Security engineers can investigate newly discovered subdomains, exposed services, and technology details during attack surface reviews.
  • Application security teams can narrow scans to assets associated with a particular application.
  • Security operations teams can use scan results to identify vulnerabilities, secrets, and misconfigurations across known assets.

Getting Started

The project recommends starting with Docker. Clone the repository and run the setup script for your operating system:

git clone https://github.com/PhonePe/mantis.git
cd mantis/setup/docker
./docker-setup-ubuntu.sh

For macOS, use ./docker-setup-macos.sh instead. After setup, onboard an initial target with mantis onboard -o org_name -t example.in. See the README and documentation for prerequisites, other installation options, and dashboard setup.

Considerations

  • The README describes Mantis as being in beta and invites users to report installation issues through its Discord community.
  • Scans run multiple open-source and custom tools in parallel and can be CPU-intensive. The README recommends a dedicated VM and lists minimum single-machine requirements of Ubuntu or macOS, 4 GB RAM, 2 cores, and 16 GB storage.
  • Docker setup also includes MongoDB and AppSmith. Dashboard setup requires running at least one scan first.
  • Scan only systems and assets for which you have authorization. The project warns that unauthorized use for attacking targets is illegal.

Found this useful?

Share it with someone who would like mantis.

Comparisons