Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
github.com/stackandheap/joystick-ane
Adobe AIR Native Extension
This library enables you to extend the Adobe AIR runtime with native support for working with joysticks and gamepads. Currently the library supports only Windows.
To build the extension and the sample application, simply run the build.xml Ant script.
var joystickManager:JoystickManager = new JoystickManager();
joystickManager.addEventListener( JoystickEvent.CONNECTED, ext_connectedHandler );
joystickManager.addEventListener( JoystickEvent.DISCONNECTED, ext_disconnectedHandler );
joystickManager.addEventListener( JoystickEvent.MOVE, ext_moveHandler );
joystickManager.addEventListener( JoystickEvent.PRESS, ext_pressHandler );
joystickManager.addEventListener( JoystickEvent.RELEASE, ext_releaseHandler );
private function ext_connectedHandler( event:JoystickEvent ):void {
trace( "Joystick " + event.index + " connected" );
}
private function ext_disconnectedHandler( event:JoystickEvent ):void {
trace( "Joystick " + event.index + " disconnected" );
}
private function ext_moveHandler( event:JoystickMoveEvent ):void {
trace( "Axis " + event.axisIndex + " moved to value " + event.value + " (raw value: " + event.rawValue + ") on joystick " + event.index );
}
private function ext_pressHandler( event:JoystickButtonEvent ):void {
trace("Button " + event.buttonIndex + " pressed on joystick " + event.index );
}
private function ext_releaseHandler( event:JoystickButtonEvent ):void {
trace( "Button " + event.buttonIndex + " released on joystick " + event.index );
}
FAQs
Unknown package
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 uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.