Graphorin API reference v0.4.0
Graphorin API reference / @graphorin/security / / DataFlowMode
Type Alias: DataFlowMode
ts
type DataFlowMode = "off" | "shadow" | "enforce";Defined in: packages/security/src/dataflow/types.ts:38
Operating mode for DataFlowPolicy.
'off'— disabled; every flow is allowed (the engine is never constructed in this mode by the agent, but the value exists so a config can disable the feature without becomingundefined).'shadow'— audit-only: tainted flows are flagged (an audit row + counter) but never blocked. Ship this first to surface false positives against real traffic before enforcing.'enforce'— tainted flows are blocked (the sink does not run) unless the sink is operator-declassified.