nemoclaw-maintainer-classify-ci-failure
Pass
Audited by Gen Agent Trust Hub on Nov 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script executes external commands to interact with GitHub and process files using standard system utilities.
- The script uses
child_process.spawnto invoke a restricted set of binaries:bash,gh,dd,stat,tail, andwc. - Executable paths are strictly validated via the
validateTrustedPathfunction, which ensures they are absolute, reside in trusted directories (like/usr/binor/usr/local/bin), are regular files rather than symlinks, and are owned by a trusted user (root or current user) with safe permissions. - Input arguments are sanitized using a custom escaping function to prevent shell command injection.
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted content from GitHub Action logs and artifacts, creating a surface for indirect prompt injection. This is mitigated through multiple defensive layers:
- Ingestion points: Reads GitHub job logs and specific artifact ZIP entries (
.result.jsonfiles) using theghAPI. - Boundary markers: The instructions and script enforce strict limits on the amount of data processed (e.g.,
maxLinesup to 500, character limits for stdout/stderr). - Capability inventory: The script is limited to read-only GitHub operations and specific file system/text processing commands.
- Sanitization: A comprehensive
redactfunction identifies and replaces sensitive patterns—including AWS keys, Slack tokens, OpenAI keys, NVIDIA API/CF tokens, npm tokens, and GitHub personal access tokens—in both logs and error diagnostics before they are returned.
Audit Metadata