
Research
/Security News
Mini Shai-Hulud Campaign Hits Red Hat Cloud Services npm Packages
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.
pi-web-extension
Advanced tools
A pi extension that adds web search and web fetch tools to the coding agent.
A pi extension that adds web search and web fetch tools to the coding agent.
pi install npm:pi-web-extension
From the public git repo:
pi install git:github.com/NicoAvanzDev/pi-web-extension
From a local clone:
pi install .
Load without installing:
pi --no-extensions -e ./index.ts
websearchRuns a keyless web search by scraping public search engines. Tries Brave first, falls back to DuckDuckGo HTML. Returns a compact list of results (title, URL, snippet).
webfetchFetches a URL, strips non-content elements, converts the HTML to Markdown via Turndown, and saves the result to a temp file in the pi session directory. Returns metadata (file path, title, content length, preview) so the agent can read the file in chunks as needed.
Before each agent turn, the extension checks the user prompt for URLs and web-search intent patterns. When detected, it activates the web tools and injects steering instructions into the system prompt.
The extension exposes LLM-callable tools:
websearchwebfetchwebsearchParameters:
query: string -- the search querywebfetchParameters:
url: string -- the URL to fetchformat?: "markdown" | "text" | "html" -- output format (default: "markdown")FAQs
A pi extension that adds web search and web fetch tools to the coding agent.
We found that pi-web-extension 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.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
/Security News
A mini Shai-Hulud campaign compromised Red Hat Cloud Services npm packages to steal developer and CI/CD secrets during installation.

Research
/Security News
The North Korean malware loader hides in a Packagist-listed package and its GitHub branch to fetch and execute remote code in a likely Contagious Interview-style lure.

Security News
The Rust project is moving toward formal rules on LLM use in contributions after months of internal debate over maintainer burden, code quality, and contributor experience.