Skip to content

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

PropertyModifierTypeDescriptionDefined in
externalSideEffectsreadonlybooleanMay the agent take external side effects (write / send / deploy)?packages/security/src/policy/tool-argument-policy.ts:135
sensitiveDatareadonlybooleanMay the agent read sensitive data (secrets / PII)?packages/security/src/policy/tool-argument-policy.ts:133
untrustedInputreadonlybooleanMay the agent ingest untrusted input (web / MCP / untrusted skills)?packages/security/src/policy/tool-argument-policy.ts:131