
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.
Credit goes to Nefarius for his fantatstic work on ViGEm and ViGEm Bus Driver (Required)
Zero runtime checks, use together with TypeScript.
Almost a 1:1 mapping of the C++ API for ViGEm Client.
Differences:
Check addon.d.ts for documentation.
Example
import * as vigem from "node-vigem";
// create client
let client = vigem.alloc();
// create controller
let x360 = vigem.target_x360_alloc();
// connect client to driver
vigem.connect(client);
// connect controller to client
vigem.target_add(client, x360);
let report = {
// set dpad to South East
dpad: { x: 1, y: -1 },
thumbs: {
left: { x: 0, y: 0 },
right: { x: 0, y: 0 }
},
// press button A and B
buttons: vigem.XUSB_BUTTON.A | vigem.XUSB_BUTTON.B,
triggers: { left: 0, right: 0 },
};
// set state of the connected controller
vigem.target_x360_update(client, x360, report);
FAQs
Nodejs bindings for ViGEm, a Virtual Gamepad Emulation Framework.
We found that node-vigem 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.

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.