Skip to content

Graphorin API reference v0.15.1


Graphorin API reference / @graphorin/security / / RuleOfTwoProfile

Interface: RuleOfTwoProfile

Defined in: packages/security/src/policy/tool-argument-policy.ts:249

Stable

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.

Properties

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