Skip to main content

Flask-SeaSurf

build status

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 0.3.1

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 0.3.1
File Size Uploaded Provenance Actions
Flask-SeaSurf-0.3.1.tar.gz 8.0 kB Without provenance Details for Flask-SeaSurf-0.3.1.tar.gz

Built distribution (wheel)

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

Total release size: 16.1 kB

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

Download URL Flask-SeaSurf-0.3.1.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
fff90df13d9a409689081a3a1f82e2c7f76fa99bb59e50ec3e5146402ce5ce13
BLAKE2b-256 checksum
How to use checksums
0fbdb8c7a24ab006e556ca300066b13d440519479dcc62c261241fe10234d194
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

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

Download URL Flask_SeaSurf-0.3.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c24de02fbebca9b8ab0173160fb980e479c77cfabd539e6516738b1a885b90f1
BLAKE2b-256 checksum
How to use checksums
0cd37a602bbe027d718a23a846bfbb7da2e8e14a3241dbe90bac822ca4f24565
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.8.11

Security for Flask-SeaSurf 0.3.1

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