package-manager-ops
Fail
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
check-pm-facts.pyscript performs network requests to official registries and documentation endpoints (GitHub, npmjs.org, getcomposer.org, php.net, and endoflife.date) to verify the accuracy of its internal version support tables. These downloads are restricted to well-known, trusted technology services and are used solely for informational maintenance, not for executing remote code. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves analyzing untrusted repository files, which presents a diagnostic surface for potential indirect instruction injection.
- Ingestion points: The
pm-audit.pytool reads third-party files includingpackage.json,composer.json,Dockerfile, and CI workflow YAMLs from the user-provided project path. - Boundary markers: Monitored data is processed and output in structured formats (TSV/JSON), though it is not wrapped in specific LLM-facing boundary markers during its internal diagnostic pass.
- Capability inventory: The skill uses high-privilege tools (
Bash,Read,Write) to inspect local files and can executegitordockerbinaries viasubprocess.runcalls within its scripts. - Sanitization: A robust
redact()function is implemented in theAuditclass withinpm-audit.pyto identify and mask tokens, passwords, and sensitive query parameters discovered during analysis before they reach the agent's output. - [COMMAND_EXECUTION]: Diagnostic scripts use local subprocess execution to query
gittracking status anddockerbuild contexts. These operations are performed using structured argument lists (list-based subprocess calls) rather than raw shell strings, preventing command injection vulnerabilities. Several automated alerts related to remote code execution patterns were investigated and confirmed to be false positives associated with unit test mocks intests/facts.sh.
Recommendations
- HIGH: Downloads and executes remote code from: https://example.invalid/x - DO NOT USE without thorough review
Audit Metadata