Graphorin API reference v0.15.1
Graphorin API reference / @graphorin/security / / isUntrustedTrustClass
Function: isUntrustedTrustClass()
ts
function isUntrustedTrustClass(trustClass): boolean;Defined in: packages/security/src/dataflow/derive.ts:34
Stable
Whether a tool trust class is an UNTRUSTED-content source. 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
| Parameter | Type |
|---|---|
trustClass | ToolTrustClass |
Returns
boolean