@whalent/agent@0.3.468
Stable wrapper for Whalent Agent core runtime
AI Security Review
scanned 27d ago · by lpm-firewall-aiThe bundle can change foreign coding-agent skill and MCP configuration, but only after the user starts the MCP server and a tool call supplies the action, platform, and token. There is no install-lifecycle hook, hidden recipient, or self-install chain, so this is a guarded agent-control capability rather than an install-time hijack.
Decision evidence
public snapshot- package.json exposes the whalent bin at dist/index.cjs and has build, start, and test scripts only, with no preinstall, install, or postinstall hook.
- After the MCP server is running, whalent_manage_skills downloads a skill from the caller-supplied platform URL using the supplied bearer token and installs those files.
- Skill paths are resolved under the user home or workspace platform directory, including the Cursor .cursor tree and the Claude platform directory.
- whalent_manage_mcp registration calls injectMcpServer, which writes a Claude Code or OpenCode MCP server entry that can include command, args, and env.
- downloadSkillFiles requests platformUrl plus /pt/api/skills/ and sends the supplied token as Authorization.
- Nothing in package.json runs these writers during npm install; the MCP entry starts only when that file is executed and a token is present.
- safeSkillFilePath rejects absolute skill paths and paths that escape the skill directory.
- The download host is the platform URL the operator passed in, and memory.whalent.com is the package-aligned fallback origin.
Source & flagged code
7 flagged · loading sourceSource contains an obfuscated payload loader that reconstructs and executes hidden code.
dist/mcp.cjsView on unpkg · L1A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
dist/mcp.cjsView on unpkgFindings
Affected versions and remediation
This report applies to @whalent/agent@0.3.468.
See all versions of @whalent/agent for other recorded verdicts.
- Review the evidence and your use of @whalent/agent@0.3.468 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
Evidence last updated: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.