Skip to main content

Scan for secrets within files.

Project description

Secret Scanner

A simple tool to scan directories for secrets using regular expressions.

Install

Install using either pip, pipx or your Python installer of choice

pipx install secretscanner

Usage

To scan a directory and print the files with secrets

secretscanner DIRECTORY

To also display info on the tokens that have been found pass the -v/--verbose flag.

To hide the output pass the -q/--quiet flag.

If secrets are found the tool exits with exit code 1

Recognized Secrets

The tool currently recognizes the following secret types

  • Github access tokens
  • PyPI access tokens
  • Digital Ocean access tokens

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

secretscanner-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

secretscanner-0.1.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

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