Loading npm security reports…
Loading npm security reports…
@moda-ai/cli@1.55.144: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
23 low-signal patterns reviewed and cleared.
AI security reviewscanned on Nov 13, 2026, 08:15 UTC · by lpm-firewall-ai The metadata addresses occur in a provider classification catalog, not as network requests. The inspected credential flows target Moda endpoints for explicit CLI features, and agent setup is part of the user-invoked init flow.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
The CLI runs when a user invokes its command; init setup requires an explicit init command.
Impact
No unauthorized credential collection, external transmission, or agent control change was identified.
Mechanism
The flagged metadata addresses are catalog data, while authenticated remote analysis targets the configured Moda ingest URL.
Decision evidencepublic snapshot Evidence for AI clean decision
The manifest exposes a CLI and has no install, preinstall, or postinstall script.
The CLI dispatches commands only when run as the main script.
The cloud metadata addresses appear in a provider catalog entry labeled as an emulated service.
Remote harness analysis sends its request to the supplied Moda ingest URL.
Agent setup is part of the explicit init flow, which presents a setup plan for confirmation; bundled skills are written to project skill and rule paths. 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.62 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 · 7 high · 6 medium · 7 low Source & flagged code13 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-bevt4ysp.js View on unpkg · L21 Code excerpt · 3 lines 21 // src/skills.ts
22 import { execFileSync } from "node:child_process" ;
23 import { createHash } from "node:crypto" ;
Low EvalCleared
Package source references a known benign dynamic code generation pattern.
dist/prompt-source-mcp.js View on unpkg · L2871 Code excerpt · 3 lines 2871 sourceCode = this .opts.code.process (sourceCode, sch);
2872 const makeValidate = new Function (`${names_1.default.self}` , `${names_1.default.scope}` , sourceCode);
2873 const validate = makeValidate (this , this .scope.get ());
dist/cli-bevt4ysp.js#virtual:normalized:round1 View file Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/cli-bevt4ysp.js#virtual:normalized:round1 View on unpkg · L271 Code excerpt · 3 lines 271 function stripQuotes(value) {
272 return value.replace(/^["']|[""]$/g, \"\");\n}\nfunction getGitCommit(cwd) {\n try {\n return execFileSync(\"git\", [\"rev-parse\", \"HEAD\"], {\n cwd,\n encoding: \"...
273 }
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/cli-je1hfmvv.js View on unpkg · L154 High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/cli-je1hfmvv.js View on unpkg · L154 Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/cli-je1hfmvv.js View on unpkg · L154 Shared code excerpt · 3 findings · 9 lines 154 return ;
155 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
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-jqabndfd.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-2fv0q9tx.js";
import {
detectagents
} from "./cli-rjav0vj1.js";
import {
claudeskilltocursorrule,
packageassetpath
} from "./cli-nec99rtj.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]
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.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @moda-ai/cli@1.55.142
matchedIdentity = npm:QG1vZGEtYWkvY2xp:1.55.142
similarity = 0.963
summary = stored previous version shares package body but lacks this dangerous source file
dist/cli.js
1 finding
Package metadata 10 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
156
return name.text;
452 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...
453 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
454 var MESSAGE_CLASS = /^(?:System|Human|AI|Ai|Tool|Function|Chat|Assistant|User)Message (?:Chunk)?$/;
4170 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-je1hfmvv.js View on unpkg · L154 Code excerpt · 6 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/harness-ra7mcjkx.js -> dist/cli-je1hfmvv.js
154 return ;
155 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
156 return name.text;
⋯
452 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...
453 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
454 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-je1hfmvv.js View on unpkg · L8304 Code excerpt · 7 lines 8304 // ../../packages/harness-bundle/src/collect/git.ts
8305 import { spawnSync } from "node:child_process" ;
8306 import { isAbsolute as isAbsolute3, resolve as resolve4 } from "node:path" ;
8307 var MAX_BUFFER = 1024 * 1024 * 1024 ;
⋯
8314 ...input === undefined ? {} : { input },
8315 env: { ...process.env, GIT_OPTIONAL_LOCKS: "0" , GIT_TERMINAL_PROMPT: "0" }
8316 });
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-je1hfmvv.js View on unpkg · L154 Code excerpt · 6 lines Cross-file remote execution chain: dist/cli-je1hfmvv.js spawns dist/prompt-source-mcp.js; helper contains network access plus dynamic code execution.
154 return ;
155 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
156 return name.text;
⋯
452 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...
453 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
454 var MESSAGE_CLASS = /^(?:System|
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli-je1hfmvv.js View on unpkg · L154 Code excerpt · 6 lines Trigger-reachable credential exfiltration chain: manifest.bin -> dist/cli.js -> dist/harness-ra7mcjkx.js -> dist/cli-je1hfmvv.js
154 return ;
155 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
156 return name.text;
⋯
452 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...
453 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
454 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