CLI for Moda: production monitoring and evals for AI agents.
Allowed — no malicious behavior detected
20 low-signal patterns reviewed and cleared.
AI security review
scanned · by lpm-firewall-ai
Source inspection found no package install lifecycle hook or confirmed attack behavior. The scanner’s credential and agent-configuration signals resolve to a supplied audit destination and explicit project-local skill setup.
Static reason
One or more suspicious static signals were detected.
Trigger
The user runs an applicable Moda CLI command, such as `moda skills push`.
Impact
The inspected behavior does not establish unauthorized credential disclosure, automatic agent configuration changes, or another concrete attack surface.
Mechanism
The CLI installs bundled skills into project agent directories, checks for unmanaged file collisions, and uses a caller-supplied base URL for audit requests.
Decision evidence
public snapshot
Evidence for AI clean decision
package.json defines CLI binaries and build scripts but no preinstall, install, or postinstall hook.
The integration skill installer is invoked through the explicit `moda skills push` command and writes bundled skill files into project-local agent directories.
The installer limits skill IDs, requires a bundled skill, and refuses to overwrite files it does not manage.
The API key is sent to a URL built from a supplied `baseUrl` for an audit request; the inspected code does not show a fixed unrelated recipient.
The API key and ingest URL are passed into an explicitly run coding-agent process as environment values.
The inspected runtime-operation location is generic error rendering, not an account action.
Evidence against
The scanner flagged credential redirection and agent configuration mutation, but inspected source shows a caller-provided audit base URL and an explicit skill-push command.
The flagged child-process use detects whether an agent is installed by running `which`; it does not establish malicious command execution.
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-75vcntpe.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) {