Skip to content

test: per-family detection corpus and gitleaks parity harness (#49, #50) - #54

Merged
aksOps merged 2 commits into
mainfrom
feat/measured-detection
Aug 7, 2026
Merged

test: per-family detection corpus and gitleaks parity harness (#49, #50)#54
aksOps merged 2 commits into
mainfrom
feat/measured-detection

Conversation

@aksOps

@aksOps aksOps commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

First two tickets of the v1.6 map (#48). Measurement only - no rule file changes, enforced and verified.

Corpus (#49)

Five new families, 258 new manifest rows (551 total, 60 files). Floors are now per-family, set to the measured value at introduction; precision stays a global 1.0 on classified rows:

family recall floor known gap
core 0.9881 0.9880 -
keys 1.0000 1.0000 -
k8s 0.8333 0.8333 #53 (kubernetes-secret-yaml not yet recovered)
xml 0.5926 0.5925 #51 (unmeasured markup allowlist)
urls 0.4783 0.4782 #44 (all-vocabulary passwords)

The low floors are the point: they are the measured shape of the deferred debts, and the tickets that close them now have a number to move.

Verified independently of the authoring agents: 903 workspace tests, corpus suite 6/6, fmt and clippy clean, zero rule files touched, and the committed corpus scans raw-clean (0 findings on unmaterialized markers - push-protection-safe, same as before).

Parity harness (#50)

scripts/parity_gitleaks.py: checksum-pinned gitleaks 8.30.1, directory mode, joins findings by (file, line), buckets every delta (siloscan-missing / siloscan-extra / both-different-rule / agree). stdlib only, manual execution per the #50 resolution.

First leaky-repo results are already interesting: the .docker auth-blob misses appear as siloscan-missing against gitleaks' generic-api-key - the rule we deliberately excluded now has a measured cost. Disposition lands on #50, not here.

Baselines recorded on #49: registry tree 434 findings / 84,063 files / 241s; leaky-repo 17 of 43 seeded files detected.

…ty harness

Five new shape families under tests/corpus/tree: xml (probing the
markup allowlist), k8s (including base64 data: values), urls
(all-vocabulary passwords), noise-code (amalgamations, generated
bindings) and noise-artifacts (lockfiles, minified, certificates).
551 manifest rows total, 258 new.

The harness now enforces a recall floor per family, set to the value
measured at introduction, with precision a global 1.0 on classified
rows. Known gaps start low by design: urls 0.4783 (#44), xml 0.5926
(#51), k8s 0.8333 (#53). No rule file changes.

scripts/parity_gitleaks.py diffs siloscan against a checksum-pinned
gitleaks 8.30.1 in directory mode and buckets every delta.
@socket-security

socket-security Bot commented Aug 7, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addednuget/​newtonsoft.json@​13.0.39410090100100

View full report

Comment thread scripts/parity_gitleaks.py Fixed
@aksOps
aksOps merged commit ffd1620 into main Aug 7, 2026
14 checks passed
@aksOps
aksOps deleted the feat/measured-detection branch August 7, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants