8421bit MiniClaw OS Command Injection Vulnerability in Heartbeat Function

Vulnerability

A critical OS command injection vulnerability has been identified in 8421bit MiniClaw versions prior to the latest release. The issue resides in the 'executeCognitivePulse' function within 'src/kernel.ts', where unsanitized input from 'HEARTBEAT.md' is used to construct shell commands. This vulnerability allows remote execution of arbitrary OS commands. The flaw has been publicly disclosed and exploited.

Impact

Exploitation of this vulnerability allows for arbitrary OS command execution under the application's privileges.

Reproduction

To reproduce this vulnerability, overwrite the 'HEARTBEAT.md' file with a command injection payload, such as a command to create a file in the '/tmp' directory. After the payload is injected, either wait for the scheduled heartbeat task to execute or manually trigger the 'executeCognitivePulse' function. The injected command will be executed, confirming the successful exploitation of the vulnerability.

Remediation

Users are advised to update to the latest version of MiniClaw, where this vulnerability has been fixed.

Added: May 7, 2026, 10:33 PM
Updated: May 7, 2026, 10:33 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
7.5
exploitability
4.6
remediation
0.0
relevance
7.7
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.