Commit ab9c544
committed
chore(oracle): annotate two test-fixture strings to clear governance false-positive
src/oracle/src/lib.rs has two test fixtures that contain string
literals representing hardcoded secrets the oracle should *reject*:
- line 732: password = "supersecretpassword123"
- line 1051: const API_KEY = "abcdef1234567890abcdef"
The governance/secret-detector grep was matching these as real
secrets, but the secondary filter (grep -v
'example|sample|test|mock|placeholder') wasn't catching them because
the lines lacked any of those words.
Adding 'example test fixture' inline comments — single-line addition
each — so the filter excludes them. Semantics unchanged.1 parent 397591b commit ab9c544
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
729 | 729 | | |
730 | 730 | | |
731 | 731 | | |
| 732 | + | |
732 | 733 | | |
733 | 734 | | |
734 | 735 | | |
| |||
1048 | 1049 | | |
1049 | 1050 | | |
1050 | 1051 | | |
| 1052 | + | |
1051 | 1053 | | |
1052 | 1054 | | |
1053 | 1055 | | |
| |||
0 commit comments