Skip to main content

Security Headers Audit Tool

Project description

 ███████╗██╗  ██╗       █████╗ ██╗   ██╗██████╗ ██╗████████╗
 ██╔════╝██║  ██║      ██╔══██╗██║   ██║██╔══██╗██║╚══██╔══╝
 ███████╗███████║█████╗███████║██║   ██║██║  ██║██║   ██║   
 ╚════██║██╔══██║╚════╝██╔══██║██║   ██║██║  ██║██║   ██║   
 ███████║██║  ██║      ██║  ██║╚██████╔╝██████╔╝██║   ██║   
 ╚══════╝╚═╝  ╚═╝      ╚═╝  ╚═╝ ╚═════╝ ╚═════╝ ╚═╝   ╚═╝   
 Invisiber                       Security Header Audit Tool

📄 shaudit — Security Headers Audit Tool

shaudit is a lightweight CLI tool designed to help you audit HTTP security headers on any website. It checks whether common security headers like Content-Security-Policy, Strict-Transport-Security, and many others are properly implemented or missing.

The output is clean, colorful, and easy to read — perfect for quick assessments directly from your terminal. You can also save the results to a file for later review.

shaudit works fully offline and is safe to use in production environments, making it a great choice for:

  • Pentesters who need quick insights during engagements
  • Security engineers verifying HTTP configurations
  • Anyone who wants to scan web headers without the hassle

Installation

pip install shaudit

Options

shaudit -s -u https://google.com -h
usage: [-h] [-u URL] [-s] [-nc] [-o [OUTPUT]] [-i]

Security Headers Audit Tool

options:
  -h, --help            show this help message and exit
  -u, --url URL         Input URL to Scan
  -s, --silent          Silent Output
  -nc, --nocolor        No Color
  -o, --output [OUTPUT]
                        Output file (default: sh-example.com)
  -i, --info            Information
                                              

Usage

for help or any information:

shaudit -h

Basic Scan:

shaudit -u https://example.com

Run without color output:

shaudit -u https://example.com -nc

Run without logo/banner:

shaudit -u https://example.com -s

Save results to a file (default or custom name):

shaudit -u https://example.com/ -o
shaudit -u https://example.com -o example.txt

Show list of audited headers and extra info:

shaudit -i

📱 Connect with Me

GitHub: @invisiber
PyPI: shaudit
YouTube: @invisiber

Contributing

Contributions, ideas, or issues are welcome!
Feel free to open a pull request or submit an issue.

License

MIT License

Copyright (c) 2025 @invisiber

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

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

shaudit-0.0.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

shaudit-0.0.1-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file shaudit-0.0.1.tar.gz.

File metadata

  • Download URL: shaudit-0.0.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for shaudit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 170d8021567d306f866e1587dabc92a89a644583e1f06eedf0021d81dddeffad
MD5 7286ed5c122df77518c2db470315de4e
BLAKE2b-256 e1806bc36c40ae7cbbee9c036604c2852ea7021a2ee192284178570630c2ad63

See more details on using hashes here.

File details

Details for the file shaudit-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: shaudit-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for shaudit-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3fc3052df36d0e626e3af85cb1eed44d5f5ceabaa2fe4469b1b3fb1e8b59f69
MD5 e703ece1e82f455aa4763c7c1f8a392e
BLAKE2b-256 3028bc09f6d152bd118a1c65e7d2d8313d1f52f7ac0be5ab79c35778c637790e

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