Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
naughty-words
Advanced tools
An npm package to use the List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words
With millions of images in our library and billions of user-submitted keywords, we work hard at Shutterstock to make sure that bad words don't show up in places they shouldn't. This repo contains a list of words that we use to filter results from our autocomplete server and recommendation engine.
Please add to it as you see fit (particularly in non-English languages) or use it to spice up your next game of Scrabble :)
Obvious warning: These lists contain material that many will find offensive. (But that's the point!)
Miscellaneous caveat: Clearly, what goes in these lists is subjective. In our case, the question we use is, "What wouldn't we want to suggest that people look at?" This of course varies between culture, language, and geographies, so in the end we just have to make our best guess.
Name | Code |
---|---|
Arabic | ar |
Chinese | zh |
Czech | cs |
Danish | da |
Dutch | nl |
English | en |
Esperanto | eo |
Finnish | fi |
French | fr |
German | de |
Hindi | hi |
Hungarian | hu |
Italian | it |
Japanese | ja |
Klingon | tlh |
Korean | ko |
Norwegian | no |
Persian | fa |
Polish | pl |
Portuguese | pt |
Russian | ru |
Spanish | es |
Swedish | sv |
Thai | th |
Turkish | tr |
You can add the list to your client side project using Bower.
$ bower install --save naughty-words
You can add the list to your Javascript project using NPM.
$ npm install --save naughty-words
In the browser you can use the json files directly with a get request:
<script src="https://code.jquery.com/jquery-2.2.3.min.js"></script>
<script>
var deutsche;
$.getJSON("bower_components/naughty-words/de.json", function (deutsche) {
console.log(deutsche);
});
</script>
You can require the json file directly.
var deutsche = require("naughty-words/de.json");
console.log(deutsche);
You can browse the languages by requiring the whole module.
var words = require("naughty-words");
console.log(words);
console.log(words.de);
See also the list of projects, documents, and organizations that use these lists.
© 2012–2016 Shutterstock, Inc.
This work is licensed under a Creative Commons Attribution 4.0 International License.
FAQs
An npm package to use the List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words
The npm package naughty-words receives a total of 7,147 weekly downloads. As such, naughty-words popularity was classified as popular.
We found that naughty-words demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.