bun-runtime
Audited by Socket on Sep 20, 2026
2 alerts found:
Securityx2The code is documentation for legitimate PTY functionality, not evident malware. However, the WebSocket server example is dangerously insecure if used in production: it provides unauthenticated remote shell access and direct command execution through WebSocket messages. Authentication, authorization, origin validation, isolation/sandboxing, restricted command execution, and resource limits are required. The finding is an example-level security risk rather than evidence of malicious supply-chain behavior.
No malicious behavior or supply-chain backdoor is present in the supplied documentation. The documented parser behavior creates a significant XSS risk when untrusted Markdown is converted to HTML and rendered without sanitization. Applications should sanitize the generated HTML and validate or restrict URLs before browser rendering.