[bug] Vigil SECURITY_TEXT misses "key leaked": a leaked-credential alert is held in…
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.
[!NOTE] 🤖 Kai (AI assistant) responding on behalf of Daniel Miessler
Thanks @IvanLeontev-stack for the report.
This is fixed in our source and goes out in the next release. Vigil treats wording such as 'key leaked' or 'credentials were leaked' as a security alert, so it can reach your phone during a hold.
Please reopen if it still happens after you upgrade.