NX-4032 CAPABILITY_NOT_IN_CHAIN
DENY · stage: authority · security event: privilege_escalation_attempt
The requested capability was not present in the delegation chain.
Why it happens
Section titled “Why it happens”The leaf grant doesn’t carry the requested capability. For a delegated agent: its parent never delegated it.
How to fix it
Section titled “How to fix it”Request authority that includes the capability, e.g. --cap <action> on issue, or --delegatable on the parent and --cap on the delegation.
Why Nexum checks this
Section titled “Why Nexum checks this”The presenting agent can only use authority its own grant carries. This is what stops a compromised sub-agent or a prompt-injected model from exceeding what it was given.
Investigate
Section titled “Investigate”nexum audit search --decision DENYnexum trace inspect <request-id> # which check decided, and the delegation pathSee all reason codes.