Research
Recent Trends in Malicious Packages Targeting Discord
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
badwords-ts
Advanced tools
Readme
A badwords-js alternatives
Do you ever need to use more filters for different languanges than english? Ever though that some of your languanges is not supported by badwords-js
? This package will fix those problems for you. By having a list of bad words in clouds, you can load it on the go. An example of the settings can be found in badwords-ts.settings.json.
It use singleton so all the settings for the instance can be use all around the projects. For using the instance, just use the instance
property from BadwordFilter
class.
import BadwordFilter from 'badwords-ts';
///
// Using the singleton instance
BadwordFilter.instance;
///
BadwordFilter.instance.clean('just a bad word');
// By default is using asterisk (*)
BadwordFilter.instance.placeHolder = '#'; // It will change censors to # instead of *
BadwordFilter.instance.addWords('txt', 'asd'); // Will mark 'txt' and 'asd' as a bad word
BadwordFilter.instance.removeWords('txt', 'asd'); // Will mark 'txt' and 'asd' as not a bad word
BadwordFilter.instance.isProfane('bad'); // Will return a boolean
BadwordFilter.instance.downloadWordBank();
BadwordFilter.instance.loadWordBank();
FAQs
badword js alternatives
We found that badwords-ts 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
The Socket research team breaks down a sampling of malicious packages that download and execute files, among other suspicious behaviors, targeting the popular Discord platform.
Security News
Socket CEO Feross Aboukhadijeh joins a16z partners to discuss how modern, sophisticated supply chain attacks require AI-driven defenses and explore the challenges and solutions in leveraging AI for threat detection early in the development life cycle.
Security News
NIST's new AI Risk Management Framework aims to enhance the security and reliability of generative AI systems and address the unique challenges of malicious AI exploits.