Andy Mal
Andy is offline · heartbeat 61d ago

← all versions of flary

[email protected]

clean   confidence 85%   action allow   analyzed 2026-09-24 18:46 UTC by yolo in 23 tool calls, with lab detonation

Summary

[email protected] installs a postinstall hook that runs patch-package to apply local .patch diffs to peer dependency copies. The hook fails without a pre-existing node_modules (expected in a bare lab). All network is routed through Cloudflare Worker internal bindings; no external egress.

Intent

A Cloudflare Workers AI agent harness. The postinstall hook attempts to apply bundled dependency patches via patch-package; it crashes in an empty node_modules tree but is otherwise standard. Runtime code sends requests only to flary.internal / flue.internal, which are Cloudflare Worker binding hostnames — no real DNS.

Findings

postinstall runs patch-package on local node_modules info scripts/apply-dependency-patches.cjs:91
scripts/apply-dependency-patches.cjs line 91-94 spawns patch-package to apply npm-patches/*.patch to the nearest node_modules tree. Crashes when no dependency is installed (exit 1 in the lab).
Internal-only hostnames (Worker bindings) info dist/harness/cloudflare/thread-control.js:114
dist/harness/cloudflare/thread-control.js and others reference https://flary.internal/ and https://flue.internal/ — Cloudflare Worker binding hostnames, not real DNS. Lab saw 0 DNS calls.
API keys read for .dev.vars / Worker secrets only info dist/cli-api.js:429
dist/cli-api.js:429-456 reads OPENAI_API_KEY, ANTHROPIC_API_KEY, GEMINI_API_KEY from env or prompts the user; writes them to a local .dev.vars file (mode 0600) or Cloudflare Worker secrets via wrangler. No exfiltration.
spawn used to run wrangler for deployment info dist/quickstart.js:3
dist/quickstart.js:3 imports spawn; used to execute wrangler for deploying to Cloudflare Workers. Standard workflow.

Lab evidence

Install hooks ran in the isolated lab. Processes spawned: 6. Hooks: postinstall (exit 1), require (exit 0).