
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.
@replit/ruspty
Advanced tools
@replit/ruspty - PTY for Bun (and Node) through Rust FFIRunning:
bun installbun run build / bun run build:debugbun test:linux on Linuxnpm run test:darwin on macOSThe code mainly targets Bun on Linux.
The biggest difference from existing PTY libraries is that this one works with Bun, and doesn't cross the FFI bridge for every input/output instead requiring the consumer to deal with the fd of the PTY.
WARNING: as of 2024-05-06 there's a bug in Bun which prevents us from using fd with Bun, and a temporary workaround with onData handler was introduced in v2.0.1. Check out Linux tests for usage.
Following "Publish It" section from napi-rs docs:
git clean -f && bun install && npm run buildnpm version [major|minor|patch]x.y.z - this is how the CI decides to publish to npm!NPM_TOKEN is part of the repo secrets, generated like this.
FAQs
A very thin wrapper around PTYs and processes.
The npm package @replit/ruspty receives a total of 32,184 weekly downloads. As such, @replit/ruspty popularity was classified as popular.
We found that @replit/ruspty demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 22 open source maintainers 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.