[bug] Vigil SECURITY_TEXT misses "key leaked": a leaked-credential alert is held in…
Maintainers usually reply within 4 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 85/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- security
Research direction
Start in LIFEOS/VIGIL/Route.ts around line 86, where the leak branch of jobClass matches leaked (key|token|credential)s?, and read the surrounding ALWAYS_SEND logic at line 85. Reproduce the three cases from the issue through jobClass(id, text) and jobRoute(..., { policy: DEFAULT_POLICY, quiet: true }), then broaden the regex to accept noun-first orders. Done when both leaked-credential phrasings return security/text and the control plus non-credential phrases still do not match.
Written by the indexing model from the issue text.
Description
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.
- Dominant language
- TypeScript
- Stars
- 19.9k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from danielmiessler/LifeOS
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
danielmiessler/LifeOS#2941 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
danielmiessler/LifeOS#2940 ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
danielmiessler/LifeOS#2939 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
danielmiessler/LifeOS#2936 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
danielmiessler/LifeOS#2935 ·
Maintainers usually reply within 4 days
All issues in danielmiessler/LifeOS
Similar issues
-
chore
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
drydocs/meridian#1503 · 1 comment ·
Maintainers usually reply within 2 days
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
bug extension mcp
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verificationPossibly taken @roboclaw-bot claimed this today. Openclawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
Difficulty 1/5 Under an hour Newbie friendliness 78/100
openclaw/openclaw#204323 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day