registry  /  coderaft  /  0.0.36

coderaft@0.0.36

[![npm version](https://img.shields.io/npm/v/coderaft?color=blue)](https://npmx.dev/package/coderaft) [![install size](https://packagephobia.com/badge?p=coderaft)](https://packagephobia.com/result?p=coderaft)

Static Scan Results

scanned 2h ago · by rust-scanner

Static analysis flagged 14 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
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
Supply chain
UrlStrings
Manifest
NoLicense
scanned 10 file(s), 74.7 KB of source, external domains: 127.0.0.1

Source & flagged code

7 flagged · loading source
dist/_chunks/server.mjsView file
4import { createReadStream, readFileSync, readdirSync, unlinkSync } from "node:fs"; L5: import { fork } from "node:child_process"; L6: import { randomBytes, randomUUID } from "node:crypto";
High
Child Process

Package source references child process execution.

dist/_chunks/server.mjsView on unpkg · L4
4Cross-file remote execution chain: dist/_chunks/server.mjs spawns dist/_chunks/libs/httpxy.mjs; helper contains network access plus dynamic code execution. L4: import { createReadStream, readFileSync, readdirSync, unlinkSync } from "node:fs"; L5: import { fork } from "node:child_process"; L6: import { randomBytes, randomUUID } from "node:crypto"; L7: import { createServer } from "node:http"; L8: import { extname, join, normalize, sep } from "node:path"; ... L21: var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))(); L22: if (process.platform === "android") { L23: if (process.execPath.includes("linker64") || process.execPath.startsWith("/apex/")) { L24: const resolved = process.env.TERMUX_EXEC__PROC_SELF_EXE || "/data/data/com.termux/files/usr/bin/node"; L25: Object.defineProperty(process, "execPath", { ... L78: ]); L79: const original = _os.networkInterfaces;
High
Cross File Remote Execution Context

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

dist/_chunks/server.mjsView on unpkg · L4
20}; L21: var __require = /* #__PURE__ */ (() => createRequire(import.meta.url))(); L22: if (process.platform === "android") {
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/_chunks/server.mjsView on unpkg · L20
dist/index.mjsView file
87const { spawn: spawnOpts = {}, ...serverOpts } = opts; L88: const { env, execArgv, stdio = "inherit", startupTimeout = 6e4 } = spawnOpts; L89: const workerPath = fileURLToPath(import.meta.resolve("#worker"));
High
Shell

Package source references shell execution.

dist/index.mjsView on unpkg · L87
code.tar.zstView file
path = code.tar.zst kind = high_entropy_blob sizeBytes = 25850648 magicHex = [redacted]
High
Ships High Entropy Blob

Package ships high-entropy non-source blobs.

code.tar.zstView on unpkg
path = code.tar.zst kind = compressed_blob sizeBytes = 25850648 magicHex = [redacted]
Medium
Ships Compressed Blob

Package ships compressed or archive-like blobs.

code.tar.zstView on unpkg
package.jsonView file
Remote tarball dependency specs: code-server@https://github.com/coder/code-server/releases/download/v4.128.0/package.tar.gz
Medium
Remote Tarball Dependency

Package manifest contains a dependency pinned to a remote tarball URL.

package.jsonView on unpkg

Findings

4 High6 Medium4 Low
HighChild Processdist/_chunks/server.mjs
HighShelldist/index.mjs
HighCross File Remote Execution Contextdist/_chunks/server.mjs
HighShips High Entropy Blobcode.tar.zst
MediumDynamic Requiredist/_chunks/server.mjs
MediumNetwork
MediumEnvironment Vars
MediumShips Compressed Blobcode.tar.zst
MediumStructural Risk Force Deep Review
MediumRemote Tarball Dependencypackage.json
LowScripts Present
LowFilesystem
LowUrl Strings
LowNo License