Repository navigation
triage: mandatory Security Model citation + closed-tracker precedent search - #149
Merged
Merged
Conversation
…search Adds two pre-classification steps to security-issue-triage: Step 2.5 — Apply the Security Model verbatim. The classifier must quote the relevant 2-3 sentences of the project's Security Model and explain how the tracker maps to (or escapes) that wording. A trust-boundary cheat-sheet codifies the common attacker/target combinations into default dispositions, so the classifier cannot skip the boundary analysis silently. Step 2.6 — Closed-tracker precedent search. Extends the existing fuzzy-dup search (Step 2a in security-issue-import) to look for closed 'invalid' / 'not CVE worthy' / 'duplicate' trackers — and CVE-allocated positive precedents — for the same fuzzy keys. A STRONG rejection precedent lowers proposal confidence and often swings the disposition from VALID to NOT-CVE-WORTHY. Motivation: a 2026-05-14 triage sweep against airflow-s/airflow-s got 8 of 9 trackers' first-pass classification wrong — proposed VALID for cases that had direct NOT-CVE-WORTHY precedents (e.g. airflow-s#258 for the __classname__→import_string pattern, airflow-s#215/apache#237 for cross-DAG-read via Execution API). The misclassifications were only caught after the human triager pushed back twice asking the assistant to read the Security Model deeply and check past similar issues. This PR codifies both as mandatory pre-classification steps. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
potiuk
force-pushed
the
triage-prelim-checks
branch
from
May 14, 2026 12:52
32205f6 to
f81df2d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds two mandatory pre-classification steps to
security-issue-triage:Motivation
In a 2026-05-14 triage sweep against
airflow-s/airflow-s, the first-pass classification got 8 of 9 trackers wrong — proposed VALID/DEFENSE-IN-DEPTH for cases that had direct NOT-CVE-WORTHY precedents (e.g. airflow-s#258 for the__classname__ → import_stringpattern, airflow-s#215 / #237 for cross-DAG-read via Execution API). The misclassifications were caught after a second round of human pushback ("check past similar issues; read the Security Model deeply"). This PR codifies "read the Security Model deeply" and "check past similar issues" as mandatory steps in the skill instead of relying on the human to push back.Test plan
/security-issue-triageagainst airflow-s#404-feat(github-body-field): rewrite one issue-body field out-of-context #412 (the cases that originally tripped this) and confirm the new Step 2.5 trust-boundary cheat-sheet produces the correct first-pass dispositions for each.import_string()with attacker-controlled classnames inside the Triggerer / parser / worker pool.gh search issuesagainst a closed tracker label that doesn't exist (e.g.closed:invalid-but-no-matches) to confirm the empty case is handled cleanly.gh searchcalls per tracker stay within the documented ≤5 envelope (the new closed search shares the same 5-call cap with the existing open search).🤖 Generated with Claude Code