Static Scan Results
scanned 2d ago · by rust-scannerStatic analysis flagged 9 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 snapshotBehavioral surface
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNetworkShell
HighEntropyStringsUrlStrings
Source & flagged code
2 flagged · loading sourcedist/_utils/parse-cursor-db.jsView file
9// Indirect specifier: @types/node@20 (the floor we compile against) has no
L10: // node:sqlite declarations, so a literal import() would fail tsc even
L11: // though the module exists at runtime on Node >= 22.5.
Medium
Dynamic Require
Package source references dynamic require/import behavior.
dist/_utils/parse-cursor-db.jsView on unpkg · L9dist/_utils/update.jsView file
1import { execFileSync, spawn, spawnSync } from "node:child_process";
L2: import { mkdirSync, readFileSync, realpathSync, rmSync, writeFileSync, } from "node:fs";
...
L8: // when GLEN_STATE_PATH is set (tests), the glen dir is its dirname.
L9: const glenDir = () => process.env.GLEN_STATE_PATH
L10: ? dirname(process.env.GLEN_STATE_PATH)
L11: : join(homedir(), ".glen");
L12: const checkPath = () => join(glenDir(), "update-check.json");
...
L15: const autoUpdateDisabled = () => process.env.GLEN_NO_AUTO_UPDATE === "1" ||
L16: process.env.CI === "true" ||
L17: process.env.CI === "1";
...
L21: try {
L22: const data = JSON.parse(readFileSync(checkPath(), "utf8"));
High
Sandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/_utils/update.jsView on unpkg · L1Findings
1 High4 Medium4 Low
HighSandbox Evasion Gated Capabilitydist/_utils/update.js
MediumDynamic Requiredist/_utils/parse-cursor-db.js
MediumNetwork
MediumEnvironment Vars
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings