makefile-validator
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The script
scripts/validate_makefile.shfetches and installs thembakepackage from the official PyPI registry at runtime. While this is necessary for the skill's formatting and linting capabilities, the installation is unversioned, which creates a dependency on the availability and integrity of the external registry.\n- [COMMAND_EXECUTION]: The skill performs syntax validation usingmake -n(dry-run mode) on user-provided files. GNU Make evaluates$(shell ...)expansions during the variable evaluation phase even when the dry-run flag is set, which allows a maliciously crafted Makefile to execute arbitrary shell commands in the agent's environment when it is being 'validated'.\n- [COMMAND_EXECUTION]: The documentation filedocs/common-mistakes.mdcontains a reference to a destructiverm -rf /command used as an example of a build system error to avoid; this instance is purely instructional and does not pose a runtime risk.\n- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted Makefiles and passes them to system tools without implementing security boundaries or sanitization.\n - Ingestion points: User-specified Makefile paths provided to the
validate_makefile.shscript.\n - Boundary markers: Absent. The skill does not employ delimiters or explicit instructions to prevent the execution of malicious logic embedded in the Makefile content.\n
- Capability inventory: The skill environment allows shell command execution (via
make), package installation (viapip3), and broad file system interaction (viagrep).\n - Sanitization: Absent. The raw content of the provided Makefile is evaluated directly by the syntax checker and linter tools.
Audit Metadata