Loading npm security reports…
grix-connector@4.12.2: AI-agent capability abuse – flagged | LPM Firewall
Flagged as AI-agent capability risk
Allowed by default with warning: agent-facing configuration or capability changes need review before use.
grix-connector@4.12.2 Connect local AI coding agents (Claude, Codex, Gemini, Qwen, DeepSeek, Cursor, OpenCode, Pi, OpenHuman, Reasonix) to the Grix scheduling platform. Also serves as an OpenClaw plugin for Grix channel transport.
AI Security Reviewscanned 25d ago · by lpm-firewall-ai The source contains active agent trust and permission-bypass configuration behavior triggered by adapter use. This warrants a warning for capability abuse, not a publication block, because the inspected evidence does not show a concrete malicious payload or exfiltration chain.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
A user starts a Grix adapter session; package installation also runs its postinstall hook.
Impact
These changes can reduce normal AI-agent safety prompts for workspaces and MCP use.
Mechanism
Claude configuration is modified to trust workspaces and suppress a dangerous-mode prompt; Codex and Cursor paths also enable trust or approval behavior.
AI rationale
The source contains active agent trust and permission-bypass configuration behavior triggered by adapter use. This warrants a warning for capability abuse, not a publication block, because the inspected evidence does not show a concrete malicious payload or exfiltration chain.
Evidence
package.json scripts/install-guardian.mjs dist/adapter/claude/claude-adapter.js dist/adapter/codex/codex-trust.js dist/adapter/cursor/cursor-adapter.js .claude.json .claude/settings.json CODEX_HOME/config.toml ~/.grix/bin/upgrade-guardian.mjs ~/.grix/bin/upgrade-guardian.fallback.mjs
Decision evidencepublic snapshot AI called this Suspicious at 93.0% confidence as Dangerous Capability with low false-positive risk.
Evidence for warning
The package runs an install hook automatically. That hook creates a user-home Grix bin directory and overwrites executable guardian helpers. Starting a Claude adapter session invokes permission and workspace-trust setup. The Claude adapter writes a user setting that skips the dangerous-permission dialog. The Codex helper adds a trusted-project entry to the Codex configuration. The Cursor adapter enables trust and automatic MCP approval flags unless trust is disabled. Evidence against
No credential-exfiltration or remote-payload sink was identified in the inspected behavior paths. The install hook copies package-local helpers into the package's own Grix home directory rather than an AI-agent configuration directory. Behavioral surface
Source ChildProcess Crypto DynamicRequire EnvironmentVars Filesystem Network Shell WebSocket
Source & flagged code25 flagged · loading source • scripts.postinstall = node scripts/install-guardian.mjs
High Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg 2444 // src/audit/producer/ipc-audit-producer.ts
L2445: import { fork } from "node:child_process";
L2446: import { randomUUID as randomUUID2 } from "node:crypto";
High Child Process
Package source references child process execution.
openclaw-plugin/index.js View on unpkg · L2444 1 import{accessSync as l,constants as w}from"node:fs";import{spawn as d,execSync as h}from"node:child_process";import{isAbsolute as P,join as m}from"node:path";const S=process.platfo...
L2: `).forEach(s=>{const r=parseInt(s.trim(),10);!isNaN(r)&&r>0&&o.push(r)})}),n.on("close",()=>e(o)),n.on("error",()=>e([]))})}function A(t){return W(t)}function W(t){return new Promi...
Findings20 High 6 Medium 7 Low
High Install Time Lifecycle Scripts package.json
High Child Process openclaw-plugin/index.js
High Shell dist/core/runtime/spawn.js
High Same File Env Network Execution dist/core/upgrade/upgrade-checker.js
High Command Output Exfiltration dist/core/provider-quota/kiro.js
High Sandbox Evasion Gated Capability dist/core/installer/npm-registry.js
High Trigger Reachable Command Output Exfiltration dist/adapter/codex/codex-bridge.js
High Ships High Entropy Blob dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
High Known Malware Source Similarity dist/core/installer/npm-registry.js
High Known Malware Source Similarity dist/core/upgrade/upgrade-checker.js
Affected versions and remediation This report applies to grix-connector@4.12.2 .
See all versions of grix-connector for other recorded verdicts.
Review the evidence and your use of grix-connector@4.12.2 before allowing it. Restrict the permissions described in this report. Choose an independently verified alternative or release. This report does not establish that other versions are safe. Evidence last updated: 2026-09-28 03:36:55.699Z (UTC) .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced .
93% Suspicious
AI assessment confidence
Package metadata npm Author askie
Maintainers askie
Version 4.12.2
Latest on npm 4.16.2
Published Sep 28, 2026
License Apache-2.0
Dependencies 13
Integrity verified
Package size 1018 KB
Files 553
Keywords grix aibot agent-connector claude codex gemini qwen deepseek
HighEntropyStrings
Minified
UrlStrings
Manifest No manifest risk signals triggered.
scanned 487 file(s), 3.21 MB of source, external domains: 127.0.0.1, antigravity.google, api.anthropic.com, api.deepseek.com, api.kimi.com, api.minimax.io, api.minimaxi.com, api.novita.ai, api.openai.com, api.siliconflow.cn, api.siliconflow.com, api.stepfun.ai, api.stepfun.com, api.z.ai, api2.cursor.sh, astral.sh, auth.kimi.com, auth.openai.com, brew.sh, bun.sh, chatgpt.com, cli.github.com, cli.kiro.dev, code.kimi.com, codewhisperer.us-east-1.amazonaws.com, curl.se, cursor.com, docs.anthropic.com, fnm.vercel.app, github.com, grix.dhf.pub, grix.internal, hermes-agent.nousresearch.com, kiro.dev, moonshotai.github.io, nodejs.org, opencode.ai, openrouter.ai, qoder.com, qwen-code-assets.oss-cn-hangzhou.aliyuncs.com, qwenpaw.agentscope.io, raw.githubusercontent.com, registry.npmjs.org, registry.npmmirror.com, rustup.rs, schemas.microsoft.com, sh.rustup.rs, static.qoder.com.cn, trae.cn, www.apple.com
High Shell
Package source references shell execution.
dist/core/runtime/spawn.js View on unpkg · L1 • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/runtime/spawn.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/runtime/spawn.js View on unpkg dist/core/mcp/internal-api-server.js View file 1 import B from"node:http";import{randomBytes as M}from"node:crypto";import{log as h}from"../log/index.js";import{PHASE1_INVOKE_ACTIONS as C,TOOLS as O,toolCallToInvoke as P}from"./t...
Medium Dynamic Require
Package source references dynamic require/import behavior.
dist/core/mcp/internal-api-server.js View on unpkg · L1 dist/core/proxy/crypto/certificate.js View file 1 import{createHash as x,createPrivateKey as G,createPublicKey as V,generateKeyPairSync as I,sign as z}from"node:crypto";import{existsSync as b}from"node:fs";import{mkdir as J,readFi...
L2: `)??"";return`-----BEGIN ${e}-----
Low Weak Crypto
Package source references weak cryptographic algorithms.
dist/core/proxy/crypto/certificate.js View on unpkg · L1 dist/core/upgrade/upgrade-checker.js View file 1 import{closeSync as H,existsSync as w,mkdirSync as F,openSync as we,readFileSync as P,realpathSync as ve,renameSync as ye,writeFileSync as be}from"node:fs";import{join as v,dirname...
L2: --- ${o.to_version} crash note ---
High Same File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/core/upgrade/upgrade-checker.js View on unpkg · L1 • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/upgrade/upgrade-checker.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/upgrade/upgrade-checker.js View on unpkg 1 import{readFile as _}from"node:fs/promises";import{existsSync as m}from"node:fs";import{homedir as h}from"node:os";import{join as u}from"node:path";import{execFile as I}from"node:c...
High Command Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/core/provider-quota/kiro.js View on unpkg · L1 1 import{execFile as b,execFileSync as C}from"node:child_process";import{existsSync as $,mkdirSync as k}from"node:fs";import{basename as O,dirname as x,join as y}from"node:path";impo...
L2: [${o.label}] ${a}
High Sandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/core/installer/npm-registry.js View on unpkg · L1 • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/installer/npm[redacted]
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/installer/npm-registry.js View on unpkg 1 Trigger-reachable command-output exfiltration chain: manifest.main -> dist/index.js -> dist/adapter/codex/index.js -> dist/adapter/codex/codex-bridge.js
L1: import{execFileSync as me}from"node:child_process";import{createInterface as ge}from"node:readline";import{EventEmitter as K}from"node:events";import{stat as Z}from"node:fs/promise...
L2: \u2026(truncated)`,oe=80,tt=120*1e3,it=60*1e3,st=300*1e3,nt=H("GRIX_CODEX_DELTA_COALESCE_MS",1e3),rt=H("GRIX_CODEX_DELTA_COALESCE_CHARS",4096),ot=[{id:"gpt-5.3-codex",displayName:"...
L3: `)})}catch{return!1}}getStatus(){return{alive:this.alive,busy:this.currentTurnId!==null||this.compacting,sessions:this.threadId?1:0}}getActiveEventIds(){return this.activeEventId?[...
High Trigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/adapter/codex/codex-bridge.js View on unpkg · L1 dist/core/proxy/hermes-profile-relay.py View file • path = dist/core/proxy/hermes-profile-relay.py
kind = build_helper
sizeBytes = 21893
magicHex = [redacted]
Medium Ships Build Helper
Package ships non-JavaScript build or shell helper files.
dist/core/proxy/hermes-profile-relay.py View on unpkg dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View file • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
kind = high_entropy_blob
sizeBytes = 24183
magicHex = [redacted]
High Ships High Entropy Blob
Package ships high-entropy non-source blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
kind = compressed_blob
sizeBytes = 24183
magicHex = [redacted]
Medium Ships Compressed Blob
Package ships compressed or archive-like blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
kind = nested_archive_needs_inspection
sizeBytes = 24183
magicHex = [redacted]
Low Nested Archive Needs Inspection
Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/agy/agy-adapter.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/agy/agy-adapter.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/agy/quota.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/agy/quota.js View on unpkg dist/adapter/claude/mcp-http-launcher.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/claude/mcp-http-launcher.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/claude/mcp-http-launcher.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.11.1
matchedPath = dist/adapter/pi/pi-adapter.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.11.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/pi/pi-adapter.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/installer/installer.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/installer/installer.js View on unpkg dist/core/installer/prereq-installer.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.11.1
matchedPath = dist/core/installer/prereq-installer.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.11.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/installer/prereq-installer.js View on unpkg dist/core/proxy/hermes-profile-relay.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/proxy/hermes-profile-relay.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/proxy/hermes-profile-relay.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/upgrade/npm[redacted]
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/upgrade/npm-upgrader.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/claude/model-list.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/claude/model-list.js View on unpkg High
Known Malware Source Similarity
dist/adapter/agy/agy-adapter.js
High Known Malware Source Similarity dist/adapter/agy/quota.js
High Known Malware Source Similarity dist/adapter/claude/mcp-http-launcher.js
High Known Malware Source Similarity dist/adapter/pi/pi-adapter.js
High Known Malware Source Similarity dist/core/installer/installer.js
High Known Malware Source Similarity dist/core/installer/prereq-installer.js
High Known Malware Source Similarity dist/core/proxy/hermes-profile-relay.js
High Known Malware Source Similarity dist/core/runtime/spawn.js
High Known Malware Source Similarity dist/core/upgrade/npm-upgrader.js
High Known Malware Source Similarity dist/adapter/claude/model-list.js
Medium Dynamic Require dist/core/mcp/internal-api-server.js
Medium Ships Build Helper dist/core/proxy/hermes-profile-relay.py
Medium Ships Compressed Blob dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
Medium Structural Risk Force Deep Review
Low Non Install Lifecycle Scripts
Low Weak Crypto dist/core/proxy/crypto/certificate.js
Low Nested Archive Needs Inspection dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
Runtime surface package.json Entrypoints main → dist/index.js types → ./dist/index.d.ts bin → grix-connector
Runtime node >=18.0.0
Artifact 3.54 MB · 553 files 2 signature(s)
Install lifecycle postinstall prepublishOnly
Behavioral surface ChildProcess Crypto DynamicRequire EnvironmentVars Filesystem Network Shell WebSocket HighEntropyStrings Minified UrlStrings Manifest: clean
Source & flagged code25 flagged Lines 8-48 json
8 "grix-connector" : "dist/grix.js"
13 "docs/guide-acp-agent-integration.md" ,
19 "scripts/install-guardian.mjs" ,
20 "scripts/upgrade-guardian.mjs" ,
21 "scripts/launcher.mjs" ,
22 "scripts/analyze-audit-replays.mjs" ,
23 "scripts/install-guardian.sh" ,
24 "scripts/upgrade-guardian.sh" ,
25 "openclaw.plugin.json"
28 "postinstall" : "node scripts/install-guardian.mjs" ,
High Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg · L28 29 "prepublishOnly" : "npm run build:all" ,
30 "build" : "npm run check:isolation && node -e \" const fs=require('fs'); for(const dir of ['dist/default-skills','dist/kimi-plugins']) fs.rmSync(dir,{recursive:true,force:true}) \" && tsc && node -e \" const fs=require('fs'); for(const dir of ['default-skills','kimi-plugins']) fs.cpSync('src/'+dir,'dist/'+dir,{recursive:true,filter:s=>!s.endsWith('.ts')}); fs.cpSync('src/adapter/deepseek-harness/grix-jsonrpc.cordis.yml','dist/adapter/deepseek-harness/grix-jsonrpc.cordis.yml') \" && node scripts/build-dsh-bridge.mjs && node -e \" require('fs').cpSync('src/core/proxy/hermes-profile-relay.py','dist ...
31 " check:isolation ": " node scripts/check-adapter-isolation.mjs ",
32 " build:plugin ": " node scripts/build-plugin.mjs ",
33 " build:all ": " npm run build && node scripts/minify-dist.mjs && npm run build:plugin ",
34 " dev ": " npm run build && node dist/grix.js ",
35 " test ": " node --experimental-vm-modules node_modules/vitest/vitest.mjs run ",
36 " test:watch ": " node --experimental-vm-modules node_modules/vitest/vitest.mjs ",
37 " test:e 2 e ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e ",
38 " test:e 2 e:smoke ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e/smoke.test.ts ",
39 " test:e 2 e:direct-relay ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e/direct-relay-live.test.ts ",
40 " test:e 2 e:relay ": " node scripts/relay-e 2 e.mjs ",
41 " test:e 2 e:codex-developer-instructions ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e/codex-developer-instructions-protocol.test.ts ",
42 " test:e 2 e:claude-audit ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e/claude-audit-replay.test.ts ",
43 " test:e 2 e:codex-audit ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e/codex-audit-replay.test.ts ",
44 " test:e 2 e:native-audit ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e/native-event-audit-replay.test.ts ",
45 " test:e 2 e:kimi-audit ": " RUN_REAL_AGENT_E 2 E= 1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e 2 e/native-event-audit-replay.test.ts -t \ "kimi: \" " ,
46 "test:e2e:kimi-question" : "RUN_REAL_AGENT_E2E=1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e2e/kimi-acp-features.test.ts -t \" 问答卡文本回执 \" " ,
47 "test:e2e:pi-audit" : "RUN_REAL_AGENT_E2E=1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e2e/pi-audit-replay.test.ts" ,
48 "test:e2e:reasonix-audit" : "RUN_REAL_AGENT_E2E=1 node --experimental-vm-modules node_modules/vitest/vitest.mjs run tests/e2e/reasonix-audit-replay.test.ts" ,
Long lines were clipped for display.
2444 // src/audit/producer/ipc-audit-producer.ts
L2445: import { fork } from "node:child_process";
L2446: import { randomUUID as randomUUID2 } from "node:crypto";
High Child Process
Package source references child process execution.
openclaw-plugin/index.js View on unpkg · L2444 Lines 1-3 javascript
1 import {accessSync as l,constants as w} from "node:fs" ; import {spawn as d,execSync as h} from "node:child_process" ; import {isAbsolute as P,join as m} from "node:path" ; const
dist/core/mcp/internal-api-server.js View file Lines 1-2 javascript
1 import B from "node:http" ; import {randomBytes as M} from "node:crypto" ; import {log as h} from "../log/index.js" ; import {PHASE1_INVOKE_ACTIONS as C,TOOLS as O,toolCallToInvoke as P} from
dist/core/proxy/crypto/certificate.js View file Lines 1-6 javascript
1 import {createHash as x,createPrivateKey as G,createPublicKey as V,generateKeyPairSync as I,sign as z} from "node:crypto" ; import {existsSync as b} from "node:fs" ; import {mkdir as J,readFile as
dist/core/upgrade/upgrade-checker.js View file Lines 1-4 javascript
1 import {closeSync as H,existsSync as w,mkdirSync as F,openSync as we,readFileSync as P,realpathSync as ve,renameSync as ye,writeFileSync as be} from "node:fs" ; import {join as v,dirname as Se}
Lines 1-2 javascript
1 import {readFile as _} from "node:fs/promises" ; import {existsSync as m} from "node:fs" ; import {homedir as h} from "node:os" ; import {join as u} from "node:path" ;
Lines 1-5 javascript
1 import {execFile as b,execFileSync as C} from "node:child_process" ; import {existsSync as $,mkdirSync as k} from "node:fs" ; import {basename as O,dirname as x,join as y} from "node:path"
1 Trigger-reachable command-output exfiltration chain: manifest.main -> dist/index.js -> dist/adapter/codex/index.js -> dist/adapter/codex/codex-bridge.js
L1: import{execFileSync as me}from"node:child_process";import{createInterface as ge}from"node:readline";import{EventEmitter as K}from"node:events";import{stat as Z}from"node:fs/promise...
L2: \u2026(truncated)`,oe=80,tt=120*1e3,it=60*1e3,st=300*1e3,nt=H("GRIX_CODEX_DELTA_COALESCE_MS",1e3),rt=H("GRIX_CODEX_DELTA_COALESCE_CHARS",4096),ot=[{id:"gpt-5.3-codex",displayName:"...
L3: `)})}catch{return!1}}getStatus(){return{alive:this.alive,busy:this.currentTurnId!==null||this.compacting,sessions:this.threadId?1:0}}getActiveEventIds(){return this.activeEventId?[...
High Trigger Reachable Command Output Exfiltration
A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.
dist/adapter/codex/codex-bridge.js View on unpkg · L1 dist/core/proxy/hermes-profile-relay.py View file • path = dist/core/proxy/hermes-profile-relay.py
kind = build_helper
sizeBytes = 21893
magicHex = [redacted]
Medium Ships Build Helper
Package ships non-JavaScript build or shell helper files.
dist/core/proxy/hermes-profile-relay.py View on unpkg dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View file • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
kind = high_entropy_blob
sizeBytes = 24183
magicHex = [redacted]
High Ships High Entropy Blob
Package ships high-entropy non-source blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
kind = compressed_blob
sizeBytes = 24183
magicHex = [redacted]
Medium Ships Compressed Blob
Package ships compressed or archive-like blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz
kind = nested_archive_needs_inspection
sizeBytes = 24183
magicHex = [redacted]
Low Nested Archive Needs Inspection
Package ships a nested archive or MCP bundle that was inventoried but not recursively analyzed.
dist/assets/dsh-bridge/grix-dsh-bridge-4.12.2.tgz View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/agy/agy-adapter.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/agy/agy-adapter.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/agy/quota.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/agy/quota.js View on unpkg dist/adapter/claude/mcp-http-launcher.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/claude/mcp-http-launcher.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/claude/mcp-http-launcher.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.11.1
matchedPath = dist/adapter/pi/pi-adapter.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.11.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/pi/pi-adapter.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/installer/installer.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/installer/installer.js View on unpkg dist/core/installer/prereq-installer.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.11.1
matchedPath = dist/core/installer/prereq-installer.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.11.1
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/installer/prereq-installer.js View on unpkg dist/core/proxy/hermes-profile-relay.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/proxy/hermes-profile-relay.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/proxy/hermes-profile-relay.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/upgrade/npm[redacted]
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/upgrade/npm-upgrader.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/claude/model-list.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/adapter/claude/model-list.js View on unpkg
S
=
process.platform
===
"win32"
?
";"
:
":"
;
function
$
(
t
){
try
{
return
l
(t,w.
X_OK
),
!
0
}
catch
{
return!
1
}}
function
H
(
t
,
e
){
const
n
=
String
(t
??
""
).
trim
();
if
(
!
n
||
P
(n))
return
n;
const
o
=
process.platform
===
"win32"
,
i
=
String
(e
??
process.env.
PATH
??
""
),
s
=
[],
r
=new
Set;
for
(
const
c
of
i.
split
(
S
)){
const
a
=
c.
trim
();
if
(
!
a)
continue
;
if
(o){
const
u
=
m
(a,n
+
".cmd"
);r.
has
(u)
||
(r.
add
(u),s.
push
(u))}
const
p
=
m
(a,n);r.
has
(p)
||
(r.
add
(p),s.
push
(p))}
for
(
const
c
of
s)
if
(
$
(c))retu
...
2 `).forEach(s=>{const r=parseInt(s.trim(),10);!isNaN(r)&&r>0&&o.push(r)})}),n.on("close",()=>e(o)),n.on("error",()=>e([]))})}function A(t){return W(t)}function W(t){return new Promise(e=>{const n=` ${process.env.SystemRoot || "C: \\ Windows" }\\System32\\WindowsPowerShell\\v1. 0 \\powershell. exe `,o=d(n,["-NoProfile","-NonInteractive","-WindowStyle","Hidden","-Command",` (Get - CimInstance Win32_Process - Filter 'ParentProcessId=${t}' ). ProcessId `],{stdio:"pipe",windowsHide:!0});let i="";o.stdout?.on("data",s=>{i+=s.toString()}),o.on("close",()=>{e(i.split(/ \r ? \n /).map(s=>parseInt(s.trim(),10)).filter(s=>!is ...
High Shell
Package source references shell execution.
dist/core/runtime/spawn.js View on unpkg · L1 Long lines were clipped for display.
• matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/runtime/spawn.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/runtime/spawn.js View on unpkg "./tools.js"
;
import
{WebSocketServer
as
R,WebSocket
as
$}
from
"ws"
;
const
y
=
1024
*
1024
,
_
=
32
*
1024
*
1024
,
N
=
50
,
k
=
1e3
,
f
=
75e3
,
H
=
"2024-11-05"
,
U
=
256
,
T
=new
Set
([
...
C
,
"event_tool_call"
,
"mcp_stdio_log"
]);
class
W
{
server
=
null
;
port
=
0
;
authToken
;
invokeHandler
=
null
;
statusLineHandler
=
null
;
otelHandler
=
null
;
activeInvokes
=
0
;
wss
=
null
;
bridgeWs
=
null
;
mcpBridgeUpHandler
=
null
;
downstreamOutbox
=
[];
mcpBridgeHttpActive
=!
1
;
pendingBridgeResponses
=new
Map;co
...
Medium Dynamic Require
Package source references dynamic require/import behavior.
dist/core/mcp/internal-api-server.js View on unpkg · L1 Long lines were clipped for display.
Z,writeFile
as
T}
from
"node:fs/promises"
;
import
{isIP
as
q}
from
"node:net"
;
import
{join
as
_}
from
"node:path"
;
import
{createSecureContext
as
W}
from
"node:tls"
;
const
X
=
"root-ca-cert.pem"
,
Q
=
"root-ca-key.pem"
,
p
=
"Grix Proxy Root CA"
,
v
=
30
,
ee
=
3650
,
C
=
2048
,
te
=
"1.3.6.1.5.5.7.3.1"
,
re
=
"1.2.840.113549.1.1.11"
,
ne
=
"2.5.4.3"
,
B
=
"2.5.29.19"
,
E
=
"2.5.29.15"
,
oe
=
"2.5.29.37"
,
ie
=
"2.5.29.17"
,
D
=
"2.5.29.14"
,
ce
=
"2.5.29.35"
;
function
fe
(
e
){
if
(e
<
12
...
2 `)??"";return` ----- BEGIN ${e} -----
Low Weak Crypto
Package source references weak cryptographic algorithms.
dist/core/proxy/crypto/certificate.js View on unpkg · L1 5 `}function h(e){const t=e.export({format:"der",type:"spki"});return x("sha1").update(t).digest()}function R(){const e=x("sha256").update(Buffer.from(` ${Date.now()} - ${Math.random()} `)).digest().subarray(0,16);return e[0]=(e[0]??0)&127,e}function k(e,t){return new Date(e.getTime()+t*24*60*60*1e3)}function Y(e){return o(N(e))}function j(e){const t=e.length===0?0:Math.max(...e),r=Math.floor(t/8)+1,n=Buffer.alloc(Math.max(r,1),0);for(const i of e){const s=Math.floor(i/8),c=7-i%8;n[s]=(n[s]??0)|1<<c}return K(n)}function de(e){return o(...e.map(t=>S(t)))}function ge(e){return o(l(0,e))}function F(e){ ...
Long lines were clipped for display.
from
"node:path"
;
import
{spawn
as
x}
from
"node:child_process"
;
import
{log
as
y}
from
"../log/index.js"
;
import
{GRIX_PATHS
as
b}
from
"../log/index.js"
;
import
{resolveClientVersion
as
T}
from
"../util/client-version.js"
;
import
{UpgradeError
as
E,armWindowsUpgradeHandoff
as
q,archivePendingJournal
as
Re,armWindowsUpgradeRollback
as
Ee,cleanupPendingBackup
as
B,collectEnvInfo
as
Te,discardPendingStaging
as
N,finalizePendingTr ...
2 --- ${o.to_version} crash note ---
High Same File Env Network Execution
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/core/upgrade/upgrade-checker.js View on unpkg · L1 3 ${g} `:"")}}else if(i&&i.to_version===r&&$(t,"current")===r){a(` daemon startup: running switched target ${r}, upgrade succeeded `);const l=await this.confirmHealthz(ce);a(l?"healthz confirmed healthy, reporting success":"healthz not confirmed within window; reporting success on version-match"),f={from_version:i.from_version,to_version:i.to_version,status:"success"}}else if(i&&i.from_version===r&&i.switched===!1){a(` daemon startup: switch record for ${i.to_version} was never applied; discarding `);try{R(O(t),{force:!0})}catch{}try{R(L(t),{force:!0})}catch{}return}else if(i&&i.from_version===r)a(` d ...
Long lines were clipped for display.
• matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/upgrade/upgrade-checker.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/upgrade/upgrade-checker.js View on unpkg import
{execFile
as
I}
from
"node:child_process"
;
import
{promisify
as
O}
from
"node:util"
;
const
f
=
O
(
I
),
N
=
[
u
(
h
(),
".aws/sso/cache/kiro-auth-token-cli.json"
),
u
(
h
(),
".aws/sso/cache/kiro-auth-token.json"
)],
R
=
"https://codewhisperer.us-east-1.amazonaws.com"
,
b
=
"AmazonCodeWhispererService.GetUsageLimits"
,
S
=
1e4
,
E
=
"kirocli:odic:token"
,
C
=
"kirocli:odic:device-registration"
;
async
function
x
(
t
){
try
{
const
{
stdout
:
r
}
=await
f
(
"security"
,[
"find-generic-password"
,
"-s"
,t,
"-w"
...
High Command Output Exfiltration
Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.
dist/core/provider-quota/kiro.js View on unpkg · L1 Long lines were clipped for display.
;
import
{promisify
as
A}
from
"node:util"
;
import
{resolveRuntimePaths
as
P}
from
"../config/paths.js"
;
import
{log
as
I}
from
"../log/logger.js"
;
import
{probeUrls
as
D}
from
"./speed-test.js"
;
const
M
=
A
(b),
U
=
1e4
,
N
=
2
,
j
=
3e3
;
function
L
(
e
){
if
(
!
e)
return!
1
;
const
t
=
e.
replace
(
/
\\
/
g
,
"/"
).
toLowerCase
();
return
O
(t)
===
"npm-cli.js"
||
t.
includes
(
"/node_modules/npm/"
)}
function
F
(){
try
{
const
e
=
y
(
P
().rootDir,
"npm-cache"
);
return
k
(e,{recursive:
!
0
}),e}cat
...
2 [${o.label}] ${a}
High Sandbox Evasion Gated Capability
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
dist/core/installer/npm-registry.js View on unpkg · L1 3 ${f} `.trim(),r),I.info("installer",` ${o.label} failed : ${a. slice ( 0 , 200 )} `),K(a)&&s<N){await new Promise(d=>setTimeout(d,j));continue}if(!H(a))throw new T(a,c);break}throw new T(` npm install failed on all registries. Last error : ${u} `,c)}function H(e){return/ECONNRESET|ETIMEDOUT|ECONNREFUSED|ENOTFOUND|EAI_AGAIN|ERR_SOCKET_TIMEOUT|getaddrinfo|socket hang up|network|fetch failed|timed out|tunneling socket|self.signed|404|ETARGET|No matching version|notarget/i.test(e)}function K(e){return/ \b EBUSY \b |resource busy or locked|EPERM[^ \n ]* \b rename \b | \b ELOCKED \b /i.test(e)}function W(e,t,r,i,n){return new ...
4 ${ S ?? ""}` . trim (); if (m){ const w = h || m.message, v = f || m.killed ===! 0 ? `ETIMEDOUT: npm install exceeded ${ r }ms (registry likely unreachable): ${ w }` : w; c ( new T (v,h || w)); return } u (h)}); E = setTimeout (() => {f =! 0 ,l && g.pid ? d =new Promise ( m => { b ( "taskkill" ,[ "/PID" , String (g.pid), "/T" , "/F" ],{windowsHide: ! 0 ,timeout: 1e4 },() => {g. kill ( "SIGTERM" ), m ()})}) : g. kill ( "SIGTERM" )},r), E . unref ?.()})} function Y ( e ){ if (e &&typeof e == "object" && "output" in e){ const t = e.output; return typeof t == "string" ? t : "" } return "" } function z ( e , t ){ return e. length <= t ? e : e. slice ( - t)} function ne ( e ){ return p. map ( t => ({label:t.label,command: `npm install -g ${ e } ...
Long lines were clipped for display.
• matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/installer/npm[redacted]
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.9.5
similarity = 1.000
summary = normalized source hash matched finalized malicious source
High Known Malware Source Similarity
Source file is highly similar to a previously finalized malicious package; route for source-aware review.
dist/core/installer/npm-registry.js View on unpkg