Repository navigation
fix(bot): scan precision - quoted secrets only, low-risk paths to nit - #18
Conversation
Verdict matrix
Sensitive paths
Deterministic pre-checks
gateway_safetyVERDICT: APPROVE No BLOCKING findings (no secret leaks, no auth bypasses, no broken wire shapes, no regressions to [provider] invariants). NITS:
All changes preserve recall for real leaks (quoted pasted secrets + separate forbidden-file check for api_compatAPI Compatibility ReviewThis PR modifies only the GitHub bot's repository scanner ( Checklist evaluation
No [provider] code is affected; all eight compatibility invariants are preserved. Deterministic pre-findings triageThe three pre-findings ( FindingsBLOCKING: (none) SHOULD_FIX:
NITS:
Test gap noteNo cross-protocol regression risk — this PR is entirely within the bot/scanner subsystem. The 38 Python tests cover the changed logic. No TypeScript [provider] tests are affected or need updating. VERDICT: APPROVE The changes are scoped entirely to the bot scanner's precision tuning and do not touch any [provider] runtime, wire shapes, or API compatibility surfaces. The should-fix items are minor robustness concerns, not blockers. docs_configVERDICT: APPROVE BLOCKING: None
SHOULD_FIX: None NITS: None Matrix gap closure — files that must change: none. Checked:
FINAL_VERDICT: APPROVE Session: response_id=1528ca6b-1bef-9426-a795-8dc61486fb5d,resp_req_vrtx_011CetUCLcG41LjCJxJawAtv,chatcmpl-f5bf5235-cf69-4aaf-bd96-f3b5904cbd7a (chain via previous_response_id, 30min TTL). model=[model] provider=[provider]. |
First live ai-scan dry_run produced 3 false positives (bare code assignment, unquoted yml env line, test fixture). Two precision tunings: (1) secret patterns require quoted assignments (bare code and unquoted env lines no longer match; committed .env still caught by forbidden-file check); (2) secret-pattern hits under tests/docs/yml/md downgrade to nit so real findings sort first (fingerprints unchanged, dedupe unaffected). 38 python tests green.