Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
discord-fun
Advanced tools
Below are the things that this package offers you.
GET RANDOM ADVICE
GET RANDOM NEKO IMAGE
GET RANDOM MEME
GET RANDOM JOKES
GET RANDOM DARKJOKE
GET RANDOM STRING(BASED ON GIVEN NUMBER)
GET RANDOM FACT
const discord = require("discord.js")
const client = new discord.Client()
const { Discordfun } = require("discord-fun")
const discordfun = new Discordfun();
client.on("ready", () => {
console.log(`Logged In As ${client.user.tag}`)
})
client.on("message", async message => {
if(message.content === "meme") {
let data = await discordfun.Meme()
message.channel.send(data)
}
})
client.login("TOKEN")
Meme(): Provieds You the JSON embed with meme image and title.
let data = await discordfun.Meme()
message.channel.send(data)
Advice(): Provieds You a random advice.
let data = await discordfun.Advice()
message.channel.send(data)
String(number): Provieds You a random string, length will be based on the number you gave.
let data = await discordfun.String(6)
message.channel.send(data)
Neko(): Provieds You a random neko image.
let data = await discordfun.Neko()
message.channel.send(data)
Joke(): Provieds You a Random Funny Joke.
let data = await discordfun.Joke()
message.channel.send(data)
DarkJoke(): Provieds You a Random Dark Joke.
let data = await discordfun.DarkJoke()
message.channel.send(data)
Fact(): Provides you a random fact.
let data = await discordfun.Fact();
message.channel.send(data);
FAQs
Below are the things that this package offers you.
The npm package discord-fun receives a total of 0 weekly downloads. As such, discord-fun popularity was classified as not popular.
We found that discord-fun 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.