spool icon indicating copy to clipboard operation
spool copied to clipboard

security: spool skill preflight installs `curl -fsSL https://spool.new/install.sh | sh`

Open Dimooyoyo opened this issue 3 weeks ago • 0 comments

Affected file (branch main of paperboytm/spool; the old spool-lab/spool redirects here)

  • skills/spool/SKILL.md:24, under "## Preflight":
curl -fsSL https://spool.new/install.sh | sh

What the text does

When the CLI is missing, the skill instructs an unpinned, unverified remote script to be piped into sh, then immediately used to access Spool sessions.

Why it matters

  • Whoever controls spool.new (or can intercept the request) executes arbitrary code with the user's privileges.
  • The skill immediately uses the installed CLI to materialize and resume Claude/Codex session URLs, i.e. in a context that handles session data and likely credentials.
  • It is the only documented install path, so agents run it unattended.

Suggested fix

  • Serve a versioned installer and instruct users to verify a published checksum before executing it.
  • Remove the pipe-to-shell form; if it must stay, require review of the script and warn that it runs with user privileges.

Dimooyoyo avatar Nov 10 '26 09:11 Dimooyoyo