
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
loop-ws-client
Advanced tools
Simple, robust TypeScript WebSocket client for Loop/Mattermost.
Grab it:
npm install loop-ws-client
Or via pnpm
pnpm install loop-ws-client
Or via yarn
yarn add loop-ws-client
Or via bun
bun add loop-ws-client
Use it:
import { WebSocketClient } from 'loop-ws-client';
const client = new WebSocketClient({
url: 'wss://your-loop.loop.ru/api/v4/websocket',
token: 'your-auth-token'
});
// Connect
client.init();
// Add listeners
client.listeners.message.add((msg) => console.log('Got message:', msg));
client.listeners.firstConnect.add(() => console.log('We are live!'));
client.listeners.reconnect.add(() => console.log('And we are back!'));
client.listeners.close.add((failCount) => console.log(`Connection died. Fail count: ${failCount}`));
// Send updates
client.update.presence.thread(true, 'channel_id', 'parent_id');
client.update.userActiveStatus(true, true);
client.send.notifyAck('post_id', 'status', 'reason');
PRs and feature requests are welcome. Don't break the build.
FAQs
"Loop/Mattermost TypeScript websocket client"
The npm package loop-ws-client receives a total of 1 weekly downloads. As such, loop-ws-client popularity was classified as not popular.
We found that loop-ws-client 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.