GitHub Advisory Database
GHSA-cv2p-68f4-f4pw
picoclaw is vulnerable to OS command injection via the ExecTool component
Details
picoclaw <=v0.1.2 and earlier is vulnerable to OS command injection via the ExecTool component (pkg/tools/shell.go). The guardCommand() function attempts to restrict shell command execution using a denylist of 8 regular expressions, but the denylist is incomplete.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/sipeed/picoclaw | All versions up to and including 0.1.2 |