CLI for Moda: production monitoring and evals for AI agents.
Allowed — no malicious behavior detected
24 low-signal patterns reviewed and cleared.
AI security review
scanned · by lpm-firewall-ai
Direct source inspection did not substantiate the scanner's claims of a fixed credential gateway or install-time agent configuration abuse. The manifest has no install hook, and the flagged configuration and authentication paths are tied to user-invoked CLI workflows.
No attack trigger was identified; the reviewed setup and authentication behavior runs through explicit CLI actions.
Impact
No confirmed attack impact; the inspected behaviors support normal CLI setup and authentication.
Mechanism
No malicious mechanism was established in the inspected source.
Decision evidence
public snapshot
Evidence for AI clean decision
package.json declares no install lifecycle hook. The inspected dependency manifests contain ordinary prompt, schema, and browser-opening helpers.
The agent integration code writes bundled skills into project-local `.claude/skills` and `.cursor/rules`; skill installation is an explicit CLI command, and cleanup is scoped to managed skill paths.
`moda init` asks the user to confirm its plan. SDK integration is a plan choice, and the API key is passed to the coding agent only when that integration runs.
API-key validation sends the supplied key to the Moda API base URL resolved from the active profile or environment; the login flow identifies keys rejected for the wrong environment.
A credential-related identity helper in the large flagged bundle returns a masked API-key label.
The required runtime-operation excerpt formats API errors for stderr.
Evidence against
The alleged fixed unofficial gateway is not established by inspected source: API-key probes use the configured Moda base URL, rather than a publisher-fixed recipient.
The agent-related writes are project-local setup actions reached through explicit CLI commands or a confirmed setup plan, not npm install-time control-surface changes.
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-h0ay0dp2.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) {