varlock
Fail
Audited by Gen Agent Trust Hub on Sep 16, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The installation section contains a command that fetches a script from
https://varlock.dev/install.shand pipes it directly into the shell (| sh). This pattern executes remote code without prior verification or integrity checks. - [DYNAMIC_EXECUTION]: The skill documentation for the
.env.schemafile highlights the ability to useexec()calls to fetch values (e.g.,exec('op read ...')orexec('aws ...')). This runtime execution of shell commands from a configuration file represents a significant dynamic execution risk if the schema file is modified by a malicious actor. - [INDIRECT_PROMPT_INJECTION]: The skill includes logic for processing untrusted
.envand.env.schemafiles which may contain embedded instructions or command execution triggers. * Ingestion points: ThevarlockCLI reads and processes project files like.envand.env.schemato manage environment variables. * Boundary markers: The skill does not define specific boundaries or safety instructions to ignore potential commands embedded within these data files. * Capability inventory: The skill facilitates shell command execution via theexec()function in schemas and through thevarlock runcommand which wraps other processes. * Sanitization: There is no evidence of sanitization or validation of the input strings passed toexec()or the commands wrapped byvarlock run. - [COMMAND_EXECUTION]: The skill defines usage patterns like
varlock run -- <cmd>, which allows the agent to execute arbitrary shell commands under the guise of environment variable management. While intended to inject secrets, this capability can be misused to execute unauthorized commands if the instruction flow is compromised.
Recommendations
- HIGH: Downloads and executes remote code from: https://varlock.dev/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata