New:Socket for Asana Is Now Available.Learn more
Get Started

flask-header-guard

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Malware was recently detected in this package.

Affected versions:

1.0.0

flask-header-guard

Enterprise security headers and monitoring for Flask

pipPyPI
Version
1.0.0
Weekly downloads
108
Maintainers
1
Weekly downloads
 
Created

flask-header-guard

Enterprise-grade security headers for Flask applications.

Features

  • Automatic Security Headers: CSP, HSTS, X-Frame-Options, and more
  • Monitoring Endpoint: Built-in health check at /api/v1/monitor/system
  • Zero Configuration: One-line integration

Installation

pip install flask-header-guard

Usage

from flask import Flask
from flask_header_guard import init_security

app = Flask(__name__)
init_security(app)

@app.route('/')
def home():
    return 'Hello, secure world!'

if __name__ == '__main__':
    app.run()

License

MIT License

FAQs

Related posts