# Lionshead：用自动化自爆守护单人项目

Original title: The security checks in every Lionshead PR

> Hacker News story 48898064 · language: zh · submitted 2026-07-13
> Web version: https://zeli.app/zh/story/48898064
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 4 · by [earnestamateur](<https://news.ycombinator.com/user?id=earnestamateur>) · 💬 0
[original](<https://lionshead.digital/notes/the-security-checks-in-every-lionshead-pr>) · [HN discussion](<https://news.ycombinator.com/item?id=48898064>)

## Summary

对于大型企业，数据泄露可能只是糟糕的一个季度，他们有法务、公关和安全团队兜底。但对于像我这样的单人开发者，一次真实的数据泄露就意味着产品的彻底终结。因此，我选择“先自我泄露”——在Lionshead的每一个PR中，我都部署了企业级的安全扫描栈。Trivy负责漏洞与密钥扫描，Gitleaks深挖Git历史中的敏感信息，Checkov和Trivy IaC双重检查基础设施配置，OWASP ZAP对预览环境进行DAST测试，Actionlint则确保GitHub Actions权限无误。这套自动化流程在代码合并前就拦截了所有潜在风险，确保那个“会搞出安全事故的我”永远没有机会上线。

## Key quote

> 所以，我选择先让自己‘泄露’一次。

---

## Cite

- Page: https://zeli.app/zh/story/48898064
- Date: 2026-07-13
- Source: lionshead.digital (https://lionshead.digital/notes/the-security-checks-in-every-lionshead-pr)
- Hacker News: https://news.ycombinator.com/item?id=48898064

## Other languages

- en: https://zeli.app/story/48898064 · markdown: https://zeli.app/story/48898064.md
- ja: https://zeli.app/ja/story/48898064 · markdown: https://zeli.app/ja/story/48898064.md
- ko: https://zeli.app/ko/story/48898064 · markdown: https://zeli.app/ko/story/48898064.md
- de: https://zeli.app/de/story/48898064 · markdown: https://zeli.app/de/story/48898064.md
- es: https://zeli.app/es/story/48898064 · markdown: https://zeli.app/es/story/48898064.md
