Is pi-mcp-extension safe?
- Node.js shell/command execution
- Node.js filesystem read
- Node.js filesystem write/delete
What to do: Nothing here argues against installing it. Grant the capabilities it lists only if you expect the tool to need them.
pi-mcp-extension is an npm package analyzed by SkillTotal's deterministic static scanner. The scan found no malicious indicators. It can: filesystem read, filesystem write, mcp tools detected, network egress and shell execution — capabilities are what the code can do, not a verdict on intent. Risk score 0/100 (low).
pi-mcp-extension 1.15.3
Get notified when this component changes
Change alerts aren't live yet. Leave your email and we'll let you know when they launch. We use it only for this and delete it on request.
Automated static-analysis result. It can contain false positives and false negatives, and is not a claim about the intent of pi-mcp-extension's authors. Report a false positive.
Behavioral traits
How this component maps to the CSA agentic threat model. Descriptive — it never affects the risk score.
Findings (5)
The component can run operating-system commands or spawn processes.
import { spawn } from "node:child_process";import { execFile } from "node:child_process";import type { ChildProcess } from "node:child_process";Why it matters: Powerful and often legitimate — confirm the commands aren't built from untrusted input.
Fix: Confirm the command and its arguments are fully controlled and not derived from untrusted input; prefer execFile with an argument array.
The component reads files from disk.
record = parseLockRecord(await fs.readFile(path, "utf8"));
return parseLockRecord(await deps.fs.readFile(path, "utf8"));
return parseLockRecord(await deps.fs.readFile(path, "utf8"));
data = await deps.fs.readFile(movedPath, "utf8");
Why it matters: Usually legitimate, but worth confirming it can't be steered into reading sensitive files.
Fix: Confirm which files are read and that paths cannot be influenced by untrusted input to reach sensitive locations.
The component writes or deletes files on disk.
await ctx.deps.fs.unlink(ctx.path).catch(() => {await deps.fs.unlink(movedPath).catch(() => {await deps.fs.unlink(movedPath).catch(() => {await fs.unlink(path).catch(() => {await this.deps.fs.appendFile(this.filePath, line, { mode: DEBUG_LOG_FILE_MODE });await this.deps.fs.appendFile(this.filePath, line, { mode: DEBUG_LOG_FILE_MODE });Why it matters: Usually legitimate, but worth confirming the paths can't be controlled by untrusted input.
Fix: Confirm which files are written/deleted and that paths cannot be influenced by untrusted input.
The component makes outbound network requests.
import { createServer, type Server, type IncomingMessage, type ServerResponse } from "http";Why it matters: Usually legitimate, but confirm the destinations are expected and no sensitive data leaves.
Fix: Confirm the destination hosts are expected and that no sensitive data is sent off-host.
An MCP tool surface (manifest or tool definitions) was found.
pi.registerTool({pi.registerTool({pi.registerTool({pi.registerTool({this.pi.registerTool({Why it matters: Just context — review which tools it offers and their permissions.
Fix: Review the declared MCP tools and their permissions.
How attackers abuse these capabilities
Interactive labs on the attack class behind the rules above. They show the technique, not anything found in pi-mcp-extension.
Maintain pi-mcp-extension?
The free Claude Code plugin scans each npm, PyPI or MCP package with this report's open-source engine before the install command runs. It runs on your machine and needs no account.
Check your own component
Run the same evidence-backed scan on any MCP server, agent skill, or package.
Scan your own componentHow we determine this: deterministic static analysis (regex + AST), evidence-anchored, no code execution. Methodology →