registry  /  hyper-animator  /  2.6.1

hyper-animator@2.6.1

Claude Code skill for HyperFrames animation pipeline — natural language to rendered video

AI Security Review

scanned 5h ago · by lpm-firewall-ai

LPM blocks this version under the AI-agent control-surface policy. The package uses npm postinstall to install a Claude Code skill into the user's home agent-control directory. This is an unconsented lifecycle mutation of a foreign AI-agent control surface, with package-supplied instructions and helper scripts becoming available to Claude Code.

Static reason
High-risk behavior combination matched malicious policy.
Trigger
npm install or npm install -g of hyper-animator@2.6.1
Impact
Unreviewed package instructions and scripts are registered under ~/.claude/skills and can influence future Claude Code sessions; install also invokes Python and hyperframes catalog/cache operations.
Mechanism
postinstall drops Claude skill and runs cache sync helper
Policy narrative
On npm install, package.json runs install.js. That script copies the bundled Claude Code skill into ~/.claude/skills/hyper-animator, creates a .env for API keys, then executes a Python catalog sync from the installed skill directory. The planted SKILL.md contains operational agent instructions for file generation, git operations, CLI execution, rendering, and audio workflows. Although product-aligned and documented, the delivery occurs automatically through npm lifecycle into Claude's home control surface.
Rationale
Static inspection confirms unconsented install-time mutation of ~/.claude/skills, a foreign/broad AI-agent control surface, via package lifecycle script. Under the provided install control surface policy, that concrete behavior is blockable even without classic credential theft or obfuscation.
Evidence
package.jsoninstall.jsskills/hyper-animator/SKILL.mdskills/hyper-animator/scripts/sync-catalog.pyskills/hyper-animator/scripts/minimax-gen.pyskills/hyper-animator/scripts/tts-gen.pyskills/hyper-animator/~/.claude/skills/hyper-animator/~/.claude/skills/hyper-animator/.env~/.claude/skills/hyper-animator/references/source-cache/~/.claude/skills/hyper-animator/references/hyperframes-catalog-map.json
Network endpoints6
platform.minimaxi.comapi.minimaxi.comapi.minimax.io{api_host}/v1/music_generation{api_host}/v1/t2a_v2{api_host}/v1/get_voice

Decision evidence

public snapshot
AI called this Malicious at 96.0% confidence as Dangerous Capability with low false-positive risk.
Evidence for policy block
  • package.json defines postinstall: node install.js and bin points to install.js
  • install.js postinstall copies skills/hyper-animator into ~/.claude/skills/hyper-animator
  • install.js creates/updates ~/.claude/skills/hyper-animator/.env with MINIMAX_* key placeholders
  • install.js runs python3 ~/.claude/skills/hyper-animator/scripts/sync-catalog.py during install
  • SKILL.md is Claude Code agent instruction content with git, file generation, CLI, and render workflow commands
  • sync-catalog.py writes ~/.claude/skills/hyper-animator/references/source-cache and catalog map via hyperframes CLI
Evidence against
  • README.md documents this as a Claude Code skill for HyperFrames animation
  • No credential exfiltration code found; MiniMax keys are used by user-invoked generation scripts
  • No obfuscation, encoded payloads, or destructive filesystem operations found
Behavioral surface
Source
ChildProcessFilesystemShell
Supply chain
HighEntropyStringsUrlStrings
ManifestNo manifest risk signals triggered.
scanned 1 file(s), 5.78 KB of source, external domains: platform.minimaxi.com

Source & flagged code

4 flagged · loading source
package.jsonView file
scripts.postinstall = node install.js
High
Install Time Lifecycle Scripts

Package defines install-time lifecycle scripts.

package.jsonView on unpkg
scripts.postinstall = node install.js
Medium
Ambiguous Install Lifecycle Script

Install-time lifecycle script is not statically allowlisted and needs review.

package.jsonView on unpkg
install.jsView file
12Install-time AI-agent control hijack evidence: L12: const home = os.homedir(); L13: const destDir = path.join(home, '.claude', 'skills', 'hyper-animator'); L14: const srcDir = path.join(__dirname, 'skills', 'hyper-animator'); ... L38: function copyDir(src, dest) { L39: if (!fs.existsSync(dest)) fs.mkdirSync(dest, { recursive: true }); L40: for (const entry of fs.readdirSync(src, { withFileTypes: true })) { ... L43: if (entry.isDirectory()) { copyDir(s, d); } L44: else { fs.copyFileSync(s, d); if (entry.name.endsWith('.sh')) fs.chmodSync(d, 0o755); } L45: } ... L57: } L58: if (added > 0) fs.writeFileSync(envPath, content); L59: return { envPath, added }; Payload evidence from skills/hyper-animator/SKILL.md: L26: L27: Display as: `hyper-animator v<version> (commit <commit>)` in the first message to the user. Example: `hyper-animator v1.10.1 (f6b3697)`. This helps with debugging — knowing exactly... L28: ... L144: |---------|---------------| L145: | Beat JSON generated | `data: beat detection — <composition-name>` | L146: | BGM/SFX files generated | `asset: audio generated via <source>` | ... L912: - WAV format, 32kHz mono, compatible with HyperFrames `<audio>` element L913: - Exit…
Critical
Ai Agent Control Hijack

Install-time source drops package-supplied AI-agent/MCP control files or instructions.

install.jsView on unpkg · L12
skills/hyper-animator/scripts/preview-gen.pyView file
path = skills/hyper-animator/scripts/preview-gen.py kind = build_helper sizeBytes = 11136 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

skills/hyper-animator/scripts/preview-gen.pyView on unpkg

Findings

1 Critical1 High3 Medium4 Low
CriticalAi Agent Control Hijackinstall.js
HighInstall Time Lifecycle Scriptspackage.json
MediumAmbiguous Install Lifecycle Scriptpackage.json
MediumShips Build Helperskills/hyper-animator/scripts/preview-gen.py
MediumStructural Risk Force Deep Review
LowScripts Present
LowFilesystem
LowHigh Entropy Strings
LowUrl Strings