Graphorin API reference v0.7.0
Graphorin API reference / @graphorin/security / / RuleOfTwoProfile
Interface: RuleOfTwoProfile
Defined in: packages/security/src/policy/tool-argument-policy.ts:129
Capability profile for the Rule-of-Two preset. Declares which of the three trifecta legs the agent is permitted to hold this session. The dangerous configuration is holding all three; a well-formed profile drops at least one.
Stable
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
externalSideEffects | readonly | boolean | May the agent take external side effects (write / send / deploy)? | packages/security/src/policy/tool-argument-policy.ts:135 |
sensitiveData | readonly | boolean | May the agent read sensitive data (secrets / PII)? | packages/security/src/policy/tool-argument-policy.ts:133 |
untrustedInput | readonly | boolean | May the agent ingest untrusted input (web / MCP / untrusted skills)? | packages/security/src/policy/tool-argument-policy.ts:131 |