monitoring-splunk
Warn
Audited by Gen Agent Trust Hub on Oct 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The
splunk_searchhelper function inSKILL.mdis vulnerable to shell command injection. The variable${spl}is interpolated directly into a shell command that executespython3 -cwithout proper escaping. If a search query contains shell metacharacters such as backticks or$(), the shell will execute those commands on the host machine. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from Splunk logs and search results, which can be manipulated by attackers to influence agent behavior.
- Ingestion points: Data returned by the
splunk_apiandsplunk_searchfunctions inSKILL.md. - Boundary markers: Absent. The skill instructions do not specify any delimiters or warnings to differentiate between system instructions and log content.
- Capability inventory: The skill possesses the ability to perform network operations via
curland execute local code viapython3. - Sanitization: Absent. Results are parsed by
jqbut the raw text content of logs is not sanitized or filtered before being presented to the agent. - [DYNAMIC_EXECUTION]: The skill uses
python3 -cfor runtime utility tasks (URL encoding). This pattern creates a dynamic execution surface that, when combined with the lack of input sanitization in the shell script, allows for potential code injection.
Audit Metadata