
Research
/Security News
TensorLake npm SDK Compromised in ChainDrop Shai-Hulud Credential-Stealing Attack
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.
pi-insomnia
Advanced tools
A source-distributed Pi package that prevents macOS idle sleep while the Pi agent is working.
[!WARNING] Pi packages can execute arbitrary code through extensions. Review package source before installing any third-party Pi package.
/usr/bin/caffeinate command; no third-party runtime dependency is required.☕ sleep inhibited footer status while active in UI modes.pi-insomnia currently targets macOS. On non-macOS platforms it silently no-ops.
On macOS, the extension launches:
/usr/bin/caffeinate -i -w <pi-pid>
-i prevents idle system sleep while the process is running. -w <pi-pid> also ties the assertion to the Pi process so the helper exits if Pi exits unexpectedly. The extension still explicitly terminates the helper when Pi becomes fully idle after any automatic retries, compaction retries, or queued follow-up work.
Install from npm:
pi install npm:pi-insomnia
Install project-locally with Pi's -l flag:
pi install -l npm:pi-insomnia
During local development from this monorepo:
pi install /path/to/pi-mono/packages/pi-insomnia
For a one-off test run without installing:
pi -e /path/to/pi-mono/packages/pi-insomnia --print "explain what this package does"
This is an npm-compatible TypeScript Pi package. There is no runtime build step.
| Variable | Purpose |
|---|---|
PI_OFFLINE=1 | Disables install/update telemetry. |
PI_TELEMETRY=0 | Disables install/update telemetry. |
pi-insomnia has no behavior configuration. If the package is installed and Pi is running on macOS, sleep inhibition is automatic while the agent is working.
caffeinate -d.npm install
npm run check
npm run pack:dry-run
FAQs
Prevent macOS idle sleep while Pi agents are working.
We found that pi-insomnia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Research
/Security News
Tensorlake npm SDK version 0.5.144 was compromised in a ChainDrop / Shai-Hulud attack, delivering credential-stealing malware.

Research
/Security News
Socket found 16 malicious Firefox extensions designed to steal crypto wallet recovery phrases and private keys using cloned Rabby and OKX interfaces.

Product
Socket now scans VS Code extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.