python-supply-chain
Pass
Audited by Gen Agent Trust Hub on Jul 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/check_supply_chain.pyusessubprocess.runto invoke theghCLI. This functionality is used to programmatically query repository metadata, security status, and vulnerability alert configurations directly from GitHub. - [EXTERNAL_DOWNLOADS]: The skill instructs the agent to download and utilize security tools from official package registries and well-known services.
- It utilizes
uvxto fetch and runpip-auditandcyclonedx-bomfrom PyPI. - It uses the
ghCLI to interact with the GitHub API for repository configuration, SBOM generation, and security auditing. - [REMOTE_CODE_EXECUTION]: The skill uses
uvxto download and executepip-auditandcyclonedx-pydirectly from PyPI. These tools are executed with pinned versions (==2.7.3and==4.4.3respectively) to mitigate the risk of adopting recently published malicious releases. - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it ingests untrusted data from a local repository and possesses significant execution capabilities.
- Ingestion points: The
scripts/check_supply_chain.pyscript reads multiple configuration files from the target repository, including.github/dependabot.yml, lockfiles (e.g.,uv.lock,poetry.lock),CODEOWNERS, and GitHub Actions workflow files. - Boundary markers: The skill does not implement explicit delimiters or "ignore embedded instructions" warnings when the agent processes the content of these external files.
- Capability inventory: The skill can execute shell commands via
subprocess.run, perform authenticated GitHub API operations via theghCLI, and run Python tools viauvx. - Sanitization: The audit script employs conservative regex-based matching for parsing YAML and TOML files to minimize risks associated with complex parser exploits.
Audit Metadata