github / github/spec-kit

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

未关闭
#2,438 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
stale
主要语言
Python
星标
137k
派生
12.3k
平均合并
2 天 7 小时
30 天内合并 PR
155

描述

## 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.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。