registry  /  opencode-codebase-index  /  0.13.1

opencode-codebase-index@0.13.1

Semantic codebase indexing and search for OpenCode - find code by meaning, not just keywords

Static Scan Results

scanned 5d ago · by rust-scanner

Static analysis flagged 10 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessEnvironmentVarsFilesystemNetworkShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 6 file(s), 2.58 MB of source, external domains: api.openai.com, generativelanguage.googleapis.com, models.github.ai, www.w3.org

Source & flagged code

2 flagged · loading source
dist/pi-extension.cjsView file
231REGEX_REGEXP_RANGE, L232: (match, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match : EMPTY L233: ); ... L373: // WTF! L374: // https://git-scm.com/docs/gitignore L375: // changes in [2.22.1](https://git-scm.com/docs/gitignore/2.22.1) ... L646: // Detect `process` so that it can run in browsers. L647: typeof process !== "undefined" && process.platform === "win32" L648: ) { ... L850: const variableName = match[1]; L851: const envValue = process.env[variableName]; L852: if (envValue === void 0) {
High
Cloud Metadata Access

Source reaches cloud instance metadata or link-local credential endpoints.

dist/pi-extension.cjsView on unpkg · L231
native/codebase-index-native.linux-arm64-gnu.nodeView file
path = native/codebase-index-native.linux-arm64-gnu.node kind = native_binary sizeBytes = 73078064 magicHex = [redacted]
Medium
Ships Native Binary

Package ships native binary artifacts.

native/codebase-index-native.linux-arm64-gnu.nodeView on unpkg

Findings

1 High4 Medium5 Low
HighCloud Metadata Accessdist/pi-extension.cjs
MediumNetwork
MediumEnvironment Vars
MediumShips Native Binarynative/codebase-index-native.linux-arm64-gnu.node
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings