altimate-code
altimate-code copied to clipboard
chore: tracker-leak pre-push scanner needs CI-side backstop + wider coverage
Found during v0.9.7 release review (CTO + Chaos Gremlin personas), and already self-disclosed in the originating commit (205a953d62 / PR #1085).
The pre-push tracker-leak scanner (script/check-tracker-leaks.ts) currently:
- Covers exactly two patterns: Jira key (
\bAI-\d+) and thealtimateai.atlassian.nethostname. - Has no CI-side mirror — the originating PR deferred this because the session's token lacked
workflowscope to add.github/workflows/*. - Is bypassable via
SKIP_TRACKER_CHECK=1or simply never installed (git config core.hooksPath .huskyis opt-in).
A contributor merging via the GitHub UI, the API, or without the hook installed gets zero enforcement today. The scanner's own docs ('public repo hardening') can read as more comprehensive than it is.
Suggested follow-up:
- Add a CI job mirroring the pre-push check (needs a workflow-scoped token).
- Widen
RULESto cover other internal-only hostnames referenced in this repo's own.claude/rules/*(e.g.onealtimate.com), not just the Atlassian one. - Consider whether customer/tenant name patterns or credential-shaped strings (AWS keys, connection strings) belong in scope, or should be a separate secret-scanning tool.
Closing as fixed on main: #1232 added a CI tracker-leaks job, and the scanner now covers the internal hostname as well as tracker keys. Please reopen if you still see this on v0.12.9 or later.