
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
@igosprojects/rivet-ws
Advanced tools
rivet-ws is a plugin that implements WebSocket support for the Rivet library.
To use the WS plugin you first need to initilize it by callling app.use, and then you can register handlers on app.ws.
app.ws works the same way as app.get, you can register handlers. Just like in this example:
import { Rivet } from "@igosprojects/rivet";
import { WSPlugin } from "@igosprojects/rivet-ws"
const app = new Rivet;
app.use(WSPlugin);
// /api will be where websocket is hosted
app.ws("/api", (req, res) => {
// This code runs when a client is connected
console.log("Client has been connected!");
// This code runs when "message" is recived
ws.on('message', (data) => {
const message = data.toString();
console.log(`Received: ${message}`); // Print the recived
});
// This code runs when the client disconnects and the socket closes
ws.on('close', () => {
console.log('Client disconnected');
});
})
app.get("/", (req, res) => {
res.send("");
})
app.start(8080, () => {
console.log("Started server! Go to localhost:8080");
})
This library is very simple, and is not very complicated! It was made in like only a few hours lol
FAQs
WebSocket plugin for @igosprojects/rivet
The npm package @igosprojects/rivet-ws receives a total of 8 weekly downloads. As such, @igosprojects/rivet-ws popularity was classified as not popular.
We found that @igosprojects/rivet-ws 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.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.