Skip to content

Graphorin API reference v0.4.0


Graphorin API reference / @graphorin/security / / TaintFlowKind

Type Alias: TaintFlowKind

ts
type TaintFlowKind = "untrusted-to-sink" | "lethal-trifecta";

Defined in: packages/security/src/dataflow/types.ts:54

The kind of tainted data flow the policy detected at a sink.

  • 'untrusted-to-sink' — untrusted content (or a verbatim chunk of it) is being passed into the sink's arguments. The precise, low false-positive signal: direct exfiltration of untrusted content.
  • 'lethal-trifecta' — the conservative signal: a sink fires while both untrusted content and secret-tier data have entered the run, even when no verbatim carry is provable. Catches the paraphrased "untrusted instruction drives a secret exfiltration" case at the cost of more false positives (hence shadow-mode-first + declassification).

Stable