
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.
@tryforge/forge.topgg
Advanced tools
Automatically post your bot stats and receive vote events from the site.
Automatically post your bot stats and receive vote events from the site.
To receive vote events, you must set your webhook url in the settings of your bot/server on Top.gg to the ip/domain of your bot host + the port it's listening to, which by default is
3000
and/dblwebhook
at the end.
const { ForgeTopGG } = require("@tryfroge/forge.topgg");
const { ForgeClient } = require("@tryforge/forgescript");
const top = new ForgeTopGG({
token: "top.gg token",
auth: "top.gg authorization value for webhooks",
events: [
"error",
"posted",
"voted"
],
post: {
interval: 3_600_000 // Update bot stats every hour
}
})
const client = new ForgeClient({
intents: [
"Guilds",
"MessageContent",
"GuildMessages",
],
events: [],
mobile: true,
useInviteSystem: true,
prefixes: ["!", "<@$botID>"],
extensions: [
top
],
})
top.commands.add({
type: "error",
code: `$log[Error $postStatsError]`
})
top.commands.add({
type: "posted",
code: `$log[posted!]`
})
top.commands.add({
type: "voted",
code: `$log[voted by $voteUserID]`
})
client.login("bot token")
FAQs
Automatically post your bot stats and receive vote events from the site.
We found that @tryforge/forge.topgg demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.
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.