Reduce FP for actor/association checks that cannot be bypassed this way

This commit is contained in:
Alvaro Muñoz
2024-05-16 10:28:24 +02:00
parent 1b4246e7f1
commit e28ad1d644
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ import actions
import codeql.actions.security.UntrustedCheckoutQuery
import codeql.actions.security.PoisonableSteps
from ControlCheck check, MutableRefCheckoutStep checkout
from LabelControlCheck check, MutableRefCheckoutStep checkout
where
// the mutable checkout step is protected by an access check
check = [checkout.getIf(), checkout.getEnclosingJob().getIf()] and

View File

@@ -15,7 +15,7 @@ import actions
import codeql.actions.security.UntrustedCheckoutQuery
import codeql.actions.security.PoisonableSteps
from ControlCheck check, MutableRefCheckoutStep checkout
from LabelControlCheck check, MutableRefCheckoutStep checkout
where
// the mutable checkout step is protected by an access check
check = [checkout.getIf(), checkout.getEnclosingJob().getIf()] and