Skip to content

AAK-TRUST-006: Project settings may override user deny rules

Severity
MEDIUM
Category
Trust Boundaries (trust-boundary)
Scanner
agent_audit_kit/scanners/trust_boundary.py
Auto-fixable
No.
SARIF name
ProjectOverridesUserDeny

What it detects

Project settings have permission allows that could shadow user-level deny rules. Misconfigurations can create a false sense of security.

How to fix

Audit that project allows don't re-enable operations the user intended to block.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-TRUST-006

Limitations

Counts an allow entry only when its text contains Bash, Edit, Write, Read or mcp__. Allowing WebFetch or Task with no deny list is not reported.

References


All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-TRUST-006.md: the page then shows that text, with the registry reference appended under it.