CLI for Moda: production monitoring and evals for AI agents.
Allowed — no malicious behavior detected
21 low-signal patterns reviewed and cleared.
AI security review
scanned · by lpm-firewall-ai
The inspected authentication code sends login codes to the resolved Moda API endpoint and rejects redirects; it does not substantiate the reported fixed unofficial gateway. Agent skill writes occur through CLI setup, while package.json defines no install hook, so the scanner signals do not establish malicious behavior.
Static reason
One or more suspicious static signals were detected.
Trigger
Running the CLI authentication or setup commands.
Impact
No confirmed unauthorized credential disclosure or install-time agent control-surface change was established.
Mechanism
Authentication uses the resolved Moda API base URL; optional setup installs project-local skills or launches a coding agent for SDK integration.
Decision evidence
public snapshot
Evidence for AI clean decision
package.json has no install lifecycle hook; its scripts are build and development tasks.
The flagged authentication exchange posts a login code to the resolved Moda API base URL and refuses redirects; the inspected source does not show a fixed unofficial gateway.
Agent skill setup is a CLI setup action that writes project-local Claude or Cursor skill files, checks for unmanaged file collisions, and records managed paths.
The SDK integration plan discloses that the Moda API key will be provided to the coding agent for verification; that setup is configurable and is presented for confirmation.
Inspected dependency manifests and entry files show ordinary prompt, schema-validation, and URL-opening dependencies without lifecycle scripts.
Evidence against
Static scanner labels allege a credential redirect and agent configuration mutation, but inspected source does not establish an unrelated credential recipient or an unconsented install-time control-surface write.
The package exports its CLI through dist/cli.js and defines no preinstall, install, or postinstall hook.
Automated scan signals; the review checked them and cleared this version. Where they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
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-ttxbqyr2.js
resolveModaBaseUrl,
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) {