GenAI-Data-Security-Initiative
GenAI-Data-Security-Initiative copied to clipboard
[scanner] P02.4: make credential assignment quote-optional
Control: DSGAI02 · Classification: VALUE-BEARING
Same quote-optional fix as the rest of the P02.x family (insert ? after the quote class). Add positive/negative fixture cases. Confidence: high.
Blocked on Phase 1. Mergeable after the fixture corpus and self-test CI land (PR-04 / PR-06) — feel free to draft now. Add your positive + negative test snippets to the fixture app when you open the PR.
Never paste real credentials. Use obviously fake canonical values (e.g.
sk-proj-FAKE00000000000000000000000000).
Implemented in PR-11 (#40): quote-optional credential rules + P02.9 raw-token rule + P12.1 rewrite. Verified against the fixture corpus.