unlazy
Audited by Socket on Oct 6, 2026
1 alert found:
SecurityThis module is a Markdown-driven gate runner that executes shell commands specified in local gate files (spawnSync with shell:true). If an attacker can modify or inject gate.check content (directly or via compromised files/CI workspace), this yields arbitrary command execution under the privileges of the user running the script. It also logs and writes a tail excerpt of stdout/stderr back into the gate Markdown as evidence, which can unintentionally persist or disclose sensitive data. No clearly malicious stealth/exfiltration behavior beyond the intended gate execution is visible in the provided fragment, but the configuration-driven command execution and evidence persistence constitute a high supply-chain/security risk when gate files are not strictly trusted.