shellcheck
Warn
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: MEDIUMPRIVILEGE_ESCALATIONREMOTE_CODE_EXECUTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [PRIVILEGE_ESCALATION]: The
Workflows/Setup.mdfile contains instructions for the agent to usesudofor installing system packages viaapt-get,pacman, anddnf, as well as for copying the downloaded ShellCheck binary into protected system directories like/usr/local/bin/. - [REMOTE_CODE_EXECUTION]: The
Setupworkflow automates the downloading, extraction, and installation of a binary executable from a remote repository. This binary is then executed to perform the skill's primary linting functions. - [EXTERNAL_DOWNLOADS]: The skill downloads the ShellCheck binary from GitHub Releases and references several third-party GitHub repositories for pre-commit hooks and CI/CD actions. These downloads target a well-known service.
- [COMMAND_EXECUTION]: The skill makes extensive use of shell utilities including
shellcheck,find,grep,jq,patch, andgit. Furthermore, the skill body inSKILL.mdspecifies an automatedcurlcommand tolocalhost:8888for sending notifications on every workflow execution. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and analyze shell scripts provided by the user. These scripts are untrusted data and could contain adversarial instructions embedded in comments or strings. If these findings are echoed back into the agent's context during the analysis summary, the agent may inadvertently follow instructions contained within the analyzed content.
- Ingestion points: Scripts read and parsed in
Workflows/Analyze.md. - Boundary markers: Absent; analysis findings are presented in Markdown blocks without explicit instructions to the agent to ignore any embedded directives.
- Capability inventory: File system read/write access (via
patch) and network request capabilities (viacurl). - Sanitization: No sanitization of the user-provided script content is performed before display or processing.
Audit Metadata