superagent_

// products

Approval and state transitions in code

[ view markdown ]

← Back to attack scenarios

A state change may depend on completing a previous step or getting approval for specific terms. This scenario examines whether the backend enforces those conditions wherever it performs the transition.

Use it for repositories with approvals or transactional workflows. The report can connect an invalid state change to the code path that allowed it.

The app lists this scenario as Bypass approval, transaction binding, or state ordering (REPO-06) in Repository Red Teaming.

Standards and guidance

CWE-841 Improper Enforcement of Behavioral Workflow