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
Source inspection found no lifecycle hook or concrete attack behavior. Scanner hints correspond to normal CLI operations, including guarded project-local skill setup and authentication directed to the Moda service.
Static reason
One or more suspicious static signals were detected.; previous stored version diff introduced dangerous source
Trigger
Explicit use of the CLI setup command and approval of its setup plan.
Impact
No malicious effect was identified.
Mechanism
The setup flow writes its bundled skill to project-local agent directories and avoids overwriting unmanaged files; authentication requests use the Moda service base and reject cross-host redirects.
Decision evidence
public snapshot
Evidence for AI clean decision
package.json defines CLI entrypoints and build or development scripts, with no install lifecycle hook; reviewed dependency manifests show no install hook.
Authentication and API requests use the configured Moda service base, default to Moda’s service, and prevent cross-host redirects from forwarding the session authorization header.
Agent setup runs during the CLI’s approved setup flow and installs a bundled skill into project-local Claude or Cursor paths; writes avoid overwriting unmanaged files and AGENTS.md changes use a marked block.
Reviewed dependencies and runtime paths match CLI functions: prompts, schema validation, browser launching, bounded source reads, and normal Moda API requests.
The runtime operation hint in dist/cli.js is error formatting; no attack behavior was identified in the inspected source.
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-ma1gt133.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) {