Loading npm security reports…
Loading npm security reports…
@moda-ai/cli@1.55.104: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
25 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 29, 2026, 01:29 UTC · by lpm-firewall-ai Source inspection found no install hook or concrete attack chain. The flagged credential transfers are tied to Moda endpoints resolved from profile settings, and the agent setup is part of an explicit CLI initialization flow.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
A user runs the CLI’s authentication, API, remote analysis, or initialization commands.
Impact
The inspected behavior supports intended Moda service use and user-selected project setup; no unrelated credential recipient or unrequested account action was established.
Mechanism
The CLI sends credentials to URLs resolved from its profile or environment settings; initialization presents a setup plan before applying the selected integrations.
Evidence
package.json dist/cli-pae8jxe9.js dist/index-dmhrtv9c.js dist/cli.js dist/cli-82fxwm0m.js dist/cli-25yzb3wd.js .lpm-dependency-evidence-4309d1a0-5872-410b-a568-4bed6a340134/0/npm-linux/package.json .lpm-dependency-evidence-4309d1a0-5872-410b-a568-4bed6a340134/0/npm-linux/dist/index.js
.lpm-dependency-evidence-4309d1a0-5872-410b-a568-4bed6a340134/1/npm-linux/package.json
.lpm-dependency-evidence-4309d1a0-5872-410b-a568-4bed6a340134/1/npm-linux/index.js
.lpm-dependency-evidence-4309d1a0-5872-410b-a568-4bed6a340134/2/npm-linux/package.json
.lpm-dependency-evidence-4309d1a0-5872-410b-a568-4bed6a340134/2/npm-linux/index.js
dist/cli-ap7wfbnk.js
dist/cli-n9ng8mym.js
dist/cli-qwnkv4jy.js
dist/cli-rjav0vj1.js
Network endpoints3
moda.dev staging.moda.dev moda-ingest.modas.workers.dev
Decision evidencepublic snapshot Evidence for AI clean decision
package.json defines CLI entry points and build scripts, with no install lifecycle hook. Credential requests use URLs resolved from Moda profile or environment settings; defaults point to Moda’s production or staging services, and the inspected account calls fetch data for SDK verification. The `moda init` flow creates an account key and presents a setup plan for confirmation; its SDK integration sends that key to the coding agent for a verification run. The flagged skills file is reached through an explicit `skills` command and writes project skill files or a managed `AGENTS.md` block. The inspected dependency manifests and entry files show an interactive prompt package, a schema library, and a URL opener; their inspected manifests contain no install scripts. Behavioral surface
Source Child process · Crypto · Dynamic require · Environment variables · Eval · Filesystem · Network · Shell
Supply chain High entropy strings · Telemetry · URL strings
Manifest Wildcard dependency
Scanned 52 files · 3.68 MB of source
8 external domains referenced
docs.moda.dev json-schema.org moda-github.modas.workers.dev moda-ingest.modas.workers.dev moda.dev raw.githubusercontent.com registry.npmjs.org staging.moda.dev Oversized source lightweight scan
dist/cli-r0pkdy83.js 8.54 MB file, sampled 256 KB
Filesystem Child process Crypto Shell Dynamic require High entropy strings
Findings3 critical · 9 high · 6 medium · 7 low Source & flagged code14 flagged The lines the automated scan flagged. The review checked them and cleared this version.
High Child processCleared
Package source references child process execution.
dist/cli-rjav0vj1.js View on unpkg · L3 Code excerpt · 3 lines 3 import { join } from "node:path" ;
4 import { execSync } from "node:child_process" ;
5 function isOnPath (cmd) {
dist/cli-pae8jxe9.js#virtual:normalized:round1 View file Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/cli-pae8jxe9.js#virtual:normalized:round1 View on unpkg · L529 Code excerpt · 3 lines 529 function stripQuotes(value) {
530 return value.replace(/^["']|[""]$/g, \"\");\n}\nfunction getGitCommit(cwd) {\n try {\n return execFileSync(\"git\", [\"rev-parse\", \"HEAD\"], {\n cwd,\n encoding: \"...
531 return 0;
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/cli-82fxwm0m.js View on unpkg · L150 High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/cli-82fxwm0m.js View on unpkg · L150 Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/cli-82fxwm0m.js View on unpkg · L150 Shared code excerpt · 3 findings · 9 lines 150 return ;
151 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
High Credential redirect persistenceCleared
Manifest-reachable source sends a prompted API credential to a fixed unofficial gateway and persists the redirection.
dist/index-dmhrtv9c.js View on unpkg Scanner record · 8 lines Manifest-reachable source captures an API credential, sends it to a fixed unofficial gateway, and persists that redirection in agent or shell configuration.
dist/index-dmhrtv9c.jsresolveModaBaseUrl,
import { existsSync as existsSync5, mkdirSync as mkdirSync4, readdirSync as readdirSync3, readFileSync as readFileSync4, writeFileSync as writeFileSync3 } from "node:fs";
import { existsSync as existsSync2, mkdirSync as mkdirSync2, readFileSync, writeFileSync } from "node:fs";
writeFileSync(absolutePath, content);
writeFileSync as writeFileSync2
lastError = "verification requires an explicit audit fetcher bound to the provisioned API key";
async function fetchAuditWithApiKey(id, apiKey, baseUrl) {
const url = `${baseUrl}/api/v1/data/audit/${encodeURIComponent(id)}?kind=conversation&include_bo
High Trigger reachable external AI agent control surface mutationCleared
Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
dist/cli-mc3z77bv.js View on unpkg Scanner record · 23 lines Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
import {
sk[redacted],
readskillsmanifest,
upsertskillmanifestrecord
} from "./cli-qm5b1vck.js";
import {
detectagents
} from "./cli-rjav0vj1.js";
import {
claudeskilltocursorrule,
packageassetpath
} from "./cli-hcwdz9sd.js";
import { createhash } from "node:crypto";
import { existssync, mkdirsync, readdirsync, readfilesync, writefilesync } from "node:fs";
Medium Oversized source fileCleared
Package contains source files above the normal full-analysis size ceiling.
dist/cli-r0pkdy83.js View on unpkg Scanner record · 4 lines path = dist/cli-r0pkdy83.js
kind = oversized_source_file
sizeBytes = 8958883
magicHex = [redacted]
dist/cli-ap7wfbnk.js#virtual:normalized:round1 View file High Semantic analysis limitedCleared
A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/cli-ap7wfbnk.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 4
Critical Previous version dangerous deltaCleared
This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.
dist/cli-n9ng8mym.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @moda-ai/cli@1.55.103
matchedIdentity = npm:QG1vZGEtYWkvY2xp:1.55.103
similarity = 0.981
summary = stored previous version shares package body but lacks this dangerous source file
dist/cli-n9ng8mym.js1 finding
Package metadata 11 findings
High Shell Cleared
Medium Environment variables Cleared
Medium Structural risk force deep review Cleared
Medium Wildcard dependency Cleared
Low Scripts present Cleared
Low High entropy strings Cleared
152
return name.text;
448 var IO_METHOD = /^(?:fetch|readFile|readFileSync|readdir|query|prepare|first|all|exec|execute|getItem|json|text|blob|arrayBuffer|findMany|findFirst|findUnique|findOne|find|select|d...
449 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
450 var MESSAGE_CLASS = /^(?:System|Human|AI|Ai|Tool|Function|Chat|Assistant|User)Message (?:Chunk)?$/;
4166 if (str.charCodeAt (idx - 1 ) === 13 )
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/cli-82fxwm0m.js View on unpkg · L150 Code excerpt · 6 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/harness-d92py0t2.js -> dist/cli-82fxwm0m.js
150 return ;
151 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
152 return name.text;
⋯
448 var IO_METHOD = /^(?:fetch|readFile|readFileSync|readdir|query|prepare|first|all|exec|execute|getItem|json|text|blob|arrayBuffer|findMany|findFirst|findUnique|findOne|find|select|d...
449 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
450 var MESSAGE_CLASS = /^(?:System|Human|AI|Ai|Tool|Function|Chat|Assistant|User
High Same file environment network executionCleared
A single source file combines environment access, network access, and code or shell execution; review context before blocking.
dist/cli-82fxwm0m.js View on unpkg · L8305 Code excerpt · 7 lines 8305 // ../../packages/harness-bundle/src/collect/git.ts
8306 import { spawnSync } from "node:child_process" ;
8307 import { isAbsolute as isAbsolute3, resolve as resolve4 } from "node:path" ;
8308 var MAX_BUFFER = 1024 * 1024 * 1024 ;
⋯
8315 ...input === undefined ? {} : { input },
8316 env: { ...process.env, GIT_OPTIONAL_LOCKS: "0" , GIT_TERMINAL_PROMPT: "0" }
8317 });
High Cross file remote execution contextCleared
Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
dist/cli-82fxwm0m.js View on unpkg · L150 Code excerpt · 6 lines Cross-file remote execution chain: dist/cli-82fxwm0m.js spawns dist/prompt-source-mcp.js; helper contains network access plus dynamic code execution.
150 return ;
151 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
152 return name.text;
⋯
448 var IO_METHOD = /^(?:fetch|readFile|readFileSync|readdir|query|prepare|first|all|exec|execute|getItem|json|text|blob|arrayBuffer|findMany|findFirst|findUnique|findOne|find|select|d...
449 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
450 var MESSAGE_CLASS = /^(?:System|
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli-82fxwm0m.js View on unpkg · L150 Code excerpt · 6 lines Trigger-reachable credential exfiltration chain: manifest.bin -> dist/cli.js -> dist/harness-d92py0t2.js -> dist/cli-82fxwm0m.js
150 return ;
151 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
152 return name.text;
⋯
448 var IO_METHOD = /^(?:fetch|readFile|readFileSync|readdir|query|prepare|first|all|exec|execute|getItem|json|text|blob|arrayBuffer|findMany|findFirst|findUnique|findOne|find|select|d...
449 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
450 var MESSAGE_CLASS = /^(?:System|Human|AI|Ai|Tool|Func
import { dirname, join, relative } from "node:path";
var bundled_skills_dir = packageassetpath("skills", "integration");
function bundledskillsdir() {
return process.env.moda_bundled_skills_dir || bundled_skills_dir;
function readbundledindex() {
const indexpath = join(bundledskillsd