Scan your whole stack
From OX Research Newsroom
Are you using @sassywares/pi-extensions?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.4
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
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.
HIGHThe score describes 0.4.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
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.
/handoff uses the current session's model.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.sassy-skills. sassy-cycle, sassy-debug, and sassy-handoff are built around the subagent and /handoff extensions.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./title is registered./handoff is registered.subagent tool lists the Sassy agents.To try the package without changing settings:
pi -e ./sassy-pi-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. |
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().
/title to retry after a provider failure.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:
http(s) URLs only./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.
The subagent tool spawns a separate pi process per invocation, so each task gets its own context window. Three modes:
{ agent, task }{ tasks: [{ agent, task }, …] }{ chain: [{ agent, task }, …] }, with {previous} replaced by the prior resultAgent 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:
The tool call: { agent: "worker", task: "…", profile: "anthropic" }. Individual tasks[] and chain[] entries accept profile too.
An environment variable: PI_SASSY_PROFILE=anthropic.
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.
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:
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.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:sandbox-exec with a deny file-write* profile.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.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 and /work do not exist, and every tool behaves as before.| 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.
Extensions run inside the pi process with the same OS permissions as pi. Review extension source before installing it.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.