Loading npm security reports…
Loading npm security reports…
@moda-ai/cli@1.55.71: npm security report – allowed | LPM Firewall
Allowed — no malicious behavior detected
25 low-signal patterns reviewed and cleared.
AI security reviewscanned on Oct 21, 2026, 07:17 UTC · by lpm-firewall-ai The inspected source supports ordinary CLI and user-invoked integration behavior, and the manifest has no npm lifecycle hook. Scanner matches did not establish credential harvesting or an unrelated recipient, so the package is clean.
Static reason
High-risk behavior combination matched malicious policy.; previous stored version diff introduced dangerous source
Trigger
Running the CLI command that analyzes or uploads a harness, or invoking skill integration commands.
Impact
No confirmed unauthorized credential transfer, install-time mutation, or other attack effect was established.
Mechanism
The CLI makes authenticated service requests and handles upload targets; integration code uses project-level agent skill locations.
Decision evidencepublic snapshot Evidence for AI clean decision
package.json exposes a CLI and has no npm lifecycle hook; its listed scripts are build and development tasks.
The agent-related files describe project skill paths and a `moda skills push` command, consistent with user-invoked integration setup.
The flagged harness code sends an API-key-authenticated request and uploads to a target URL; the inspected excerpts do not establish credential harvesting or an unrelated recipient.
The runtime hint is error handling that writes an API error message to stderr.
Inspected dependency entrypoints show ordinary prompt, schema, and URL-opening package code. 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 47 files · 3.34 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-y7dtztan.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 code15 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) {
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-k8hzbxtn.js#virtual:normalized:round1 View file 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-k8hzbxtn.js#virtual:normalized:round1 View on unpkg · L520 Medium Dynamic requireCleared
Package source references dynamic require/import behavior.
dist/cli-k8hzbxtn.js#virtual:normalized:round1 View on unpkg · L520 Shared code excerpt · 2 findings · 3 lines 520 function stripQuotes(value) {
521 return value.replace(/^["']|[""]$/g, \"\");\n}\nfunction getGitCommit(cwd) {\n try {\n return execFileSync(\"git\", [\"rev-parse\", \"HEAD\"], {\n cwd,\n encoding: \"...
522 return 0;
Critical Credential exfiltrationCleared
Source appears to send environment or credential material to an external endpoint.
dist/cli-tgjvf91h.js View on unpkg · L143 High Cloud metadata accessCleared
Source reaches cloud instance metadata or link-local credential endpoints.
dist/cli-tgjvf91h.js View on unpkg · L143 Low Weak cryptoCleared
Package source references weak cryptographic algorithms.
dist/cli-tgjvf91h.js View on unpkg · L143 Shared code excerpt · 3 findings · 8 lines 143 return ;
144 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-vj7cr35e.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-vj7cr35e.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-y7dtztan.js View on unpkg Scanner record · 4 lines path = dist/cli-y7dtztan.js
kind = oversized_source_file
sizeBytes = 8958883
magicHex = [redacted]
dist/cli-87xy1evx.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-87xy1evx.js#virtual:normalized:round1 View on unpkg Scanner record · 1 line stage = ast_semantic_analysis; reason = ast_parse_error; limitedFiles = 4
dist/cli-rjav0vj1.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
145
return name.text;
441 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...
442 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
443 var MESSAGE_CLASS = /^(?:System|Human|AI|Ai|Tool|Function|Chat|Assistant|User)Message (?:Chunk)?$/;
3408 var PRIVATE_KEY_BLOCK = /-----BEGIN ([A-Z ]*)PRIVATE KEY-----(?
Critical Trigger reachable dangerous capabilityCleared
A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.
dist/cli-tgjvf91h.js View on unpkg · L143 Code excerpt · 6 lines Trigger-reachable chain: manifest.bin -> dist/cli.js -> dist/harness-29rxrwfg.js -> dist/cli-tgjvf91h.js
143 return ;
144 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
145 return name.text;
⋯
441 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...
442 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
443 var MESSAGE_CLASS = /^(?:System|Human|AI|Ai|Tool|Function|Chat|Assistant|User
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-tgjvf91h.js View on unpkg Scanner record · 5 lines matchType = previous_version_dangerous_delta
matchedPackage = @moda-ai/cli@1.55.70
matchedIdentity = npm:QG1vZGEtYWkvY2xp:1.55.70
similarity = 0.959
summary = stored previous version shares package body but lacks this dangerous source file
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-tgjvf91h.js View on unpkg · L143 Code excerpt · 6 lines Cross-file remote execution chain: dist/cli-tgjvf91h.js spawns dist/prompt-source-mcp.js; helper contains network access plus dynamic code execution.
143 return ;
144 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
145 return name.text;
⋯
441 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...
442 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
443 var MESSAGE_CLASS = /^(?:System|
High Trigger reachable credential exfiltrationCleared
A manifest entrypoint or package-local install chain reaches credential exfiltration behavior.
dist/cli-tgjvf91h.js View on unpkg · L143 Code excerpt · 6 lines Trigger-reachable credential exfiltration chain: manifest.bin -> dist/cli.js -> dist/harness-29rxrwfg.js -> dist/cli-tgjvf91h.js
143 return ;
144 if (import_typescript.default .isIdentifier (name) || import_typescript.default .isStringLiteral (name) || import_typescript.default .isPrivateIdentifier (name) || import_typescript.defa...
145 return name.text;
⋯
441 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...
442 var IO_MODULE = /^(?:node:)?(?:fs|fs\/promises|http|https|net|child_process)$|^(?:@supabase\/|@prisma\/|drizzle-orm|pg$|postgres$|mysql2?|mongodb|mongoose|redis|ioredis|@upstash\/|...
443 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