highCVSS 8.8Vulnerability

GHSA-xrmc-c5cg-rv7x

## Summary SafeInstall CLI through 0.10.1 can fail to recognize some package-manager and registry-runner commands in its agent guard. Case-variant launcher names, leading file-descriptor redirections, and supported shell wrappers with options can cause a raw install command to receive no guard decision. Remote project scaffolding through package-manager create/init commands can also avoid the approval decision used for other registry runners. ## Impact When the SafeInstall guard is installed for a coding agent, a crafted shell command can bypass the intended deny or ask response. The coding agent may then run a package installation or registry-provided scaffolding command without SafeInstall policy evaluation and without SafeInstall enforcing disabled lifecycle scripts. Exploitation requires a coding agent to act on attacker-influenced instructions and issue the crafted shell command. A successful malicious package or runner can execute with the permissions of the developer account, affecting the confidentiality, integrity, and availability of local source code, credentials, and development resources. The vulnerability is limited to guard interception. Commands already routed through the SafeInstall CLI continue to receive normal policy evaluation. ## Affected versions - safeinstall-cli <= 0.10.1 ## Patched version - safeinstall-cli 0.10.2 ## Fix Version 0.10.2: - normalizes package-manager and wrapper launcher names for detection and rewriting; - parses leading redirections before classifying the command; - handles supported wrapper option arity conservatively and fails closed on ambiguous embedded command syntax; - routes remote create/init scaffolding through the registry-runner approval path; - preserves SafeInstall routing for path-qualified package-manager invocations. The patch includes a permanent regression corpus, table-driven parser characterization, an independent reference detector, and deterministic fuzz invariants. The integrated release

Properties

ghsa_id
GHSA-xrmc-c5cg-rv7x
severity
high
summary
SafeInstall agent guard shell parsing can miss raw package execution
cvss_score
8.8
cve_id
GHSA-xrmc-c5cg-rv7x
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
is_ghsa_only
true
ghsa_published
2026-07-10T19:34:14Z
source_url
https://github.com/advisories/GHSA-xrmc-c5cg-rv7x
ghsa_updated
2026-07-10T19:34:18Z

Related Entities (5)

HAS_WEAKNESS (2)

[Weakness]Improper Handling of Case Sensitivity
[Weakness]Protection Mechanism Failure

VULNERABLE_TO (1)

[Software]npm/safeinstall-cli

AFFECTS (1)

[Software]npm/safeinstall-cli

REPORTED_BY (1)

[Source]GitHub Advisory Database

Explore deeper with Ninja Signal's threat intelligence graph

GHSA-xrmc-c5cg-rv7x (CVSS 8.8) — Ninja Signal Threat Intelligence | Ninja Signal