{"id":13806362,"url":"https://github.com/maxcountryman/flask-seasurf","last_synced_at":"2025-05-16T19:03:51.189Z","repository":{"id":1994229,"uuid":"2927064","full_name":"maxcountryman/flask-seasurf","owner":"maxcountryman","description":"SeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).","archived":false,"fork":false,"pushed_at":"2024-07-29T14:04:48.000Z","size":1205,"stargazers_count":190,"open_issues_count":14,"forks_count":49,"subscribers_count":8,"default_branch":"main","last_synced_at":"2024-10-30T01:37:44.798Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://readthedocs.org/docs/flask-seasurf/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxcountryman.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-12-06T18:51:00.000Z","updated_at":"2024-07-29T14:03:51.000Z","dependencies_parsed_at":"2024-01-03T01:20:33.202Z","dependency_job_id":"0d1d824b-e8c8-4006-ae4d-11b57bfd3b62","html_url":"https://github.com/maxcountryman/flask-seasurf","commit_stats":{"total_commits":144,"total_committers":37,"mean_commits":3.891891891891892,"dds":0.6944444444444444,"last_synced_commit":"5baa74a3428fad9deb87cc40fb01e72883438195"},"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-seasurf","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-seasurf/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-seasurf/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxcountryman%2Fflask-seasurf/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxcountryman","download_url":"https://codeload.github.com/maxcountryman/flask-seasurf/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248607294,"owners_count":21132511,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T01:01:10.784Z","updated_at":"2025-04-12T17:40:23.771Z","avatar_url":"https://github.com/maxcountryman.png","language":"Python","funding_links":[],"categories":["介绍","Third-Party Extensions","Flask Utilities","Uncategorized","Python","Extensions"],"sub_categories":["Security","Uncategorized"],"readme":"[![Tests](https://img.shields.io/github/actions/workflow/status/maxcountryman/flask-seasurf/tests.yml?branch=main)](https://github.com/maxcountryman/flask-seasurf/actions)\n[![Version](https://img.shields.io/pypi/v/Flask-SeaSurf.svg)](https://pypi.python.org/pypi/Flask-SeaSurf)\n[![Supported Python Versions](https://img.shields.io/pypi/pyversions/Flask-SeaSurf.svg)](https://pypi.python.org/pypi/Flask-SeaSurf)\n\n# Flask-SeaSurf\n\nSeaSurf is a Flask extension for preventing cross-site request forgery (CSRF).\n\nCSRF vulnerabilities have been found in large and popular sites such as\nYouTube. These attacks are problematic because the mechanism they use is\nrelatively easy to exploit. This extension attempts to aid you in securing\nyour application from such attacks.\n\nThis extension is based on the excellent Django middleware.\n\n\n## Installation\n\nInstall the extension with one of the following commands:\n\n    $ easy_install flask-seasurf\n\nor alternatively if you have pip installed:\n\n    $ pip install flask-seasurf\n\n\n## Usage\n\nUsing SeaSurf is fairly straightforward. Begin by importing the extension and\nthen passing your application object back to the extension, like this:\n\n    from flask_seasurf import SeaSurf\n    csrf = SeaSurf(app)\n\n\n## Documentation\n\nThe Sphinx-compiled documentation is available here: https://flask-seasurf.readthedocs.io/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxcountryman%2Fflask-seasurf","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxcountryman%2Fflask-seasurf","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxcountryman%2Fflask-seasurf/lists"}