
Research
/Security News
9 Malicious NuGet Packages Deliver Time-Delayed Destructive Payloads
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.
@pipecat-ai/websocket-transport
Advanced tools
Websocket transport package for use with @pipecat-ai/client-js.
npm install \
@pipecat-ai/client-js \
@pipecat-ai/websocket-transport
The WebSocketTransport class provides a Websocket transport layer establishing a connection with Pipecat WebSocketTransport. It handles audio device management and real-time communication between client and bot.
import { PipecatClient } from "@pipecat-ai/client-js";
import { WebSocketTransport } from "@pipecat-ai/websocket-transport";
const pcClient = new PipecatClient({
transport: new WebSocketTransport(),
enableMic: true, // Default microphone on
callbacks: {
// Event handlers
},
});
pcClient.connect({
ws_url: 'https://your.websocket/endpoint'
});
// OR...
pcClient.connect({
endpoint: 'https://your-server/connect', // endpoint to return ws_url
});
The transport can be in one of these states:
The transport implements the various Pipecat event handlers. Check out the docs or samples for more info.
The transport includes error handling for:
BSD-2 Clause
FAQs
Pipecat Base Transport for RealTime WebSocket APIs Package
The npm package @pipecat-ai/websocket-transport receives a total of 1,007 weekly downloads. As such, @pipecat-ai/websocket-transport popularity was classified as popular.
We found that @pipecat-ai/websocket-transport demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 7 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.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.