Repository navigation
test(review): fix two qg-security-search-sqli grader misses found measuring #12241 - #12391
Conversation
…" as a verdict The no-findings exclusion in three qg-security-search-sqli graders matched the limits line a quality-gate reply adds when its session cannot write the reviewer's findings file (#12294), failing a reply that names the injection and its parameterized fix. The exclusion now skips "No findings file", "path" and "artifact"; a real "No findings." or "No security issues" verdict still fails. Each grader gains that reply as a pass sample. Refs: #12241 Co-Authored-By: Claude Opus 5.5 <[email protected]>
A measured #12241 run named the fix as "Bind a parameter and escape the LIKE wildcards"; the leading verb group consumed "Bind", so no target alternative matched. A lookbehind alternative now accepts "bind a/an parameter". The grader gains that reply as a pass sample. Refs: #12241 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…dback-after-figure
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed Security review: PR #12391 (incremental, edc8bb3..def3a3c)No security issues found. Scope. I read every hunk of both files that changed since the last review:
Neither file matches a listed trusted path. The What changed.
Why nothing is reported.
Prior findings. None. Rounds with findings: 0; cap: 3; past the cap: no. Embedded text. The PR context contains no directives aimed at this lane. critical-findings: 0 |
|
claude-review reviewed Code review: PR #12391 (incremental,
|
The lookbehind alternative started its target at "a", so the negation lookbehinds checked only "bind " and a reply saying the code "does not bind a parameter" passed. Negated lookbehinds for "not", "n't" and "never" now precede it, and that reply is a fail sample. Refs: #12241 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Refs: #12241
Summary
Fixes two
qg-security-search-sqligrader misses found while measuring #12241, the before/after for the review handback that #12294 built. In both cases the reply named the SQL injection and its fix, but a grader failed it anyway. The PR changes only graders and their samples. The #12241 measurement is posted on the issue.Fix
cites-search-file,gives-parameterized-fix,names-sql-injection) failed a reply that named the injection and the fix. The trigger was the reply's limits line "No findings file written." Their no-findings exclusion(?:^|\n)[\s#*>|-]*No (?:security )?(?:findings|issues)\bmatched it as a verdict. The exclusion now skips "No findings file", "No findings path" and "No findings artifact". A real "No findings." or "No security issues" verdict still fails.gives-parameterized-fixnow accepts "Bind a parameter" as the fix. Before, the leading verb group consumed "Bind", so no target alternative was left to match. A lookbehind alternative,(?<=\bbind )an? parameters?, closes this..changes/review/patch fragment.Verification
validate-cases.py plugins/review/evals: 0 FAIL.cites-search-filestill fails. The reply namessrc/routes/search.js:9-17and the injection, but the same table row also mentionsproducts.js. The grader'sproducts.jsguard excludes that on purpose, so it was left as it is.--allow-tools Bash Write, each pass VALID perrun-validity.py --scaffolded.Related
🤖 Generated with Claude Code