unlazy
Fail
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: HIGHCOMMAND_EXECUTIONPERSISTENCEPROMPT_INJECTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/gate-check.mjsimplements an arbitrary command execution capability. It parsesGATES.mdfiles for aCHECK:attribute and passes the resulting string directly tospawnSyncwithshell: true. This allows the AI agent (or an attacker via the agent) to execute any command on the host system without validation. - [PERSISTENCE]: The skill includes
scripts/install-hooks.mjs, which modifies the AI agent's environment configuration. It writes a persistent "Stop" hook into.claude/settings.local.jsonor the global~/.claude/settings.json. This hook executesscripts/stop-hook.mjsto evaluate whether the agent is permitted to end its turn, effectively overriding the platform's default session termination behavior. - [PROMPT_INJECTION]: The
SKILL.mdfile contains instructions designed to override the agent's internal resource management and safety heuristics. Specifically, it commands the agent to "Ignore resource anxiety," "enforce completion through gate files," and "not stop until every gate is checked." These instructions are intended to prevent the agent from terminating a session prematurely, which directly conflicts with typical platform-level constraints. - [INDIRECT_PROMPT_INJECTION]: The skill creates a significant attack surface for indirect prompt injection. Because the agent is instructed to create
CHECK:shell commands based on task descriptions, a malicious user could provide a task containing embedded instructions that result in the creation and execution of dangerous shell commands. - Ingestion points: User-provided task descriptions are processed by the agent to generate
GATES.mdfiles (SKILL.md). - Boundary markers: None. There are no instructions to sanitize or escape user-controlled data before it is written into
CHECK:shell commands. - Capability inventory: Arbitrary shell execution via
spawnSyncinscripts/gate-check.mjsand persistent agent behavior modification viascripts/install-hooks.mjs. - Sanitization: Absent. The scripts perform no validation or filtering on the content extracted from gate files before execution.
- [EXTERNAL_DOWNLOADS]: The documentation in
README.mdandSKILL.mddirects users and agents to install the skill by cloning a repository from GitHub (https://github.com/Leonxlnx/unlazy) or usingnpx skills add. While these target well-known platforms, the skill facilitates the introduction of local executable scripts into the agent's environment.
Recommendations
- AI detected serious security threats
Audit Metadata