k6
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute shell commands to manage the testing lifecycle. Specifically,
SKILL.mdusesk6 runandk6 inspectfor script validation. It also usesscript(a standard utility) to wrap CLI documentation calls to simulate a TTY environment for non-interactive execution. - [EXTERNAL_DOWNLOADS]:
SETUP.mdprovides instructions for the agent to installxk6viago installand build a documentation extension fromgithub.com/grafana/xk6-subcommand-docs. These actions target official Grafana and k6 repositories, which are trusted sources for the intended functionality. - [REMOTE_CODE_EXECUTION]: Several examples (e.g.,
examples/browser.js,examples/functional.js) import external libraries fromjslib.k6.io. This is the standard, official content delivery network for k6 helper libraries and is expected behavior for the tool. - [DATA_EXFILTRATION]:
examples/cloud.jsdemonstrates how to stream test results to Grafana Cloud. This is a core feature of the k6 ecosystem for result storage and visualization, and uses user-provided API tokens for authentication. - [INDIRECT_PROMPT_INJECTION]: The skill involves reading external data from documentation sources (either via the
k6 x docsCLI or fromgrafana.com). While this creates a surface for indirect injection, the sources are official vendor platforms, and the skill includes guidance on how to parse and utilize this information safely within the script generation workflow.
Audit Metadata