gitlab-public-recon

Fail

Audited by Gen Agent Trust Hub on Nov 10, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill contains a pattern where the output of a curl request to a user-provided target is piped directly into a python3 interpreter for processing. Specifically, the GitLab API version endpoint is queried and the resulting JSON is passed to Python for parsing. This creates a critical vulnerability where a malicious or compromised GitLab instance could return crafted content that executes arbitrary code on the agent's system.
  • [COMMAND_EXECUTION]: The skill makes extensive use of shell commands such as curl, jq, grep, and python3 to interact with remote APIs and process local data. Multiple instances involve piping remote data into command-line interpreters or utilities, increasing the risk of command injection.
  • [DATA_EXFILTRATION]: The primary purpose of the skill is to identify, extract, and save sensitive data including API keys, CI/CD tokens, database credentials, and environment files from external GitLab instances to the local environment. While this is the tool's intended function, it represents a high risk of sensitive data exposure and potential exfiltration if misused.
  • [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted data from external GitLab repositories. Ingestion points: Untrusted data enters the agent context via the GitLab API (project lists, repository trees) and raw file downloads in SKILL.md. Boundary markers: Absent. The skill does not employ delimiters or instructions to prevent the agent from following malicious commands embedded in downloaded files. Capability inventory: The skill uses curl, python3, grep, and jq via shell execution, and performs file-write operations. Sanitization: Absent. Content from external files is directly processed and displayed without escaping or validation.
  • [DYNAMIC_EXECUTION]: The skill uses python3 -c to execute dynamically constructed Python strings for tasks like JSON parsing and URL encoding. In Phase 3, shell variables are interpolated into Python command strings for URL encoding, which is a risky practice that could lead to command injection if the variables are manipulated.
Recommendations
  • HIGH: Downloads and executes remote code from: https://$TARGET/api/v4/version - DO NOT USE without thorough review
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 10, 2026, 02:59 PM