Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/agent / / guardOutboundContent
Function: guardOutboundContent()
ts
function guardOutboundContent(
input,
boundary,
cfg?): GuardOutcome;Defined in: packages/agent/src/lateral-leak/protocol-guard.ts:169
Apply the configured escape policy to a single string body. Pure — never mutates inputs.
Parameters
| Parameter | Type |
|---|---|
input | string |
boundary | ProtocolBoundary |
cfg | ProtocolGuardConfig |