github / github/spec-kit

[Security hardening] Add automated security audit checks for Python dependencies and static analysis

Đang mở
#2,438 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
stale
Ngôn ngữ chính
Python
Star
137k
Fork
12.3k
Merge trung bình
2 ngày 7 giờ
Pull request đã merge (30 ngày)
155

Mô tả

## Summary

Add lightweight automated security checks to CI for Python dependency vulnerabilities and static-analysis findings.

## Why

Manual audit runs are useful, but dependency and static-analysis checks should be repeatable in CI. `pip-audit` can catch known Python package vulnerabilities, and Bandit can flag Python security-sensitive patterns for review.

## Proposed direction

- Add a CI job or workflow for `pip-audit`.
- Add a Bandit job configured for actionable findings.
- Keep initial scope focused so the signal is useful and does not fail on low-value noise.
- Document how to run the checks locally.

## Acceptance criteria

- CI runs dependency vulnerability checks.
- CI runs Python static security checks with an explicit configuration.
- The current dependency set passes the audit.
- Any intentionally accepted Bandit findings are documented or excluded explicitly.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.