# ReasonGate: LLM 可解释防注入安全网关

Original title: Show HN: ReasonGate- An explainable gate that blocks LLM prompt injection

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

▲ 7 · by [Cagritemel](<https://news.ycombinator.com/user?id=Cagritemel>) · 💬 11
[original](<https://github.com/cgrtml/reasongate>) · [HN discussion](<https://news.ycombinator.com/item?id=48941051>)

## Summary

ReasonGate 是一款专为 LLM 应用打造的可解释安全网关，能在模型调用前精准拦截提示词注入攻击。它不仅提供拦截结果，更会为每一次决策生成可审计的清晰理由，涵盖直接攻击、间接注入及数据泄露等场景。作为零依赖的纯 Python 核心，它支持规则与 ML 混合检测，确保在 Air-gapped 环境下也能运行，让安全决策透明可信，完美适配合规审计需求。

## Key quote

> 无法解释的拦截就无法上线，ReasonGate 不仅阻断攻击，更告诉你触发信号、匹配内容及最相似的已知攻击模式。

---

## Cite

- Page: https://zeli.app/zh/story/48941051
- Date: 2026-07-16
- Source: github.com (https://github.com/cgrtml/reasongate)
- Hacker News: https://news.ycombinator.com/item?id=48941051

## Other languages

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