
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@sodiumlabs/plume-url
Advanced tools
@sodiumlabs/plume-url
is a module that allows you to easily use Plume URL.
npm install @sodiumlabs/plume-url
If you are developing a Discord bot using discord.js
, here is how to use Plume URL:
const { Client } = require("discord.js");
const { PlumeURL } = require("@sodiumlabs/plume-url");
// Your discord.js client
const client = new Client({
/* ... */
});
// Attach PlumeURL to your client
client.plumeURL = new PlumeURL({ apiKey: "YOUR-API-KEY" });
You can now use Plume URL anywhere in your bot.
For example, in a slash command:
const userId = "619838036846575617";
// Create a new URL
const data = await client.plumeURL.createURL({
url: "https://google.com",
customId: userId, // The custom ID allows your users to retrieve their URLs later
});
console.log(data);
// Search for the URLs you created
// You can filter by custom ID if needed
const urls = await client.plumeURL.search({ limit: 5, customId: userId });
console.log(urls);
Plume URL provides two main resources for documentation:
API Reference:
Plume URL Documentation
This documentation covers all available endpoints, types, and detailed comments for the API.
Module Reference:
Module Documentation
This documentation explains how to use the @sodiumlabs/plume-url
npm package, with all available methods and types.
For most use cases, you'll want to refer to the PlumeURL
class page, which lists all available methods for interacting with the API through this module.
If you don't understand something in the documentation, are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our official Discord Server.
FAQs
The official Plume URL wrapper
The npm package @sodiumlabs/plume-url receives a total of 12 weekly downloads. As such, @sodiumlabs/plume-url popularity was classified as not popular.
We found that @sodiumlabs/plume-url demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.