True only when every detector ran and found nothing. It is false when a
threat was found, and also when a detector threw (see stats.degraded).
Time taken in milliseconds
Single roll-up risk assessment derived from the dominant threat. none
when no threat was found. Lets integrators decide with one comparison
(if (result.riskLevel === 'critical') block()).
Sanitized version of the content with threats neutralized
Summary stats
Optionaldegraded?: booleanTrue when at least one detector threw during this scan, so the content
was not fully checked. Present only then. clean is false on a
degraded scan even when no threat was found, and riskLevel still
reflects only the threats that were found.
OptionaldetectorsSkipped?: { detectorId: string; reason: string }[]Detectors that ran but could not judge this input (see DetectorResult.skipped). Present only when at least one did.
OptionalfailedDetectors?: string[]Ids of the detectors that threw. Present only when degraded is true.
All detected threats, sorted by severity desc
The result of scanning one piece of content for agent traps.