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.
cool-image-api-wrapper
Advanced tools
A quick and easy wraper to interact with the cool image api!
A quick and easy wraper to interact with the cool image api!
npm install cool-image-api-wrapper
const { API } = require("cool-image-api-wrapper");
const api = new API();
await api
.discord_message(
"My, name is Sujal Goel",
"#7289DA",
"Sujal Goel",
"https://cdn.discordapp.com/avatars/581752425858203659/a_b26f9781f3b0300177ab1f3af6190a52.png"
)
.then((data) => {
console.log(data);
})
.catch((e) => {
console.log(e);
});
const Discord = require("discord.js");
const client = new Discord.Client();
const { API } = require("cool-image-api-wrapper");
const api = new API();
client.on("ready", () => {
console.log(`Logged in as ${client.user.tag}!`);
});
client.on("message", async (message) => {
if (message.content === "test") {
await api
.discord_message(
"My, name is Sujal Goel",
"#7289DA",
"Sujal Goel",
"https://cdn.discordapp.com/avatars/581752425858203659/a_b26f9781f3b0300177ab1f3af6190a52.png"
)
.then((data) => {
console.log(data);
const attachment = new Discord.MessageAttachment(data);
message.channel.send(attachment);
})
.catch((e) => {
console.log(e);
});
}
});
client.login("DISCORD_BOT_TOKEN");
FAQs
A quick and easy wraper to interact with the cool image api!
The npm package cool-image-api-wrapper receives a total of 7 weekly downloads. As such, cool-image-api-wrapper popularity was classified as not popular.
We found that cool-image-api-wrapper 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.