Repository navigation
v1.29.0 — One-click Tor, honest OPSEC grades & security hardening
Tor now works from one click, and OPSEC grades are checked against real traffic.
pip install --upgrade phantomsignalImportant
If you used Tor before this release, those scans were not on Tor. The old setting and the --profile covert container never routed scan traffic, so those scans connected directly from your IP.
Highlights
One-click Tor
- The 🧅 button starts Tor with nothing to configure. It uses a Tor already running, or the installed program, or downloads the official bundle checked against a pinned hash. Tor is also built into the Docker image.
- Tor fails closed: each scan confirms it's on Tor before touching the target and stops if it can't. Modules that would bypass Tor are skipped and listed in the report.
- All HTTP and DNS use Tor, targets get separate circuits, and
.onionaddresses are never sent to a resolver.
Honest OPSEC grades
- All module HTTP is counted, DNS goes through the proxy, and a module that sends a direct request is reported as attributable.
- No scan can read as masked or quiet without a proxy, and masked now requires stealth-level modules only.
nucleiis reported as attributable even with a proxy, because some of its traffic still connects directly. Don't rely on a proxy to hidenucleiscans.
Security hardening
- Blocks SSRF to metadata and internal addresses, and DNS rebinding on direct HTTP.
- Adds a nonce-based Content-Security-Policy, escapes scan data in links and popups, and validates scan targets.
- Parses XML from scanned targets with
defusedxml. - The Docker image runs as non-root under gunicorn, with dependencies pinned by hash. CI actions are pinned to commit SHAs.
Fixes
- Brotli responses can be read without TLS impersonation.
- The web crawler,
tls_fingerprintand Origin Pivot findings work again. - External tool failures are reported, and timed-out tools are killed.
Upgrading
Docker needs a one-time step, because the container no longer runs as root:
docker compose run --rm --user root phantomsignal chown -R app:app /app/data /app/exports /home/app/.phantomsignalPHANTOMSIGNAL_HOST and PHANTOMSIGNAL_PORT no longer apply in Docker; change the published port in docker-compose.yml.
Some scans now do less, on purpose:
- Tor scans skip
port_scan,port_scan_fast,service_enum,tls_fingerprintandvuln_scan. - Covert scans skip modules that connect directly.
- Proxied scans:
nucleiruns HTTP templates only,subfinderskips crt.sh, and zone transfers and raw TLS and JARM probes are skipped. - Maps have no background until you set
geo.tile_url.
curl_cffi 0.17 or newer is now required, and brotli is a new dependency.
Coming from 1.27.0
1.28.0 was tagged but never published to PyPI, so PyPI users get its breaking changes here too:
- The web console requires a login. The first run prints a setup token to the server log.
phantomsignal set-passwordandphantomsignal api-tokenare new CLI commands. - REST API calls need
Authorization: Bearer <token>, andGET /api/v1/healthreturns onlystatusunless signed in. - Docker Compose publishes on loopback only. See "Signing in" in
docs/USAGE.mdfor reverse-proxy setup. - Exports moved to
~/.phantomsignal/exports. SetPHANTOMSIGNAL_EXPORT_DIRto override.
Known limits
- The Windows and Intel Mac Tor bundles have pinned hashes but haven't been run.
- Automatic Tor start doesn't configure bridges, so networks that block Tor need a self-run Tor service.
- Public free proxies weren't tested.
Full details: 1.29.0 changelog · Compare with v1.27.0