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.

CLI options

See python -m hackbot --help for more information

Generating issues

This module can generate issues in a GitHub repository. To do this, you will need to provide a GitHub API key with write issue access to the repository you want to report the issues to (--issues_repo). The scan will generate an issue with the title HB-<number>, where <number> is automatically generated, and will add the discovered bugs as comments to this issue.

python -m hackbot run --api-key <api-key> --issues_repo <owner>/<repo> --github_api_key <github-api-key>

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.1.16.2.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.

hackbot-0.1.16.2-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for hackbot-0.1.16.2.tar.gz
Algorithm Hash digest
SHA256 6ef0e6510ca7a671370d8159bff48efd7034ef9a91a68c78a12b13ebbc0cbe4d
MD5 2ef791064a4e7eb5b63217241b80e6b7
BLAKE2b-256 16e51cd13e13ecd50a1b78b7004fbbe1b48028504f5e50edf5b90d6ceaad1ea3

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hackbot-0.1.16.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a0e60dc66253eccb1afc34f5cb0955cdeb56a4cda8ebfedb794c15309a45cbd3
MD5 ac72bd50023eb27e397802e07dde4c87
BLAKE2b-256 770f0a5267fd1609a472667a17c531aff9cb6a43421715d3b6317fd57e7cf4c6

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