Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
new update info :
Now add No check Spam channel add or remove method Fully customisable your self
how to use api
Besic ex.
const Discord = require("discord.js");
const bot = new Discord.Client();
bot.NoCheckSpamChannel = ["< Channel Id>", "< channel id 2>"]
const Antiraid = require("anti-raid");
const setup = Antiraid.checkspam({
clientBot: bot
});
bot.login("<your bot token>");
Fully customisable Ex.
const Discord = require("discord.js");
const bot = new Discord.Client();
bot.NoCheckSpamChannel = ["< Channel Id>", "< channel id 2>"]
const Antiraid = require("anti-raid");
const setup = Antiraid.checkspam({
clientBot: bot,
bot: true, // check bot spam true or false
warn: 3, //warn
kick: 4, //4 warn = kick
ban: 6, //6 warn = ban
interval: 3200, //check spam await
maxwarn: 7, //max warn count
maxkick: 6, //max kick count
maxban: 8, //max ban count
permission: ["ADMINISTRATOR"], //role parmission
verbose: false,
ignoreduser: ["596521432507219980"], //not check spam this user id
});
bot.login("<your bot token>");
List channel No check spam channel
const Antiraid = require("anti-raid");
console.log(Antiraid.list());
add No check spam channel
const Antiraid = require("anti-raid");
Antiraid.addChannel("<Channel Id>");
Remove No check spam channel
const Antiraid = require("anti-raid");
Antiraid.removeChannel("<Channel Id>");
NOTE Add channel and Remove channel No Support Array
Version
const Antiraid = require("anti-raid");
console.log(Antiraid.version);
FAQs
api checking spaming users
The npm package anti-raid receives a total of 3 weekly downloads. As such, anti-raid popularity was classified as not popular.
We found that anti-raid demonstrated a not healthy version release cadence and project activity because the last version was released 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
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.