cavalry

Warn

Audited by Socket on Aug 3, 2026

2 alerts found:

Securityx2
SecurityMEDIUM
references/cavalry-types/namespaces/api.d.ts

This fragment does not contain actual malicious implementation, but it exposes a very dangerous host API surface: dynamic script execution (load/exec), arbitrary OS process execution (runProcess/runDetachedProcess), clipboard access, extensive filesystem read/write/delete, and embedded web client/server with authentication/proxy support. In a supply-chain context, any dependency that can invoke these primitives (or auto-run untrusted scripts) could enable malware behavior (exfiltration, data theft, command execution). Without the package’s implementation, specific malicious intent cannot be proven from this fragment alone.

Confidence: 55%Severity: 80%
SecurityMEDIUM
scripts/cavalry-bridge.js

This module provides a localhost execution bridge with two high-risk capabilities: (1) arbitrary JavaScript execution via api.exec using request-supplied content, and (2) local script execution via ui.runFileScript using request-supplied filesystem paths. Header-based cross-origin rejection is not sufficient to prevent malicious requests. While binding to 127.0.0.1 limits off-host attackers, any process on the same machine can potentially trigger code execution, making the overall security risk very high unless the caller is fully trusted and isolated by environment controls.

Confidence: 70%Severity: 92%
Audit Metadata
Analyzed At
Aug 3, 2026, 08:37 PM
Package URL
pkg:socket/skills-sh/jablonkai%2Fskills%2Fcavalry%2F@c9c68285f8ae0bd35ee33e13df10b4215777ecdb44d852105af9829040323766
Security Audit — socket — cavalry