
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
A Pi package extension that allows the agent to communicate with the user when they're afk.
A Pi package extension that allows the agent to communicate with the user when they're afk.
AFK provides a Pi extension MVP with /afk, /afk-settings, and an afk agent tool backed by a linked Telegram bot.
pi -e ../afk-settings./afk to enable AFK mode for the current Pi session.afk tool to notify you or ask questions through Telegram./afk again to turn AFK mode off.AFK mode is session-scoped. It turns off on /new, /resume, /fork, /clone, /reload, and Pi shutdown. Telegram bot settings remain saved in user config.
npm install
npm run check
pi -e .
Pi loads the package through package.json:
{ "pi": { "extensions": ["./extensions/index.ts"] } }
extensions/index.ts Pi extension entry point
extensions/controller.ts AFK runtime orchestration
extensions/config.ts Telegram config persistence
extensions/lock.ts Bot-token process lock
extensions/ask-queue.ts Serialized blocking question queue
extensions/telegram.ts grammY bridge
extensions/telegram-format.ts Telegram question/button formatting
extensions/types.ts Shared schemas and types
extensions/README.md Extension-specific notes
tests/ Node test runner tests
npm run check
FAQs
A Pi package extension that allows the agent to communicate with the user when they're afk.
The npm package pi-afk receives a total of 13 weekly downloads. As such, pi-afk popularity was classified as not popular.
We found that pi-afk 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.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.