
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
pi-agent-flow
Advanced tools
Flow-state transition for the Pi coding agent.
Isolate context, run specialist agents in parallel, and get structured results back!
Long conversations can get messy—context bloats, tool calls get duplicated, and the real signal gets lost in the noise. Pi Agent Flow solves this by forking each task into a focused, isolated child process with only the context it actually needs.
The parent stays clean; the workers stay focused.
read or grep commands.trace or dispatch parameters to execute reads, writes, edits, or bash commands in one round-trip step without extra model latency.
Install the extension via the Pi CLI:
pi install npm:pi-agent-flow
Then, jump right in and transition tasks in parallel:
pi
{ "flow": [
{ "type": "scout", "intent": "Map auth code", "aim": "Find JWT logic" },
{ "type": "audit", "intent": "Audit auth module", "aim": "Security audit" }
] }
Pro tip: You can also add
{ "packages": ["npm:pi-agent-flow"] }to your~/.pi/agent/settings.jsonfile.
If pi loads npm:pi-agent-flow from ~/.pi/agent/npm, rebuilds do not apply until you sync:
git clone https://github.com/tuanhung303/pi-agent-flow.git
cd pi-agent-flow
npm run verify:pi
verify:pi runs trace/flow UI regression tests and copies dist/ + agents/ into the pi npm install. Use npm run check:dist in CI or before PRs to block legacy -----/max context placeholders in dist/.
Want to learn more? Check out our docs:
scout, build, debug, etc.).Made for faster, smarter coding.
FAQs
Flow-state transition extension for Pi coding agent.
The npm package pi-agent-flow receives a total of 354 weekly downloads. As such, pi-agent-flow popularity was classified as not popular.
We found that pi-agent-flow 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 compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.