Every decision carries a stable NX-xxxx code. Codes are never reused.
Every code except NX-4001, NX-4002 and NX-4003 is a DENY. Each code
links to a page with causes and fixes; the CLI prints the same link.
The security event column is the stable name Nexum emits (span attribute
nexum.security_event, metric nexum_security_events_total{event=…})
for denials worth alerting on.
| Code |
Name |
Meaning |
Security event |
NX-1001 |
grant_missing |
No delegation grant was presented. |
|
NX-1002 |
chain_too_long |
The delegation chain exceeds the maximum supported length. |
|
NX-1003 |
malformed_grant |
A grant could not be parsed. |
invalid_signature |
NX-1004 |
unsupported_algorithm |
A grant or proof uses an algorithm other than EdDSA. |
invalid_signature |
NX-1005 |
invalid_signature |
A signature did not verify. |
invalid_signature |
NX-1006 |
unknown_issuer |
The root grant was issued by an untrusted or unknown issuer. |
unknown_issuer |
NX-1007 |
unknown_key |
The signing key is not published by the issuing trust domain. |
unknown_issuer |
NX-1008 |
grant_expired |
A grant in the chain has expired. |
|
NX-1009 |
grant_not_yet_valid |
A grant in the chain is not yet valid. |
|
NX-1010 |
grant_lifetime_too_long |
A grant’s lifetime exceeds what the trust domain allows. |
|
NX-1011 |
wrong_audience |
A grant is not addressed to this gateway. |
|
NX-1012 |
broken_chain |
A grant does not link to its parent (issuer or parent hash mismatch). |
delegation_amplification_attempt |
NX-1013 |
capability_escalation |
A delegated grant claims capabilities its parent may not delegate. |
delegation_amplification_attempt |
NX-1014 |
resource_escalation |
A delegated grant claims resources outside its parent’s. |
delegation_amplification_attempt |
NX-1015 |
delegation_depth_exceeded |
The parent grant does not permit further delegation. |
delegation_amplification_attempt |
NX-1016 |
lifetime_escalation |
A delegated grant outlives its parent. |
delegation_amplification_attempt |
NX-1017 |
subject_domain_mismatch |
An agent identity is outside the issuing trust domain. |
unknown_issuer |
NX-1018 |
context_escalation |
A delegated grant changes the actor, purpose or audience of its parent. |
delegation_amplification_attempt |
NX-1019 |
limit_escalation |
A delegated grant raises its parent’s value limit. |
delegation_amplification_attempt |
| Code |
Name |
Meaning |
Security event |
NX-2001 |
proof_missing |
No proof of possession was presented. |
|
NX-2002 |
proof_invalid |
The proof of possession is invalid. |
credential_misuse |
NX-2003 |
proof_stale |
The proof of possession is too old or from the future. |
|
NX-2004 |
proof_replayed |
The proof of possession has already been used. |
replay_attempt |
NX-2005 |
proof_binding_mismatch |
The proof is not bound to this grant, gateway or request body. |
credential_misuse |
| Code |
Name |
Meaning |
Security event |
NX-3001 |
agent_revoked |
An agent in the chain has been revoked. |
revoked_credential_use |
NX-3002 |
grant_revoked |
A grant in the chain has been revoked. |
revoked_credential_use |
NX-3003 |
trust_revoked |
Trust in the issuing organization has been revoked. |
revoked_credential_use |
NX-3004 |
key_revoked |
A signing key in the chain has been revoked. |
revoked_credential_use |
| Code |
Name |
Meaning |
Security event |
NX-4001 |
policy_allow |
Allowed by policy. |
|
NX-4002 |
approval_required |
Policy requires human approval for this action. |
|
NX-4003 |
approval_granted |
A matching human approval was presented and consumed. |
|
NX-4004 |
approval_invalid |
The presented approval is unknown, unapproved, expired, used, or for a different request. |
|
NX-4031 |
trust_domain_denies |
The receiving organization does not accept this capability from the issuing organization. |
privilege_escalation_attempt |
NX-4032 |
capability_not_in_chain |
The requested capability was not present in the delegation chain. |
privilege_escalation_attempt |
NX-4033 |
resource_not_in_chain |
The requested resource is outside the delegated resources. |
privilege_escalation_attempt |
NX-4034 |
value_exceeds_grant |
The request value exceeds the limit in the delegation grant. |
privilege_escalation_attempt |
NX-4035 |
policy_deny |
Denied by policy. |
|
NX-4036 |
no_matching_policy |
No policy rule allows this action (default deny). |
|
NX-4037 |
delegation_forbidden_by_policy |
Policy forbids exercising this capability through delegation. |
privilege_escalation_attempt |
NX-4038 |
delegation_depth_policy |
The delegation chain is deeper than policy allows. |
privilege_escalation_attempt |
| Code |
Name |
Meaning |
Security event |
NX-5001 |
invalid_request |
The request could not be normalized. |
|
NX-5002 |
policy_unavailable |
The policy decision point failed; failing closed. |
enforcement_failure |
NX-5003 |
audit_unavailable |
The audit log could not be written; failing closed. |
enforcement_failure |
NX-5004 |
state_unavailable |
Local state (revocations/approvals) is unavailable; failing closed. |
enforcement_failure |