Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
socket.io-hotel
Advanced tools
socket.io-hotel is a manager that adds new features and functionalities to socket.io's rooms
##socket.io-hotel
room's manager that adds new features and functionalities to socket.io
###how to install npm install socket.io-hotel
###how to use
io = require('socket.io')(http),
Hotel = require('socket.io-hotel')
//...
var hotel = new Hotel(io.sockets.adapter)
####setPropertyRoom(roomID, key, val, clbk)
sets a new property [val: key] to the room . clbk receives an object with the rooms' properties modified
####delRoomProperty(roomID, key, clbk)
deletes a specific property from the room. callback receives an object with the rooms' properties object modified
####getPropertiesRoom(roomID, clbk)
callback receives all properties from a give object
####listRooms = function(clbk)
calback receives a list with all rooms
####getUsersRoom = function(roomID, clbk)
callback receives all users from a given room
####delEmptyRoom = function(roomID, clbk)
if room is empty, delete it. callback returns true
if the room was deleted and false
otherwise
FAQs
socket.io-hotel is a manager that adds new features and functionalities to socket.io's rooms
The npm package socket.io-hotel receives a total of 0 weekly downloads. As such, socket.io-hotel popularity was classified as not popular.
We found that socket.io-hotel 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.