Skip to main content

VulnLogic CLI

Autonomous AI-powered API penetration testing. 63 attack modules. Zero false positives.

Install

pip install vulnlogic

Quick Start

# Set your Anthropic API key (one time)
vulnlogic config set anthropic-key sk-ant-...

# Run a scan
vulnlogic scan --target myapi --base-url https://api.acme.com --spec openapi.json --token eyJ...

Usage

# Basic scan
vulnlogic scan -t myapi -u https://api.acme.com -s openapi.json --token eyJ...

# IDOR testing — provide attacker + victim tokens
vulnlogic scan -t myapi -u https://api.acme.com -s openapi.json \
  --token eyJ... --victim-token eyJ...

# Run only specific attack groups
vulnlogic scan -t myapi -u https://api.acme.com -s openapi.json \
  --groups authorization,injection,business_logic

# JSON output
vulnlogic scan -t myapi -u https://api.acme.com -s openapi.json --output json

# CI/CD — SARIF output + exit code 1 on high+ findings
vulnlogic scan -t myapi -u https://api.acme.com -s openapi.json \
  --output sarif --output-file results.sarif --fail-on high

# Against a hosted VulnLogic engine
vulnlogic scan -t myapi -u https://api.acme.com -s openapi.json \
  --engine-url https://engine.vulnlogic.io

# List all 63 modules
vulnlogic modules

GitHub Actions Example

- name: API Security Scan
  run: |
    pip install vulnlogic
    vulnlogic scan \
      --target ${{ github.repository }} \
      --base-url ${{ secrets.API_URL }} \
      --spec openapi.json \
      --token ${{ secrets.API_TOKEN }} \
      --output sarif \
      --output-file vulnlogic.sarif \
      --fail-on high
  env:
    ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}

- name: Upload SARIF
  uses: github/codeql-action/upload-sarif@v2
  with:
    sarif_file: vulnlogic.sarif

Attack Groups

Group Modules
authorization IDOR, Horizontal Privesc, Mass Assignment, BFLA
business_logic Race Condition, Workflow Bypass
authentication JWT None Alg, JWT Confusion, JWT Expired
api Parameter Tampering, Rate Limit Bypass
injection SSRF, Path Traversal, SQLi, NoSQLi, XXE
file_upload Unrestricted Upload, Path Traversal via Filename
infrastructure CORS, Security Headers, GraphQL, HTTP Smuggling
cryptography Weak Algorithms, Hardcoded Secrets
websocket WebSocket Hijacking
multi_tenant Tenant Isolation Bypass

Download files

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

Source Distribution

vulnlogic-2.0.0.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

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

vulnlogic-2.0.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file vulnlogic-2.0.0.tar.gz.

File metadata

  • Download URL: vulnlogic-2.0.0.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for vulnlogic-2.0.0.tar.gz
Algorithm Hash digest
SHA256 a9347832484faa40ee0a1dc0a6f31b5b68394cf26bf71d57b67919a30dcfe0cd
MD5 f8d79ae20d27b8ff4bb49d3723b93130
BLAKE2b-256 dbf3e137ca9c436721b0b6358d8dc18a8b532246f231cb96e5e0bdc8cd37cc50

See more details on using hashes here.

File details

Details for the file vulnlogic-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: vulnlogic-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for vulnlogic-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29a2fc3a69aed1f38e7b51dd97d42a2ef12af88aa4c52df4f63c0945ee728ef6
MD5 0ec622d8b652a1188df2af807b732ae2
BLAKE2b-256 dd3656dcc3e8fe9984d802debbe314462fec103d14aaa2474227d4558702ca99

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 Sentry Error logging StatusPage Status page