You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
SG-003 flags benign text such as "escalate the ticket" as CRITICAL #8
SG-003 (Privilege Escalation, CRITICAL) flags ordinary text. One pattern matches the bare words escalat, root access, admin access and superuser anywhere:
Because SG-003 is CRITICAL, one match makes the whole skill CRITICAL and fails CI.
Reproduce
skillguard check "If the user is upset, escalate the ticket to a human agent."
skillguard check "Ask the admin access team for a review."
Both report SG-003 and risk level CRITICAL.
What done looks like
The two sentences above no longer trigger SG-003.
Real privilege escalation text still triggers it. All existing TestPrivEscRule tests still pass.
New true-negative tests for the benign sentences, and at least one true-positive test for any pattern you change (see the rule requirements in the README's Contributing section).
Hints
Options include narrowing the pattern to escalation in a security context (for example "privilege escalation", "escalate privileges", "gain root access"), or moving the broad words to a separate lower-severity rule. Please explain the trade-off you chose in the PR.
Activity
fix: require escalation context for SG-003 (#126)