Skip to content

ci(codeql): exclude deterministic test-vector fixtures from analysis - #225

Merged
imran-siddique merged 1 commit into
mainfrom
ci/codeql-ignore-test-vectors
Jul 20, 2026
Merged

ci(codeql): exclude deterministic test-vector fixtures from analysis#225
imran-siddique merged 1 commit into
mainfrom
ci/codeql-ignore-test-vectors

Conversation

@imran-siddique

Copy link
Copy Markdown
Contributor

What

Adds a CodeQL paths-ignore for python/tests/vectors/** so the conformance vector generator is not scanned by the security-extended query pack.

Why

The vector generator (python/tests/vectors/generate.py) uses a fixed, documented, non-secret Ed25519 test seed (bytes 00..1f, marked never for production) and deliberately never writes private key material to disk. It publishes only the public key and key_id. The py/clear-text-storage-sensitive-data query flags this fixed test seed as a false positive.

Since pull_request runs use the base branch workflow, this exclusion has to land on main to clear the check on contributor PRs. It unblocks #199 (language-neutral verification conformance vectors), which is otherwise a clean, well-tested contribution held only by this false positive.

Production code stays fully scanned; only the deterministic test fixtures are excluded.

Co-Authored-By: Claude Opus 4.8 (1M context) noreply@anthropic.com

The conformance vector generator (python/tests/vectors/generate.py) uses a
fixed, published, non-secret seed and never writes private key material to
disk, so the clear-text-storage query flags a false positive. Exclude the
test-vector fixtures; production code stays fully scanned. Unblocks #199.
@imran-siddique
imran-siddique merged commit 4650a58 into main Jul 20, 2026
2 checks passed
@imran-siddique
imran-siddique deleted the ci/codeql-ignore-test-vectors branch July 29, 2026 23:20
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.

1 participant