promptfoo-redteam
Warn
Audited by Socket on Oct 24, 2026
1 alert found:
AnomalyAnomalyscripts/compare-models.mjs
LOWAnomalyLOW
scripts/compare-models.mjs
This CLI evaluates model responses to safety prompts using configured providers and promptfoo. It passes the inherited environment and configured API key(s) to an npx-installed, unpinned promptfoo@latest process, which can expose credentials to that dependency and sends prompts to configured provider endpoints; no fixed suspicious domain is present. It also recursively deletes ~/.promptfoo-rterm-compare, including pre-existing contents. Severity is moderate due to runtime execution of an unpinned package, environment exposure, and the fixed-directory cleanup; no clear malicious behavior is established.
Confidence: 96%Severity: 55%
Audit Metadata