
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
websocket-framework
Advanced tools
WebSocket Framework is a lightweight JavaScript library for creating WebSocket servers in Node.js applications.
WebSocket Framework is a lightweight JavaScript library for creating WebSocket servers in Node.js applications.
You can install the WebSocket Framework via npm:
npm install websocket-framework
const WebSocketFramework = require('websocket-framework');
// Initialize WebSocket server options
const options = { port: 8080 };
// Create a new WebSocketFramework instance
const wsf = new WebSocketFramework(options);
// Start the WebSocket server
wsf.start();
You can broadcast messages to all connected clients using the broadcast
method:
const message = 'Hello, world!';
wsf.broadcast(message);
Contributions are welcome! Please feel free to submit issues or pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.
FAQs
WebSocket Framework is a lightweight JavaScript library for creating WebSocket servers in Node.js applications.
We found that websocket-framework demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.