Skip to main content

CLI tool for source code analysis using the Hackbot service

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

Hackbot

CLI tool for source code analysis using the GatlingX Hackbot service.

Installation

pip install hackbot

Performing a scan

Execute the following command to perform a scan. Visit your dashboard at hackbot.co to retrieve your API key. Either set the API key as an environment variable HACKBOT_API_KEY or pass it as an argument to the command line tool.

cd your-project-directory
python -m hackbot run --api-key <api-key>

You will then see various messages and results in the terminal. If --output is provided, the complete output will also be written to a JSON file. At the end of the scan, you will get a link to the dashboard where you can view the results.

Learning from Security Resources

Hackbot also supports a learn command that allows it to update its checklist based on external resources. For example, to learn from a blog post, run:

python -m hackbot learn --url https://blog.openzeppelin.com/web3-security-auditors-2024-rewind

This command will fetch additional checklist data to enhance Hackbot's analysis.

CLI options

See python -m hackbot --help for more information

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

hackbot-0.2.4.1.tar.gz (22.5 kB view details)

Uploaded Source

Built Distribution

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

hackbot-0.2.4.1-py3-none-any.whl (16.8 kB view details)

Uploaded Python 3

File details

Details for the file hackbot-0.2.4.1.tar.gz.

File metadata

  • Download URL: hackbot-0.2.4.1.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for hackbot-0.2.4.1.tar.gz
Algorithm Hash digest
SHA256 beccda6f12888d5cf6d7af60dedbae5f72f0fac2b96ada230ea5f2ffc9c5e5b5
MD5 56a41c838b02637883cd352579f5af5b
BLAKE2b-256 da562d4c8d6759b5cbbe2bdf68486f8fd8ebd1beed293a2fd31001bfb69902bd

See more details on using hashes here.

File details

Details for the file hackbot-0.2.4.1-py3-none-any.whl.

File metadata

  • Download URL: hackbot-0.2.4.1-py3-none-any.whl
  • Upload date:
  • Size: 16.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.9

File hashes

Hashes for hackbot-0.2.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8e8c9df8f38c6f9c6ade7be2a6c8daa8a999f13c4f5cf0e9e308f3a6b4245d3b
MD5 f259e3d5ae25f8a0e0f056177c6194ee
BLAKE2b-256 ca266f740faec9f2f33030bc4b3d0371d92a22abb7e3abccc8c5b6a8c8c4790f

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