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.
@delirius/welcard
Advanced tools
WelCard is a lightweight and futuristic welcome card library designed for WhatsApp Bots.
npm i @delirius/welcard
// ES6
import { WelCard } from "@delirius/welcard";
// CommonJS
const { WelCard } = require("@delirius/welcard");
const card = new WelCard()
.setName("Welcome")
.setAuthor('Participants')
.setServer('Group Name')
.setColor("auto")
.setBrightness(50)
.setThumbnail("https://i.postimg.cc/3rLKbgLH/image.jpg");
const cardBuffer = await card.build();
sock.sendMessage(jid, { image: cardBuffer }); // sending the image]
// ES6
import { WelCard } from "@delirius/welcard";
import fs from "fs";
// CommonJS
const { WelCard } = require("@delirius/welcard");
const fs = require("fs");
(async () => {
const card = new WelCard()
.setName("Bienvenido")
.setAuthor("Sareth")
.setServer("Delirius Bot 🪐")
.setColor("auto")
.setBrightness(50)
.setThumbnail("https://i.postimg.cc/3rLKbgLH/image.jpg");
const cardBuffer = await card.build();
fs.writeFileSync("card.png", cardBuffer);
console.log("Listo");
})();
// ES6
import { searchLyrics } from "@delirius/welcard";
// CommonJS
const { searchLyrics } = require("@delirius/welcard");
(async () => {
const result = await searchLyrics("Money lisa");
console.log(result);
})();
// ES6
import { ssweb } from "@delirius/welcard";
import fs from "fs";
// CommonJS
const { ssweb } = require("@delirius/welcard");
const fs = require("fs");
(async () => {
const res = await ssweb("https://www.npmjs.com/package/@delirius/welcard");
fs.writeFileSync("ssweb.png", res.result);
console.log("Done.");
});
This project will receive updates and more details will be implemented.
FAQs
WelCard is a lightweight and futuristic welcome card library designed for WhatsApp Bots.
The npm package @delirius/welcard receives a total of 18 weekly downloads. As such, @delirius/welcard popularity was classified as not popular.
We found that @delirius/welcard demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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.