[bug] Vigil SECURITY_TEXT misses "key leaked": a leaked-credential alert is held in…
维护者通常 4 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 新手友好度
- 85/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
- 领域
- security
调研方向
从 LIFEOS/VIGIL/Route.ts 第 86 行附近开始,jobClass 的 leak 分支会匹配 leaked (key|token|credential)s?,并阅读第 85 行周围 ALWAYS_SEND 的逻辑。通过 jobClass(id, text) 和 jobRoute(..., { policy: DEFAULT_POLICY, quiet: true }) 复现 issue 中的三个案例,然后放宽 regex 以接受名词在前的顺序。当两种 leaked-credential 表述都返回 security/text,且 control 加上非 credential 短语仍然不匹配时,就算完成。
由索引模型根据 Issue 内容生成。
描述
What happened
Vigil does not treat 'API key leaked' as a security alert; only 'leaked key' word order is caught, so the alert is held in quiet hours
Summary
LIFEOS/VIGIL/Route.ts:86 matches the leak branch only as leaked (key|token|credential)s?, i.e. the adjective before the noun. The natural report order puts the noun first, so jobClass returns ops and jobRoute holds it during quiet hours, although security is in ALWAYS_SEND (Route.ts:85).
Repro with jobClass(id, text) + jobRoute([...], { policy: DEFAULT_POLICY, quiet: true, ... }):
"Our API key leaked, rotate it now"-> classops, actionheld(expectedsecurity/text)"A token was leaked in the logs"-> classops, actionheld(expectedsecurity/text)- control:
"Leaked key found in the repo"->security/text
Suggested fix: accept both orders, e.g. leaked (key|token|credential|secret|password)s?|(key|token|credential|secret|password)s? (is |are |was |were |has been |have been |got )?leaked. It still does not match "The keyboard leaked water".
Details
- Kind: bug
- LifeOS version: 8.761.0
Filed with the LifeOS /feedback command. The reporter approved this exact text before it was sent; paths, secrets and personal details were stripped locally.
- 主要语言
- TypeScript
- 星标
- 19.9k
- 派生
- 2.5k
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
danielmiessler/LifeOS 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
danielmiessler/LifeOS#2941 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
danielmiessler/LifeOS#2940 ·
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 74/100
danielmiessler/LifeOS#2939 ·
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 90/100
danielmiessler/LifeOS#2936 ·
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 78/100
danielmiessler/LifeOS#2935 ·
维护者通常 4 天内回复
查看 danielmiessler/LifeOS 的全部 Issue
相似的 Issue
-
[Bug]: OpenCode v2 skips an assistant message that gains text after an earlier capture可能已有人在做 @jianyx1 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
volcengine/OpenViking#8354 ·
维护者通常 1 天内回复
-
frontend: Job: Details do not show completed or failed indexes or the per-index backoff limits可能已有人在做 @arshil42 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
kubernetes-sigs/headlamp#8630 ·
维护者通常 1 天内回复
-
bug from-app needs-triage
难度 2/5 1-3 小时 新手友好度 62/100
nightly-labs/openbot#15640 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
-
comp/desktop desktop/settings P2 tool/skills type/perf
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#159515 ·
维护者通常 1 天内回复