Loading npm security reports…
grix-connector@4.3.0: 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.3.0 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 27d ago · by lpm-firewall-ai The package contains a concrete capability to weaken AI-agent safety controls during session setup. This warrants a warning, not a block, because the behavior is session-triggered and no separate malicious payload or exfiltration was established.
Static reason
One or more suspicious static signals were detected.; source matched previously finalized malicious package; routed for review
Trigger
Starting a Claude, Codex, or Cursor connector session.
Impact
A user may run an agent with reduced trust or permission safeguards and a package-managed MCP configuration.
Mechanism
The adapters mark projects trusted, suppress Claude dangerous-mode prompts, and write workspace MCP configuration.
AI rationale
The package contains a concrete capability to weaken AI-agent safety controls during session setup. This warrants a warning, not a block, because the behavior is session-triggered and no separate malicious payload or exfiltration was established.
Evidence
scripts/install-guardian.mjs dist/adapter/claude/claude-adapter.js dist/adapter/codex/codex-trust.js dist/adapter/codex/codex-bridge.js dist/adapter/cursor/cursor-adapter.js
Decision evidencepublic snapshot AI called this Suspicious at 94.0% confidence as Dangerous Capability with medium false-positive risk.
Evidence for warning
The package runs a postinstall script. That script creates a Grix home bin directory and copies an upgrade guardian outside the package. Claude session startup automatically invokes workspace trust, onboarding, and permission-prompt suppression. The Claude adapter records a workspace as trusted in the user's Claude configuration. The Claude adapter enables the setting that skips the dangerous-mode permission prompt. Codex auto-trusts projects and Cursor writes MCP configuration into workspaces. Evidence against
No credential collection, data export, or unrelated network recipient was established in the inspected paths. The agent configuration changes occur through adapter session behavior rather than the install hook. Behavioral surface
Source ChildProcess Crypto DynamicRequire EnvironmentVars Filesystem Network Shell WebSocket
Source & flagged code26 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 2312 // src/audit/producer/ipc-audit-producer.ts
L2313: import { fork } from "node:child_process";
L2314: import { randomUUID as randomUUID2 } from "node:crypto";
High Child Process
Package source references child process execution.
openclaw-plugin/index.js View on unpkg · L2312 1 import{execFile as c}from"node:child_process";import{accessSync as b,constants as H,existsSync as A,statSync as T}from"node:fs";import{join as h,dirname as g,basename as $,delimite...
L2: `)[0]?.trim()||null||null}}catch(s){const o=s;return o.killed||o.code==="ETIMEDOUT"?{version:null,error:{code:"version_timeout",message:"version check timed out"}}:{version:null,er...
Findings21 High 6 Medium 7 Low
High Install Time Lifecycle Scripts package.json
High Child Process openclaw-plugin/index.js
High Shell dist/core/util/cli-probe.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.3.0.tgz
High Semantic Analysis Limited dist/adapter/acp/acp-adapter.js#virtual:normalized:round1
High Known Malware Source Similarity dist/adapter/agy/agy-adapter.js
Affected versions and remediation This report applies to grix-connector@4.3.0 .
See all versions of grix-connector for other recorded verdicts.
Review the evidence and your use of grix-connector@4.3.0 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-26 04:00:11.708Z (UTC) .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced .
94% Suspicious
AI assessment confidence
Package metadata npm Author askie
Maintainers askie
Version 4.3.0
Latest on npm 4.16.2
Published Aug 25, 2026
License Apache-2.0
Dependencies 13
Integrity verified
Package size 918 KB
Files 511
Keywords grix aibot agent-connector claude codex gemini qwen deepseek
HighEntropyStrings
Minified
UrlStrings
Manifest No manifest risk signals triggered.
scanned 457 file(s), 3.01 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, auth.kimi.com, auth.openai.com, brew.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, kiro.dev, moonshotai.github.io, nodejs.org, opencode.ai, openrouter.ai, qwen-code-assets.oss-cn-hangzhou.aliyuncs.com, raw.githubusercontent.com, registry.npmjs.org, registry.npmmirror.com, schemas.microsoft.com, www.apple.com, www.npmjs.com
High Shell
Package source references shell execution.
dist/core/util/cli-probe.js View on unpkg · L1 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 U,existsSync as y,mkdirSync as N,openSync as Q,readFileSync as A,realpathSync as ee,renameSync as te,writeFileSync as ae}from"node:fs";import{join as f,dirname ...
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 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 w,execFileSync as $}from"node:child_process";import{existsSync as O}from"node:fs";import{dirname as T,join as y}from"node:path";import{promisify as k}from"node:u...
L2: [${n.label}] ${c}
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 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 K}from"node:child_process";import{createInterface as me}from"node:readline";import{EventEmitter as Z}from"node:events";import{stat as Q}from"node:fs/promises...
L2: \u2026(truncated)`,oe=80,et=120*1e3,tt=60*1e3,it=300*1e3,st=H("GRIX_CODEX_DELTA_COALESCE_MS",1e3),nt=H("GRIX_CODEX_DELTA_COALESCE_CHARS",4096),rt=[{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.3.0.tgz View file • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz
kind = high_entropy_blob
sizeBytes = 22489
magicHex = [redacted]
High Ships High Entropy Blob
Package ships high-entropy non-source blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz
kind = compressed_blob
sizeBytes = 22489
magicHex = [redacted]
Medium Ships Compressed Blob
Package ships compressed or archive-like blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz
kind = nested_archive_needs_inspection
sizeBytes = 22489
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.3.0.tgz View on unpkg dist/adapter/acp/acp-adapter.js#virtual:normalized:round1 View file • stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 1
High Semantic Analysis Limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/adapter/acp/acp-adapter.js#virtual:normalized:round1 View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.6.3
matchedPath = dist/adapter/agy/agy-adapter.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.6.3
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.6.3
matchedPath = dist/core/installer/installer.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.6.3
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.9.5
matchedPath = dist/core/installer/prereq-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/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/adapter/acp/acp-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/acp/acp-adapter.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 dist/adapter/cursor/cursor-adapter.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/cursor/cursor-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/cursor/cursor-adapter.js View on unpkg dist/adapter/openhuman/openhuman-adapter.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = [redacted]-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/openhuman/openhuman-adapter.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/files/file-serve.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/files/file-serve.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/installer/env-detect.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/env-detect.js View on unpkg 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/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/adapter/acp/acp-adapter.js
High Known Malware Source Similarity dist/adapter/claude/model-list.js
High Known Malware Source Similarity dist/adapter/cursor/cursor-adapter.js
High Known Malware Source Similarity dist/adapter/openhuman/openhuman-adapter.js
High Known Malware Source Similarity dist/core/files/file-serve.js
High Known Malware Source Similarity dist/core/installer/env-detect.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.3.0.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.3.0.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.24 MB · 511 files 1 signature(s)
Install lifecycle postinstall prepublishOnly
Behavioral surface ChildProcess Crypto DynamicRequire EnvironmentVars Filesystem Network Shell WebSocket HighEntropyStrings Minified UrlStrings Manifest: clean
Source & flagged code26 flagged Lines 6-46 json
6 "main" : "dist/index.js" ,
8 "grix-connector" : "dist/grix.js"
18 "scripts/install-guardian.mjs" ,
19 "scripts/upgrade-guardian.mjs" ,
20 "scripts/analyze-audit-replays.mjs" ,
21 "scripts/install-guardian.sh" ,
22 "scripts/upgrade-guardian.sh" ,
23 "openclaw.plugin.json"
26 "postinstall" : "node scripts/install-guardian.mjs" ,
High Install Time Lifecycle Scripts
Package defines install-time lifecycle scripts.
package.json View on unpkg · L26 27 "prepublishOnly" : "npm run build:all" ,
28 "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 ...
29 " check:isolation ": " node scripts/check-adapter-isolation.mjs ",
30 " build:plugin ": " node scripts/build-plugin.mjs ",
31 " build:all ": " npm run build && node scripts/minify-dist.mjs && npm run build:plugin ",
32 " dev ": " npm run build && node dist/grix.js ",
33 " test ": " node --experimental-vm-modules node_modules/vitest/vitest.mjs run ",
34 " test:watch ": " node --experimental-vm-modules node_modules/vitest/vitest.mjs ",
35 " 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 ",
36 " 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 ",
37 " 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 ",
38 " test:e 2 e:relay ": " node scripts/relay-e 2 e.mjs ",
39 " 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 ",
40 " 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 ",
41 " 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 ",
42 " 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 ",
43 " 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: \" " ,
44 "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 \" 问答卡文本回执 \" " ,
45 "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" ,
46 "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.
Lines 2292-2332 javascript
2292 warn (tag, msg, ... args) {
2293 if ( ! shouldLog (tag, "warn" )) return ;
2294 const line = formatLine ( "warn"
Lines 1-3 javascript
1 import {execFile as c} from "node:child_process" ; import {accessSync as b,constants as H,existsSync as A,statSync as T} from "node:fs" ; import {join as h,dirname as g,basename as $,delimiter
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-2 javascript
1 import {closeSync as U,existsSync as y,mkdirSync as N,openSync as Q,readFileSync as A,realpathSync as ee,renameSync as te,writeFileSync as ae} from "node:fs" ; import {join as f,dirname as re} from
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 w,execFileSync as $} from "node:child_process" ; import {existsSync as O} from "node:fs" ; import {dirname as T,join as y} from "node:path" ; import {promisify as
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 K}from"node:child_process";import{createInterface as me}from"node:readline";import{EventEmitter as Z}from"node:events";import{stat as Q}from"node:fs/promises...
L2: \u2026(truncated)`,oe=80,et=120*1e3,tt=60*1e3,it=300*1e3,st=H("GRIX_CODEX_DELTA_COALESCE_MS",1e3),nt=H("GRIX_CODEX_DELTA_COALESCE_CHARS",4096),rt=[{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.3.0.tgz View file • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz
kind = high_entropy_blob
sizeBytes = 22489
magicHex = [redacted]
High Ships High Entropy Blob
Package ships high-entropy non-source blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz
kind = compressed_blob
sizeBytes = 22489
magicHex = [redacted]
Medium Ships Compressed Blob
Package ships compressed or archive-like blobs.
dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz View on unpkg • path = dist/assets/dsh-bridge/grix-dsh-bridge-4.3.0.tgz
kind = nested_archive_needs_inspection
sizeBytes = 22489
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.3.0.tgz View on unpkg dist/adapter/acp/acp-adapter.js#virtual:normalized:round1 View file • stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 1
High Semantic Analysis Limited
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/adapter/acp/acp-adapter.js#virtual:normalized:round1 View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.6.3
matchedPath = dist/adapter/agy/agy-adapter.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.6.3
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.6.3
matchedPath = dist/core/installer/installer.js
matchedIdentity = npm:Z3JpeC1jb25uZWN0b3I:4.6.3
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.9.5
matchedPath = dist/core/installer/prereq-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/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/adapter/acp/acp-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/acp/acp-adapter.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 dist/adapter/cursor/cursor-adapter.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/adapter/cursor/cursor-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/cursor/cursor-adapter.js View on unpkg dist/adapter/openhuman/openhuman-adapter.js View file • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = [redacted]-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/openhuman/openhuman-adapter.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/files/file-serve.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/files/file-serve.js View on unpkg • matchType = normalized_sha256
matchedPackage = grix-connector@4.9.5
matchedPath = dist/core/installer/env-detect.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/env-detect.js View on unpkg , tag, msg, args);
2295 emitConsole ( "warn" , line);
2296 safeWrite (line + " \n " );
2298 error (tag, msg, ... args) {
2299 if ( ! shouldLog (tag, "error" )) return ;
2300 const line = formatLine ( "error" , tag, msg, args);
2301 emitConsole ( "error" , line);
2302 safeWrite (line + " \n " );
2306 // src/core/log/rotation.ts
2307 var DEFAULT_LOG_MAX_BYTES = 10 * 1024 * 1024 ;
2309 // src/core/log/packet-log.ts
2310 var DEFAULT_MAX_BYTES = 128 * 1024 * 1024 ;
2312 // src/audit/producer/ipc-audit-producer.ts
2313 import { fork } from "node:child_process" ;
2314 import { randomUUID as randomUUID2 } from "node:crypto" ;
High Child Process
Package source references child process execution.
openclaw-plugin/index.js View on unpkg · L2312 2315 import { fileURLToPath } from "node:url" ;
2317 // src/audit/worker/audit-recorder-ipc-protocol.ts
2318 var AUDIT_RECORDER_PROTOCOL_VERSION = 3 ;
2319 function isAuditRecorderChildMessage ( value ) {
2320 if ( ! isRecord (value) || typeof value.type !== "string" ) return false ;
2321 switch (value.type) {
2322 case "audit_recorder_ready" :
2323 return value.protocolVersion === AUDIT_RECORDER_PROTOCOL_VERSION ;
2324 case "audit_recorder_job_result" :
2325 return typeof value.deliveryId === "string" && typeof value.ok === "boolean" && typeof value.retryable === "boolean" && (value.error === void 0 || typeof value.error === "string" ) && (value.revision === void 0 || typeof value.revision === "number" && Number. isSafeInteger (value.revision) && value.revision > 0 ) && (value.quality === void 0 || value.quality === "complete" || value.quality === "partial" || value.quality === "metadata_only" || value.quality === "failed" ) && (value.truncated === void 0 || typeof value.truncated === "boolean" );
2326 case "audit_recorder_flushed" :
2327 case "audit_recorder_stopped" :
2328 return typeof value.requestId === "string" ;
2329 case "audit_recorder_fatal" :
2330 return typeof value.error === "string" ;
as
p}
from
"node:path"
;
import
{promisify
as
l}
from
"node:util"
;
import
{log
as
a}
from
"../log/logger.js"
;
const
I
=
3e3
,
C
=
5e3
,
d
=
"__GRIX_SHELL_PATH__"
;
function
x
(
t
,
e
){
const
n
=
[
".cmd"
,
".bat"
,
".exe"
,
""
];
for
(
const
r
of
t)
if
(r)
for
(
const
i
of
n){
const
s
=
h
(r,
`${
e
}${
i
}`
);
if
(
A
(s))
return
s}
return
null
}
const
M
=
1e4
,
P
=
{cache:
null
,inflight:
null
},
S
=
{cache:
null
,inflight:
null
},
_
=
{cache:
null
,inflight:
null
};
let
w
=
0
;
function
q
(){w
++
;
for
(
const
t
...
2 `)[0]?.trim()||null||null}}catch(s){const o=s;return o.killed||o.code==="ETIMEDOUT"?{version:null,error:{code:"version_timeout",message:"version check timed out"}}:{version:null,error:{code:"cli_error",message:o.message??String(s)}}}}export{y as findPosixExecutableInDirs,x as findWindowsExecutableInDirs,J as getCliVersion,q as invalidateCliPathCache,B as resolveCliPath,N as resolvePosixInstalledCli,v as resolveViaNpmGlobalBin,F as resolveWindowsInstalledCli};
High Shell
Package source references shell execution.
dist/core/util/cli-probe.js View on unpkg · L1 Long lines were clipped for display.
"./tools.js"
;
import
{WebSocketServer
as
R,WebSocket
as
$}
from
"ws"
;
const
y
=
1024
*
1024
,
U
=
32
*
1024
*
1024
,
N
=
50
,
k
=
1e3
,
f
=
75e3
,
H
=
"2024-11-05"
,
I
=
256
,
T
=new
Set
([
...
C
,
"event_tool_call"
]);
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;codebaseNavigatorC
...
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.
"node:path"
;
import
{spawn
as
G}
from
"node:child_process"
;
import
{log
as
g}
from
"../log/index.js"
;
import
{GRIX_PATHS
as
m}
from
"../log/index.js"
;
import
{resolveClientVersion
as
R}
from
"../util/client-version.js"
;
import
{UpgradeError
as
T,armWindowsUpgradeHandoff
as
O,armWindowsUpgradeRollback
as
ie,cleanupPendingBackup
as
M,collectEnvInfo
as
ne,discardPendingStaging
as
k,finalizePendingTransaction
as
P,getUpgradeLogT ...
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 Long lines were clipped for display.
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.
k}
from
"node:util"
;
import
{log
as
I}
from
"../log/logger.js"
;
import
{probeUrls
as
v}
from
"./speed-test.js"
;
const
C
=
k
(w),
A
=
1e4
,
x
=
2
,
M
=
3e3
;
function
R
(
t
,
e
=
{}){
if
((e.platform
??
process.platform)
!==
"win32"
)
return
{command:
"npm"
,args:t};
const
i
=
e.env
??
process.env,
o
=
e.nodePath
??
process.execPath,
u
=
[
typeof
i.npm_execpath
==
"string"
?
i.npm_execpath
:
""
,
y
(
T
(o),
"node_modules"
,
"npm"
,
"bin"
,
"npm-cli.js"
)];
try
{
const
n
=
$
(
"where.exe"
,[
"npm.cmd"
],{encoding:
"ut ..
.
2 [${n.label}] ${c}
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 ${d} `.trim(),r),I.info("installer",` ${n.label} failed: ${c.slice( 0 , 200 )} `),j(c)&&l<x){await new Promise(m=>setTimeout(m,M));continue}if(!U(c))throw new b(c,s);break}throw new b(` npm install failed on all registries. Last error: ${u} `,s)}function U(t){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(t)}function j(t){return/ \b EBUSY \b |resource busy or locked|EPERM[^ \n ]* \b rename \b | \b ELOCKED \b /i.test(t)}function D(t,e,r,i,o){return new ...
4 ${ N ?? ""}` . trim (); if (p){const h = E || p.message, S = c || p.killed ===! 0 ? `ETIMEDOUT: npm install exceeded ${ r }ms (registry likely unreachable): ${ h }` : h; s ( new b ( S , E || h));return} u ( E )});m = setTimeout (() => {c =! 0 ,l && g.pid ? d =new Promise ( p => { w ( "taskkill" ,[ "/PID" , String (g.pid), "/T" , "/F" ],{windowsHide: ! 0 ,timeout: 1e4 },() => {g. kill ( "SIGTERM" ), p ()})}) : g. kill ( "SIGTERM" )},r),m. unref ?.()})} function L ( t ){ if (t &&typeof t == "object" && "output" in t){ const e = t.output; return typeof e == "string" ? e : "" } return "" } function F ( t , e ){ return t. length <= e ? t : t. slice ( - e)} function Q ( t ){ return f. map ( e => ({label:e.label,command: `npm install -g ${ t } ...
Long lines were clipped for display.