Skip to main content

Enterprise-grade BOLA and API Vulnerability Scanner

Project description

Janus Security Scanner 🛡️

License: MIT Python 3.10+ Code Style: Black Docker Deploy

Janus is an enterprise-grade API security scanner designed for Red Teams and advanced security testing. Unlike traditional scanners, Janus uses a distinct approach for detecting BOLA (Broken Object Level Authorization), BFLA, and Race Conditions without relying on external AI APIs.

Janus Dashboard

Features 🚀

  • BOLA/IDOR Detection: Automatic analysis of resource access patterns.
  • Broken Function Level Authorization (BFLA): Vertical privilege escalation testing.
  • PII & Secrets Scanning: Detect sensitive data leaks in API responses.
  • Race Condition Testing: Multi-threaded exploitation of concurrency bugs.
  • Stealth Mode: WAF evasion with header rotation, jitter, and proxies.
  • Team Collaboration: Real-time finding synchronization via Redis/Hive-Mind.
  • CI/CD Integration: Export findings to SARIF for GitHub Security tab.
  • Web Dashboard: Modern UI for managing scans and viewing reports.

Installation 📦

From Source

git clone https://github.com/ksanjeev284/janus.git
cd janus
pip install .

Quick Start 🏃‍♂️

1. Web Dashboard (Recommended)

Option A: Using Docker (Fastest)

# Pull and run the latest image
docker run -p 8000:8000 ghcr.io/ksanjeev284/janus:latest

Option B: From Source Start the web server and dashboard:

python -m janus.interface.web.server
# Access at http://localhost:8000

2. CLI Usage

Janus provides a powerful CLI for automation testing.

Basic BOLA Scan:

janus scan --victim <token> --attacker <token> --host <url>

Stealth Test:

janus stealth-test

Vertical Escalation (BFLA):

janus bfla --host https://api.example.com --low <user_token>

Architecture 🏗️

Janus operates by "learning" from legitimate traffic (via its proxy or provided tokens) to understand the structure of API resources. It then attempts to access those same resources using a different user's context (the attacker), analyzing the structural similarity of the responses to determine vulnerability.

Contributing 🤝

We welcome contributions! Please see CONTRIBUTING.md for details.

License 📄

MIT License - see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

janus_security-0.1.0.tar.gz (169.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

janus_security-0.1.0-py3-none-any.whl (81.7 kB view details)

Uploaded Python 3

File details

Details for the file janus_security-0.1.0.tar.gz.

File metadata

  • Download URL: janus_security-0.1.0.tar.gz
  • Upload date:
  • Size: 169.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for janus_security-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3b1e9f4f3198ab46f08a7eb9828a526b64c1d220a3398f1ee3b6e48d527682d5
MD5 18ee0daa655251d525f97c8419644556
BLAKE2b-256 1cfb53aee4162f0580a6548aaf067566b61cbba437d974cadb06739c962d216b

See more details on using hashes here.

File details

Details for the file janus_security-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: janus_security-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 81.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for janus_security-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 119311771d78e954e3360ccc4c3fffd9c2e74774a0d5b99b17bc6b6c582a95ab
MD5 7ae02b0d5b269fe2482adf15bcfddf9b
BLAKE2b-256 a446097be3b7c161f8e08e3ad9ed28276db026bf3db39630cbf2b86a7777158a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page