You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG]: Gitleaks allowlist skips any path containing the substring "test" #92
(.*)?test(.*)? matches any path whose string contains test. latest contains test (characters t-e-s-t). Same for attestation and contest.
Expected: production paths such as scripts/latest.py or a skill folder named data-latest are scanned for secrets.
Actual: Gitleaks never reports a finding on those paths. The secrets gate can come back clean for files whose names happen to contain test as a substring.
This is fail-open for a default Tier 1 check (code-integrity runs SecretsValidator). The same over-broad shape applies to example, fixture, and mock.
Reproduction steps
No Gitleaks binary required for the allowlist itself. On current main:
If Gitleaks is installed, the same allowlist is what validate --checks code-integrity feeds it. A finding under scripts/latest.py is skipped. The same contents under scripts/prod.py are not. I am not attaching sample secret material here. The regex/config assert above is enough to show the path skip.
SkillEvaluator version or commit
009aa300be7925c7ba75760592baeb941cc29ba8 (0.2.1)
Environment
macOS 15, arm64
Python 3.12.2 via uv sync --python 3.12 --all-extras from a clone of this repo
Gitleaks not required for the regex/config repro above
I have searched the open issues and found no duplicate of this report
Happy to send a PR that tightens the path allowlist to real test/example/fixture directories (and adds a regression for latest / attestation) if that would be useful.
Activity
fix: skip gitleaks test dirs, not substring names (NVIDIA#102)