Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of snow-ai

[email protected]

clean   confidence 75%   action allow   analyzed 2026-09-24 19:11 UTC by yolo in 15 tool calls, with lab detonation

Summary

The postinstall hook (scripts/postinstall.cjs) contacts ipapi.co for optional region detection and runs npm install sharp if the optional dependency is missing. No credential exfiltration, no persistence, no unknown egress. The large flagged bundle/docs/ files describe user-configurable tool features (e.g. running rm -rf, reading .env) rather than code that does so automatically.

Intent

An AI coding CLI tool (snow-cli) that installs with a postinstall hook performing a benign geolocation check (ipapi.co) and optional sharp installation. Documentation describes user-configurable features (hooks, skills, MCP servers) including potentially destructive commands when configured by the user — not automatic behavior.

Findings

Benign postinstall hook info scripts/postinstall.cjs:26-42,85-106
scripts/postinstall.cjs calls https://ipapi.co/json/ for region detection (timeout 3s) and runs npm install sharp --no-save. Skips in CI. No data exfiltration.
Optional dependency auto-install info scripts/postinstall.cjs:94
Hook runs npm install --no-save sharp in the current working directory. This is standard for packages with optional native dependencies.
Documentation describes user-configurable features (not automatic behavior) info bundle/docs/usage/en/07.Hooks Configuration.md:359, bundle/docs/usage/en/09.3.Code Review and Analysis Commands.md:57
Files like 07.Hooks Configuration.md describe hooks that can execute rm -rf, read .env, write AGENTS.md — but these are user-configurable tool features, not automatic package behavior.
pdf.worker.mjs is Mozilla PDF.js (legitimate) info bundle/pdf.worker.mjs:24-26
bundle/pdf.worker.mjs is pdfjsVersion 5.4.296, Apache 2.0 licensed. Static flags (ransomware, download_execute) are false positives from regex matching legitimate PDF processing code.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 7. Hooks: postinstall (timed out).

DNS names requested: registry[.]npmjs[.]org

Direct connections: socket 127[.]0[.]0[.]1:53

Canary credential files read: /home/andy/.gitconfig