Affaan Mustafa 0e9f613fd1 Revert "feat(ecc): prune plugin 43→12 items, promote 7 rules to .claude/rules/ (#245)"
This reverts commit 1bd68ff534202ac2bf8c1eb264ea33a1302907a6.
2026-02-20 01:11:30 -08:00

524 B

paths
paths
**/*.py
**/*.pyi

Python Security

This file extends common/security.md with Python specific content.

Secret Management

import os
from dotenv import load_dotenv

load_dotenv()

api_key = os.environ["OPENAI_API_KEY"]  # Raises KeyError if missing

Security Scanning

  • Use bandit for static security analysis:
    bandit -r src/
    

Reference

See skill: django-security for Django-specific security guidelines (if applicable).