> For clean Markdown of this page, append .md to its URL. For the complete documentation index, see https://www.superagent.sh/llms.txt.


Review whether sensitive backend functions enforce permissions for every caller.

# Privileged operations in backend code


[← Back to attack scenarios](https://www.superagent.sh/docs/products/red-teaming/attack-scenarios)

A privileged operation may have several entry points in the codebase. This scenario checks whether each relevant path enforces the permissions required by the underlying function.

It applies when a repository implements user roles or internal access levels. The report identifies the protected operation and the callable path where the role check failed.

The app lists this scenario as **Reach privileged functions as a low-privilege caller** (`REPO-03`) in [Repository Red Teaming](https://www.superagent.sh/docs/products/red-teaming/repositories).

## Standards and guidance

[OWASP API5:2023 Broken Function Level Authorization (BFLA)](https://api-security.owasp.org/editions/2023/en/0xa5-broken-function-level-authorization/)

---
Source: https://www.superagent.sh/docs/products/red-teaming/attack-scenarios/repository-privileged-operations
Index: https://www.superagent.sh/llms.txt
