accessing-github-repos
Fail
Audited by Gen Agent Trust Hub on Sep 21, 2026
Risk Level: HIGHCREDENTIALS_UNSAFECOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The skill implements automated logic specifically designed to harvest sensitive credentials from the environment.
- The
get_github_auth()function inSKILL.mdscans multiple environment variables (GITHUB_PAT,GH_PAT,GITHUB_TOKEN,GH_TOKEN) and explicitly opens sensitive file paths such as/mnt/project/.envand/mnt/project/github.envto extract secrets. - [DATA_EXFILTRATION]: The skill provides the necessary mechanisms to move data from the local environment to a remote server.
- The
push_filePython function and thecurl -X PUTBash examples allow the agent to upload arbitrary content to GitHub repositories. When combined with the automated credential detection, this creates a high-risk path for exfiltrating local source code or configuration data. - [COMMAND_EXECUTION]: The skill provides numerous pre-written shell commands for the agent to execute in the local environment.
SKILL.mdcontains multiple examples usingcurlandbashto interact with network services, download repository archives, and manipulate the local filesystem (e.g., extracting archives withtar -xzf).- [EXTERNAL_DOWNLOADS]: The skill facilitates downloading code and data from external domains.
- It utilizes
api.github.comandraw.githubusercontent.comto fetch individual files and repository tarballs. Although these are well-known services, the skill enables the retrieval and potential execution of content from these remote sources. - [INDIRECT_PROMPT_INJECTION]: The skill possesses a vulnerability surface for indirect prompt injection through the ingestion of external data.
- Ingestion points: The
fetch_filefunction andcurlcommands ingest data directly from remote GitHub repositories. - Boundary markers: None. Fetched content is processed as raw data or code without delimiters or instructions to ignore embedded commands.
- Capability inventory: The skill possesses file-writing capabilities, network access, and shell execution permissions.
- Sanitization: There is no evidence of sanitization or validation of the content retrieved from external sources before it is processed by the agent.
Recommendations
- AI detected serious security threats
Audit Metadata