promptfoo-evaluation
Warn
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The skill instructs the agent to configure and execute local Python scripts through the Promptfoo framework using the
file://URI scheme. - The
SKILL.mdfile provides examples of loading custom assertions fromscripts/metrics.py(e.g.,value: file://scripts/metrics.py:custom_assert). - The
references/promptfoo_api.mdfile describes dynamic test generation where Promptfoo executes a local script to return test cases (e.g.,tests: file://tests/generate.py:get_tests). - This mechanism allows the runtime loading and execution of code from computed or specified local paths.
- [INDIRECT_PROMPT_INJECTION]: The framework is designed to ingest and evaluate untrusted data in the form of LLM outputs.
- Ingestion points: Untrusted data enters the context when Promptfoo captures the response from configured LLM providers (Anthropic, OpenAI, etc.).
- Boundary markers: No explicit boundary markers or "ignore" instructions for the model output are mentioned for the assertion logic.
- Capability inventory: The skill has the capability to execute local scripts and perform network operations via the Promptfoo CLI.
- Sanitization: The skill documentation in
SKILL.mdandscripts/metrics.pysuggests basic sanitization (stripping HTML tags) to improve metric accuracy, but not to prevent instruction injection. - [EXTERNAL_DOWNLOADS]: The skill uses the
npx promptfoo@latestcommand to download and execute the Promptfoo CLI tool from the public npm registry.
Audit Metadata