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.
This package is used to make stuff easier by using simple functions, its not fully released yet!
ultrax is a simple package make by UltraX, it's simply made to make your coding process faster by some functions, it's not fully released yet, only 2 function is available right now!
In case you have idea's to improve the package, or maybe you found some bugs or you need help, you can contact us from our Discord Server
To install ultrax package all you need is Node.js.
Then you can open your application terminal and type there:
$ npm install ultrax
Right now the package is beta, that mean it is not fully released yet.
The available functions are:
sleep is a simple function, where is make it easier and faster to make a timeout in your code. Example:
// Importing the package
const ultrax = require('ultrax')
// Destructure the sleep function from the package
const sleep = ultrax.sleep
// this will log "Start!" once i run the application
console.log('Start!')
// using the package sleep function to set a timeout
sleep(5000) // sleep(milliseconds)
// after the 5 seconds (5000 milliseconds) it will log "5 Seconds passed"
console.log('5 Seconds passed')
this is a simple function that can generate passwords using letters and numbers and the password length is custom so you can change it to any length you want!
Example:
// Importing the package
const ultrax = require('ultrax')
// Destructure the passGen function from the package
const passGen = ultrax.passGen
// this will log the randomly generate password in your terminal
console.log(passGen(6)) // passGen(6) that mean it will generate a password from 6 characters.
// you can change it by changing passGen(here will be the length of the password)
This is a way to bin a code.
const ultrax = require('ultrax')
if (!args.join(' ')) return message.channel.send('What do you wnat to bin?');
else {
const bin = await ultrax.bin(args.join(' '));
message.channel.send('Here i binned the code ' + bin)
}
This event is for logging invite uses. This is same as guildMemberAdd
event but this is custom event which has invite and inviter in it.
const ultrax = require("ultrax")
// To Get The new event working we nee dto initilize it by:
ultrax.inviteLogger(client)
// now below event will work
client.on('inviteJoin', (member, invite, inviter) => {
console.log(`${member.user.tag} joined using invite code ${invite.code} from ${inviter.tag}. Invite was used ${invite.uses} times since its creation.`)
});
FAQs
UltraX Package is a unique package that allows you to create cool things using simple functions and events.
The npm package ultrax receives a total of 57 weekly downloads. As such, ultrax popularity was classified as not popular.
We found that ultrax 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.