Skip to main content

Tests Version Supported Python Versions

Flask-SeaSurf

SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).

CSRF vulnerabilities have been found in large and popular sites such as YouTube. These attacks are problematic because the mechanism they use is relatively easy to exploit. This extension attempts to aid you in securing your application from such attacks.

This extension is based on the excellent Django middleware.

Installation

Install the extension with one of the following commands:

$ easy_install flask-seasurf

or alternatively if you have pip installed:

$ pip install flask-seasurf

Usage

Using SeaSurf is fairly straightforward. Begin by importing the extension and then passing your application object back to the extension, like this:

from flask_seasurf import SeaSurf
csrf = SeaSurf(app)

Documentation

The Sphinx-compiled documentation is available here: https://flask-seasurf.readthedocs.io/

Metadata

Release files for Flask-SeaSurf 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-SeaSurf 1.1.0
File Size Uploaded Provenance Actions
Flask-SeaSurf-1.1.0.tar.gz 8.3 kB Without provenance Details for Flask-SeaSurf-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for Flask-SeaSurf 1.1.0
File Interpreter ABI Platform Actions
Flask_SeaSurf-1.1.0-py3-none-any.whl Python 3 none any Details for Flask_SeaSurf-1.1.0-py3-none-any.whl

Total release size: 16.6 kB

Release files / Flask-SeaSurf-1.1.0.tar.gz

Download URL Flask-SeaSurf-1.1.0.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
166112a8b3b916df4360cd86136a2f6cf65c4070a77c5743ec1bf7ee7de4891a
BLAKE2b-256 checksum
How to use checksums
04fb8519408007dde0c0913dd1746a1d8892f8e352897f88012a4be2e0d9862b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Release files / Flask_SeaSurf-1.1.0-py3-none-any.whl

Download URL Flask_SeaSurf-1.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32c6e35a409a97a8d5b644f183489410073d057d82dedf14795892d06e135ff8
BLAKE2b-256 checksum
How to use checksums
ff81cdb3c3010b4460789d1e5b08a282da7fd838041a65af79488b5608e3672d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.13

Security for Flask-SeaSurf 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page