Registry / devops / flake8-secure-coding-standard

flake8-secure-coding-standard

JSON →
library1.4.1pypypi✓ verified 30d ago

A Flake8 plugin that enforces additional secure coding practices for Python projects, including checks for hardcoded passwords, insecure function usage, and other security anti-patterns. Current version 1.4.1, released under a maintenance cadence with infrequent updates.

devops
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

from flake8_secure_coding_standard import Plugin

Install the plugin and run flake8 on your codebase. The plugin will automatically detect and report violations.

cat > .flake8 <<EOL [flake8] max-line-length = 120 extend-ignore = E501 EOL flake8 --install-hook pip install flake8-secure-coding-standard flake8 your_code.py
Debug
Known footguns
gotchaPlugin is inactive if flake8 version is <4.0. Ensure flake8>=4.0 for compatibility.
deprecatedThe check for 'hardcoded_password' is deprecated and will be removed in future release.
breakingVersion 1.3.0 changed the error codes from 'FSC1xx' to 'SEC0xx'. Existing flake8 ignore or exclude configurations may break.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
6 hits · last 30 days
gptbot
3
Resources