mega-code-dev@0.5.1
Mega Code CLI - corporate SSO login for Claude Code (dev environment)
AI Security Review
scanned 3d ago · by lpm-firewall-aiThe postinstall hook makes an unconsented change to a user-level AI-agent extension surface by installing plugins automatically. This supports blocking publication as an AI-agent control-surface hijack, without establishing secret theft or arbitrary code execution by this package.
Decision evidence
public snapshot- package.json runs scripts/postinstall.mjs during npm installation.
- The postinstall hook proceeds when Claude Code is present unless MEGA_CODE_SKIP_PLUGINS is set.
- The hook adds plugin marketplaces and installs plugins with user scope.
- The hook automatically installs mega-sdd and superpowers.
- The separately flagged CLI helper targets Claude Code settings and is called by login and the explicit install command.
Source & flagged code
9 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgInstall-time lifecycle script is not statically allowlisted and needs review.
package.jsonView on unpkgPackage source references child process execution.
Findings
Affected versions and remediation
This report applies to mega-code-dev@0.5.1.
See all versions of mega-code-dev for other recorded verdicts.
- Avoid installing mega-code-dev@0.5.1. 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, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.