Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@earendil-works/pi-coding-agent

Latest version: v1.8.0

Overview

Last scanned
3 Dec 2026
Published
3 Dec 2026
npm package Publisher: badlogic, mitsuhiko, rwachtler
125,420 Stars
16,237 Forks
24 Versions
29.9M Downloads
TypeScript Repo language

Scan summary

@earendil-works/pi-coding-agent was last scanned on 3 Dec 2026 at version 1.8.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 24 versions; the latest 2 were published within 7 days (27 Nov – 3 Dec 2026).
  • Findings: 1 rule fired in version 1.8.0 (1 low). The score describes this version only.
  • Downloads: 29,926,473 downloads.

Versions

24 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.8.0 LATEST 3 Dec 2026 1 rule fired
1.7.0 27 Nov 2026 1 rule fired
1.6.1 25 Nov 2026 1 rule fired
1.6.0 20 Nov 2026 Not shown
1.5.2 10 Nov 2026 Not shown

Rules fired in 1.8.0: 1

Findings

1 Low

Findings for v1.8.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

WebAssembly module included

The package includes a WebAssembly (.wasm) module. It cannot be reviewed as source, but it runs sandboxed inside the JavaScript runtime and can access only what the host code gives it. WebAssembly is common in parsers, codecs and cryptography libraries. Shown for awareness.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 1.8.0; other versions have their own rules, not their own score.

Known vulnerabilities

4 CVEs · last 23 Jun 2026

0 CRITICAL 1 HIGH 1 MEDIUM 2 LOW

Versions

  • ≥ 0.79.0
  • ≥ 0.78.1, < 0.79.0 1 MEDIUM
  • ≥ 0.74.0, < 0.78.1 1 HIGH 1 MEDIUM 2 LOW
  • < 0.74.0 1 MEDIUM

Vulnerabilities

  • CVE-2026-54328 High 23 Jun 2026 Pi Agent: Predictable temporary extension install paths allow local privilege escalation on shared Linux hosts Fixed in 0.78.1
  • CVE-2026-54327 Low 23 Jun 2026 Pi Agent: Race condition in Pi auth.json writes could expose stored credentials Fixed in 0.78.1
  • CVE-2026-54326 Low 23 Jun 2026 Pi Agent: Potential XSS in HTML session exports via Markdown URL sanitization bypass Fixed in 0.78.1
  • CVE-2026-54325 Medium 23 Jun 2026 Pi Agent: Pi loads project-local extensions without approval Fixed in 0.79.0

README

The publisher’s own README, as collected from the registry.

New issues and PRs from new contributors are closed automatically. Maintainers review closed submissions daily. See CONTRIBUTING.md.

Pi

Pi is a minimal, extensible agent harness that you can make your own.

Adapt Pi to your workflows, not the other way around. Customize Pi with extensions, skills, prompt templates, and themes. Bundle them as Pi packages and share via npm or git.

Pi ships with powerful defaults but skips features like sub-agents and plan mode. Ask Pi to build what you want, or install a package that does it your way.

Use Pi interactively, automate it in print or JSON mode, control it over RPC, or build apps with the Pi TypeScript SDK. See OpenClaw for a real-world integration.

Getting started

Install the command-line interface:

curl -fsSL https://pi.dev/install.sh | sh

On Windows:

powershell -c "irm https://pi.dev/install.ps1 | iex"

The installer pins all dependencies and updates Pi with pi update. Alternatively, install directly with npm, which does not pin transitive dependencies:

npm install -g --ignore-scripts @earendil-works/pi-coding-agent

Pi requires Node.js 22.19 or newer. The macOS, Linux, and Windows installers can install it if needed. Pi does not require dependency lifecycle scripts for a normal npm installation.

On macOS and Linux, Nix users can install the latest release with nix profile add github:earendil-works/pi/stable. See the quickstart for updating and pinning releases.

Start Pi in the directory where you want it to work:

cd /path/to/project
pi

For a built-in AI provider, run /login inside Pi to connect a subscription or API key. Then give Pi a task.

See the documentation for full setup and usage instructions.

Share your OSS coding agent sessions

If you use Pi for open source work, please share your coding agent sessions.

Public OSS session data helps improve models, prompts, tools, and evaluations using real development workflows.

For the full explanation, see this post on X.

To publish sessions, use badlogic/pi-share-hf using a Hugging Face account and the Hugging Face CLI.

Development

Clone the repository, install its dependencies, and run Pi from source:

git clone https://github.com/earendil-works/pi
cd pi
npm install --ignore-scripts
./pi-test.sh

pi-test.sh can be called from any directory and preserves the caller's working directory.

Before submitting changes, run:

npm run check
./test.sh

Read CONTRIBUTING.md before opening an issue or pull request. It defines the contribution gate, issue quality bar, and required checks. Read AGENTS.md for repository-specific implementation, testing, dependency, and release rules.

License

MIT

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @earendil-works/pi-coding-agent

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Frame 2085668439 (1)
Group 1261154229