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

@sassywares/pi-extensions

Latest version: v0.4.4

Overview

Last scanned
11 Nov 2026
Published
11 Nov 2026
npm package Publisher: thekayshawn
0 Stars
0 Forks
17 Versions
2.9K Downloads
TypeScript Repo language

Scan summary

@sassywares/pi-extensions was last scanned on 11 Nov 2026 at version 0.4.4. Risk score 45 of 100 (medium). High-severity rules fired.

  • Releases: 17 versions; the latest 2 were published on 11 Nov 2026.
  • Findings: 1 rule fired in version 0.4.4 (1 high). The score describes this version only.
  • Downloads: 2,867 downloads.

Versions

17 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.4 LATEST 11 Nov 2026 1 rule fired
0.4.3 11 Nov 2026 1 rule fired
0.4.2 27 Oct 2026 No rules fired
0.4.1 27 Oct 2026 Not shown
0.4.0 27 Oct 2026 Not shown

Rules fired in 0.4.4: 1

Findings

1 High

Findings for v0.4.4. 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.

Encoded data placed in a DNS lookup

A DNS lookup command (nslookup, dig or host) takes its query name from a subshell that first encodes the data, for example with base64 or xxd. Encoding the name turns a lookup into a way to send data to the nameserver of the queried domain. Ordinary diagnostic lookups have no encoding step.

HIGH
Checking access…

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

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

README

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

Sassy Pi Extensions

A zesty power pack for pi — auto-titled sessions, real web access, clean handoffs, and isolated subagents. Install once, ship faster.

Sassy Pi Extensions is the Sassywares pi suite. It names each session from its first real turn, gives the agent web_search and web_fetch tools backed by Exa, carries context into a fresh session with /handoff, and runs bounded work in isolated subagents.

The package is @sassywares/pi-extensions; the repo is sassy-pi-extensions. The subagent tool ships here; the roster it dispatches — scout, worker, reviewer, validator — lives in sassy-agents.

Contents

  • Why this suite
  • Quick start
  • Extensions
    • Auto-title
    • Web search and fetch
    • Handoff
    • Subagent
    • Modes
  • Configuration
  • Security
  • Provenance
  • Repository layout
  • Development
  • Releasing
  • Model profiles
  • Repository maintenance

Why this suite

  • Zero config where it matters. Exa runs through its public MCP endpoint; titles use the model you are already talking to; /handoff uses the current session's model.
  • Native surfaces. Titles use pi's own session name, so they show up in the session picker, footer, and terminal title. Search, fetch, and subagents are ordinary tools the model can call.
  • Safe by default. web_fetch blocks localhost, private network addresses, and URLs with embedded credentials. Subagents run in isolated pi processes with the tools their agent file allows.
  • Opt out, not opt in. Auto-titling stops with one environment variable. Manual titles always win.
  • Composable with sassy-skills. sassy-cycle, sassy-debug, and sassy-handoff are built around the subagent and /handoff extensions.
  • Small. No background servers. Host-provided dependencies only.

Quick start

Install the package:

pi install npm:@sassywares/pi-extensions

To pin a release, append @<version> (pi install npm:@sassywares/pi-extensions@<version>), or pin a tag from the repo:

pi install git:github.com/sassywares/sassy-pi-extensions@v<version>

Releases are listed under the repo's tags and on npm.

Or load a checkout in place:

git clone https://github.com/sassywares/sassy-pi-extensions.git
pi install ./sassy-pi-extensions

The subagent tool ships with no agents. Install the roster from sassy-agents:

git clone https://github.com/sassywares/sassy-agents.git
./sassy-agents/scripts/install.sh

Reload pi (/reload) and confirm:

  • web_search and web_fetch are available to the model.
  • The session gets a title after the first assistant turn, and /title is registered.
  • /handoff is registered.
  • The subagent tool lists the Sassy agents.

To try the package without changing settings:

pi -e ./sassy-pi-extensions

Extensions

Extension Surface What it does
auto-title automatic + /title [text] Generates a short session title after the first meaningful turn. /title regenerates it; /title <text> sets one manually.
web-search web_search, web_fetch Searches the web via Exa and fetches readable page text with local-address protection.
handoff /handoff <goal> Summarizes the session into a continuation prompt and opens a fresh session with it in the editor for you to submit.
subagent subagent tool Runs single, parallel, or chained tasks in isolated pi processes and returns compact results.
modes alt+m, /ask, /work, /modes, --ask Ask mode removes the write tools and runs bash under an OS-level read-only sandbox. Work mode is pi as usual.
Auto-title

Runs after the first assistant turn that contains text. It builds a small transcript from the opening turns, asks the current model for a 2–6 word title, and writes it with pi.setSessionName().

  • Tries once per session. Use /title to retry after a provider failure.
  • Never overwrites a title you set manually.
  • Does not delay the turn; the title arrives when it is ready.
  • 15 second timeout, 32 output tokens, low temperature.
  • Titles are truncated to 60 characters.
Web search and fetch

web_search uses Exa's public MCP endpoint by default. Set EXA_API_KEY to use the direct Exa API instead (higher limits and your own quota).

web_fetch:

  • Accepts absolute http(s) URLs only.
  • Follows up to 5 redirects.
  • Blocks localhost, private/link-local addresses, and URLs with embedded credentials.
  • Accepts HTML and plain text, capped at 2 MB.
  • Screens the final URL after redirects, not just the first one.
  • Returns readable text, truncated to 50,000 characters (12,000 by default).
Handoff

/handoff <goal> generates a focused prompt for a new session, lets you edit it, then opens that session with the prompt seeded in the editor.

The extension uses the current session's model and the current conversation only. The new session cannot see the old one.

Subagent

The subagent tool spawns a separate pi process per invocation, so each task gets its own context window. Three modes:

  • single — { agent, task }
  • parallel — { tasks: [{ agent, task }, …] }
  • chain — { chain: [{ agent, task }, …] }, with {previous} replaced by the prior result

Agent definitions are Markdown files under ~/.pi/agent/agents/ and the nearest project .pi/agents/. Project agents override user agents with the same name. This package supplies the tool and its parsing; the roster itself lives in sassy-agents, which documents each agent's role, tools, and models, and links them into place with scripts/install.sh.

Every agent declares a profiles: list, so one roster runs on more than one provider. A dispatch picks a profile — a named model choice — and the child process starts on that profile's model.

Pick a profile three ways, highest precedence first:

  1. The tool call: { agent: "worker", task: "…", profile: "anthropic" }. Individual tasks[] and chain[] entries accept profile too.

  2. An environment variable: PI_SASSY_PROFILE=anthropic.

  3. A project setting in .pi/settings.json, which is where a project opts in once for everyone:

    { "sassy": { "profile": "anthropic" } }

    Project settings override ~/.pi/agent/settings.json; with neither set, the default profile is deepseek.

A profile an agent does not define is an error naming the ones it does — it never falls back to the default provider. The run footer shows the model and, in parentheses, the profile it came from.

Every subagent reads the same grounding brief instead of re-exploring the repo. See the roster's GROUNDING.md for its location, freshness check, and wait rule.

Parallel dispatch defaults to two concurrent subagents. A three-worker MiniMax M3.1 Flash batch showed stream stalls and request timeouts under load; DeepSeek Flash was fine with four. Raise the limit with PI_SUBAGENT_CONCURRENCY for a DeepSeek-only dispatch.

A watchdog kills a subagent when it emits no output for two minutes, which catches provider streams that hang after a partial response. It is paused while any tool is executing (tracked as the set of in-flight tool call ids from the child's tool_execution_start and tool_execution_end events, so parallel tool calls count and a turn boundary clears any missed end), because a silent tool such as a long test run is not a hang; while tools run, a separate, much longer ceiling (30 minutes) bounds the tool phase instead, since Pi's bash has no default timeout and tool output does not reset it. Once no tool is running, the full idle window restarts. Completed runs append one JSON line to ~/.pi/agent/subagent-runs.jsonl with model, profile, thinking level, wall time, model time, tool time, turns, error turns, retries, token usage, cost, and the watchdog outcome (watchdogKilled, plus watchdogPhase: idle, tool, or null). Use it to compare models instead of reconstructing runs from session files.

Modes

Two modes, toggled with alt+m or /ask and /work. Ask mode makes it safe to think out loud; work mode is pi as usual.

Ask mode enforces read-only access on two levels:

  1. Toolset. edit, write, codemode, subagent, and any other tool that can change files or run arbitrary code are removed from the model's active toolset, so it never sees them. A tool_call gate blocks them anyway, which also covers nested calls made by tools that stay active.
  2. Sandboxed bash. read, grep, find, ls, bash, web_search, and web_fetch stay available, because searching and reading is how the model answers honestly. Every bash command, including ! input, is wrapped in an OS-level sandbox that denies filesystem writes:
    • macOS: sandbox-exec with a deny file-write* profile.
    • Linux: bwrap with --ro-bind / /.

Writes do not fail quietly and they are not matched by pattern. rm, sed -i, tee, > redirection, git checkout, and a nested bash -c all fail at the OS level with Operation not permitted, while git log, git diff, rg, and network calls keep working. /dev and the temp directory stay writable so ordinary tools behave.

A backend is only trusted after it proves both halves of the contract: reads inside the working directory must succeed and a probe write there must fail. A backend that is installed but cannot enforce (for example bubblewrap on a distribution that blocks unprivileged user namespaces) is discarded, and ask mode continues without bash rather than falling back to a command allowlist. The working directory always wins over the temp allowance: if the project itself lives under the temp directory, temp writes are denied too and /modes reports temp dir is read-only.

/modes shows the verdict. The mode badge sits on a footer line of its own, aligned to the right edge: ▶ work, ⏸ ask · ro(sandbox-exec), or ⏸ ask · bash off. To place it there without reimplementing pi's footer, the extension delegates to pi's own FooterComponent and appends the badge line, so directory, session name, token stats, model, and context usage stay exactly as pi renders them. If a future pi release changes what that component reads, the extension restores the native footer and falls back to a left-aligned status line. The shim reads the model and thinking level through getters, so /model and /thinking changes appear in the footer immediately instead of staying frozen at the values the session started with.

  • --ask starts a session in ask mode; the mode persists across resume.
  • Switching mid-session applies immediately: the toolset is swapped and bash starts or stops being sandboxed. When ask mode is switched off, the model is told once that work mode is active, so it stops repeating an earlier claim that it was in ask mode. Only the newest mode notice is kept in context, and the ask prompt is refreshed on every turn, so a long session does not accumulate stale instructions.
  • shift+tab is not used, because pi binds it to the thinking level. To match an editor that uses it for modes, bind app.thinking.cycle to something else in ~/.pi/agent/keybindings.json and add a shortcut there.
  • Ask mode is a guardrail for local changes, not a jail. Network access stays open, so a command can still change remote state if it holds a credential. Use pi's containerized setup when the boundary has to hold against a hostile model.
  • Windows is unsupported by design. Ask mode needs an OS-level read-only sandbox that Windows does not offer cheaply, so the extension registers nothing there. /ask and /work do not exist, and every tool behaves as before.

Configuration

Variable Default Effect
PI_AUTO_TITLE unset Set to 0 to disable automatic titles. /title still works.
EXA_API_KEY unset Use the direct Exa API instead of the public Exa MCP endpoint.
PI_MODES_BASH auto Set to off to skip backend detection. Ask mode then runs without bash.
PI_MODES_ASK_TOOLS unset Comma-separated extra tool names to allow in ask mode.
PI_SASSY_PROFILE deepseek Profile subagents run: the model each agent declares under that name. Overridden by the profile parameter, overrides sassy.profile in settings.
PI_SUBAGENT_CONCURRENCY 2 Maximum parallel subagent processes. DeepSeek Flash handled 4; MiniMax M3.1 Flash stalled with 3.
PI_SUBAGENT_IDLE_TIMEOUT_MS 120000 Kill a subagent after this many milliseconds with no stdout/stderr events while no tool is executing (a running tool pauses it). Set to 0 to disable.
PI_SUBAGENT_TOOL_TIMEOUT_MS 1800000 Kill a subagent when a tool phase (one or more tools in flight) runs this many milliseconds without finishing. Output during the tool does not reset it. Set to 0 to disable only this ceiling.
PI_SUBAGENT_TELEMETRY ~/.pi/agent/subagent-runs.jsonl Telemetry JSONL path, or 0/off to disable.

The subagent profile can also be set in settings, which is how a project selects a provider for everyone working in it:

// <project>/.pi/settings.json
{ "sassy": { "profile": "anthropic" } }

Precedence: profile parameter, PI_SASSY_PROFILE, project settings, user settings, then deepseek.

Security

Extensions run inside the pi process with the same OS permissions as pi. Review extension source before installing it.

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 @sassywares/pi-extensions

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

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

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

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

Frame 2085668439 (1)
Group 1261154229