npm package report

Is opencode-ai safe?

2 known vulnerabilities, worst severity CRITICAL.

cvss
9.4

how bad it is if exploited, out of 10

epss
0.90%

chance of exploitation in the next 30 days

xyz score
4.7

CyberXYZ composite, out of 10

fig. 01 — GHSA-c83v-7274-4vgp, the advisory selected below

// advisories

GHSA-c83v-7274-4vgp

CRITICALCVE-2026-22813

A malicious website can abuse the server URL override feature of the OpenCode web UI to achieve cross-site scripting on http://localhost:4096. From there, it is possible to run arbitrary commands on the local system using the /pty/ endpoints provided by the OpenCode API.

Affected
< 1.1.10
Fixed in
1.1.10
Weakness
CWE-79
Published
2026-01-13
Source
github

GHSANVDMITREreference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 01:39 UTC. The most recent advisory here was published 2026-01-13. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is opencode-ai safe? npm package security report | CyberXYZ