
Security News
AI Slop Is Polluting Bug Bounty Platforms with Fake Vulnerability Reports
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
A Discord library written in TypeScript for developers looking to interface directly with the Discord API with little to no abstractions.
A Discord library written in TypeScript for developers looking to interface directly with the Discord API with little to no abstractions.
// Import Distype and logging typings.
import { Client, LogCallback } from 'distype';
// Distype pushes logging events through callbacks, and allows you to define your own logger.
const logger: LogCallback = (message, { level }) => console.log(`${level} | ${message}`);
// Creates the client. The client creates a cache, gateway, and rest manager. The first parameter is your
// bot's token, followed by client options, then finally the log callback.
const client = new Client(YOUR_BOT_TOKEN, {}, logger);
// This connects the client to the gateway.
client.gateway.connect();
Note that Discord API typings are for API version
10
, and are from discord-api-types. While you can still specify different API versions to be used, it is not recommended.
Distype can be installed via npm.
npm install distype
FAQs
A Discord library written in TypeScript for developers looking to interface directly with the Discord API with little to no abstractions.
We found that distype 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.
Security News
AI-generated slop reports are making bug bounty triage harder, wasting maintainer time, and straining trust in vulnerability disclosure programs.
Research
Security News
The Socket Research team investigates a malicious Python package disguised as a Discord error logger that executes remote commands and exfiltrates data via a covert C2 channel.
Research
Socket uncovered npm malware campaign mimicking popular Node.js libraries and packages from other ecosystems; packages steal data and execute remote code.