Skip to content

Graphorin API reference v0.7.0


Graphorin API reference / @graphorin/security / / isUntrustedTrustClass

Function: isUntrustedTrustClass()

ts
function isUntrustedTrustClass(trustClass): boolean;

Defined in: packages/security/src/dataflow/derive.ts:28

Whether a tool trust class is an UNTRUSTED-content source (W-101). The single definition shared by the taint engine (deriveTaintLabel) and the Rule-of-Two untrustedInput leg - the two layers must never disagree about what "untrusted" means.

Parameters

ParameterType
trustClassToolTrustClass

Returns

boolean

Stable