
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@itsmapleleaf/gatekeeper
Advanced tools
gatekeeper is a ✨reactive✨ interaction framework for discord.js!
it's a rough work in progress; things will probably change a lot before an actual release. but feel free to try it out and give feedback!
npm install @itsmapleleaf/gatekeeper@next
(or with your favorite package manager)
import {
actionRowComponent,
buttonComponent,
createGatekeeper,
defineSlashCommand,
} from "@itsmapleleaf/gatekeeper"
import { Client, Intents } from "discord.js"
const counterCommand = defineSlashCommand({
name: "counter",
description: "make a counter",
run(context) {
let count = 0
context.createReply(() => [
`button pressed ${count} times`,
actionRowComponent(
buttonComponent({
style: "PRIMARY",
label: "press it",
onClick: () => {
count += 1
},
}),
),
])
},
})
const client = new Client({
intents: [Intents.FLAGS.GUILDS],
})
const gatekeeper = createGatekeeper({ debug: true })
gatekeeper.addSlashCommand(counterCommand)
gatekeeper.useClient(client, { useGuildCommands: true })
client.login(process.env.BOT_TOKEN).catch(console.error)
FAQs
a slash command and interaction framework for discord.js
The npm package @itsmapleleaf/gatekeeper receives a total of 2 weekly downloads. As such, @itsmapleleaf/gatekeeper popularity was classified as not popular.
We found that @itsmapleleaf/gatekeeper 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
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.