Would you take a pull-request security scan workflow?
- 主要语言
- TypeScript
- 星标
- 25.7k
- 派生
- 7.9k
- PR 合并指标
- 30 天内没有已合并 PR
描述
Would a pull-request security scan be useful here, or is this already covered?
One workflow. On each pull request it scans the checked-out repository for
hardcoded credentials, injection, SSRF and unsafe deserialisation, and writes
findings to the Security tab. Report-only — findings never fail the build.
Two files under `.github/`, a pinned `@profullstack/threatcrush@0.11.1` whose tarball is hashed before
install, and `pull_request` rather than `pull_request_target`.
A pull request is open alongside this with the diff, if reading it is easier
than discussing it.
Disclosure: I maintain [ThreatCrush](https://github.com/profullstack/threatcrush);
MIT and free. Written with AI assistance. Closing this is a fine answer and I
will not ask again.
贡献指南
调研方向
Start by reading the open pull request diff and the two files under `.github/`. Verify that the workflow uses `pull_request`, pins the ThreatCrush tarball with its hash, reports findings to the Security tab, and does not fail builds.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github-actions
- 领域
- ci-cd, security
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 25/100