
Research
Malicious fezbox npm Package Steals Browser Passwords from Cookies via Innovative QR Code Steganographic Technique
A malicious package uses a QR code as steganography in an innovative technique.
discordjs-facts
Advanced tools
Send easy an fact in discord
npm install discordjs-facts
const Discord = require('discord.js'); // Require discord.js
const RandomFact = require('discordjs-facts'); // Require RandomFact
const bot = new Discord.Client(); // Create client
const fact = new RandomFact({
title: 'facts', // Title of the embed while displaying the game. Default: facts
color: 'RANDOM', // Color of the embed. Default: RANDOM
lang: 'en', // Custom the language for the embeds. Default: en
footer: 'This is my custom footer', // Custom text for the embed title of the game over embed. Default: 'Game Over'
subject: "dogs", // chose a category for the facts. Default: random
thumbnail: 'https://www.gettyimages.be/gi-resources/images/500px/983794168.jpg', // A thumbnail at the embed. Remove this to remove the embed
embed: true, // remove rhis for your facts in text version without embed
});
// Config
bot.config = {
token: "TOKEN"
}
// Ready Event
bot.on('ready', () => {
console.log(`Logged in as ${bot.user.tag}!`);
});
// Message Event
bot.on('message', message => {
if (message.content.toLowerCase() === '!test') {
message.reply("Test command work!")
}
else if (message.content.toLowerCase() === '!fact') {
fact.newFact(message);
}
})
// Login the bot
bot.login(bot.config.token)
FAQs
Facts in discord
We found that discordjs-facts 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
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.
Application Security
/Research
/Security News
Socket detected multiple compromised CrowdStrike npm packages, continuing the "Shai-Hulud" supply chain attack that has now impacted nearly 500 packages.