GenAI-Data-Security-Initiative icon indicating copy to clipboard operation
GenAI-Data-Security-Initiative copied to clipboard

[scanner] P02.5: make credential assignment quote-optional

Open emmanuelgjr opened this issue 4 months ago • 0 comments

Control: DSGAI02 · Classification: VALUE-BEARING

Same quote-optional fix as the rest of the P02.x family (insert ? after the quote class) so unquoted assignments are caught. Confirm the exact provider / env-var names from rules/dsgai-rules.yaml once PR-03 lands, add a positive (unquoted) and negative fixture case. 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).

emmanuelgjr avatar Jul 18 '26 04:07 emmanuelgjr