m0squared-indicator@1.1.0
M0² Indicator — Universal AI Agent Token Usage HUD for Claude Code, Codex CLI & Gemini CLI (needs Python 3.10+)
AI security review
scanned · by lpm-firewall-aiThe package's global npm postinstall automatically mutates detected AI-agent control configurations without a separate affirmative setup choice. This meets the policy for blocking unconsented lifecycle mutation of an agent control surface.
Decision evidence
public snapshot- package.json runs a postinstall hook and declares m0squared-indicator ^1.0.3 as a runtime dependency; the packaged snapshot repeats this setup.
- The postinstall hook automatically invokes the installer for global npm installs.
- The installer applies setup to detected agents; its prompt selects only the HUD layout, and the layout picker uses a default without a TTY.
- Codex setup writes agent hook configuration and enables the hook feature.
- Claude Code setup writes a command into its settings, and Gemini setup adds a command hook for all tool matches.
- The configured commands point to the package's local Python HUD and hooks, consistent with its stated token-usage indicator purpose.
- www.python.org
Findings
1 critical · 3 high · 4 medium · 4 lowWhere they are, most severe file first. Code opens a file's flagged lines, with their evidence, below.
src/commands/install.js1 criticalpackage.json1 high · 1 mediumsrc/python.js1 highsrc/agents/codex.js1 highcore/indicator.py1 mediumShow all 12 findings
src/commands/install.js1 findingpackage.json2 findingssrc/python.js1 findingsrc/agents/codex.js1 findingcore/indicator.py1 findingSource & flagged code
6 flaggedPackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgShared scanner record · 2 findings · 1 line
Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.
src/python.jsView on unpkg · L12Code excerpt · 12 lines
Source creates an unconsented AI-agent control surface through install-time mutation or a default unauthenticated remote skill channel.
src/commands/install.jsView on unpkg · L8Code excerpt · 19 lines
Manifest-trigger-reachable source writes behavior-bearing configuration into a user or project AI-agent control surface.
src/agents/codex.jsView on unpkgScanner record · 20 lines
Manifest-trigger-reachable source links an external AI-agent control path to a behavior-bearing write operation.
Package ships non-JavaScript build or shell helper files.
core/indicator.pyView on unpkgScanner record · 4 lines
Affected versions and remediation
This report applies to m0squared-indicator@1.1.0.
See all versions of m0squared-indicator for other recorded verdicts.
- Avoid installing m0squared-indicator@1.1.0. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, check your AI agents' configuration and instruction files (the files this report lists) for changes you did not make, and remove them. This finding does not by itself establish malware intent.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.