Intel

AIKIDO-2026-10637

@ai-hero/sandcastle is vulnerable to Command Injection

Command Injection Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Apr 29, 2026

85

High Risk

This Affects:

JS@ai-hero/sandcastle
0.2.0 - 0.5.3
Fixed in 0.5.4
Are you affected? Scan for Free

TL;DR

Affected versions allow attacker-controlled promptArgs to be injected into prompts and mistakenly executed as shell commands, leading to possible command or remote shell execution.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

@ai-hero/sandcastle is vulnerable to Command Injection in versions 0.2.0 - 0.5.3.

How to fix this

Upgrade the @ai-hero/sandcastle library to the patch version.