Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
awesome-nodejs-security
https://github.com/ConsueloBrekke/awesome-nodejs-security
Last synced: 2 days ago
JSON representation
-
npm and JavaScript specific security incidents and supply chain security issues
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- left-pad.io - one-programmer-broke-the-internet-by-deleting-a-tiny-piece-of-code). |
- npm zoo
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- darkreading
- Checkmarx
- Darcy Clarke's blog
- Phylum
- bignum npm package - supply-chain-attack-exploits.html), [Checkmarx](https://checkmarx.com/blog/hijacking-s3-buckets-new-attack-technique-exploited-in-the-wild-by-supply-chain-attackers/)
- Vulcan
- Illustria on The Hacker News
- The Hacker News
- JFrog
- Louisw Lang on Twitter
- Aqua
- TheHackerNews
- GitHub
- Snyk - dependency-confusion-attack-gxm-reference/)
- Aqua
- Aqua - bug-allowed-attackers-to-distribute.html)
- Checkmarx Security blog
- Snyk advisory for event-source-pollyfill - ext commit](https://github.com/medikoo/es5-ext/commit/28de285ed433b45113f01e4ce7c74e9a356b2af2), [ArsTechnica](https://arstechnica.com/information-technology/2022/03/sabotage-code-added-to-popular-npm-package-wiped-files-in-russia-and-belarus/) |
- Checkmarx Security blog
- TheHackerNews
- TheRecord
- the register
- Cybersecurity and Infrastructure Security Agency (CISA) - parser-js/issues/536), [IOCs](https://twitter.com/BleepinComputer/status/1451964720974635021?s=20), [portswigger](https://portswigger.net/daily-swig/popular-npm-package-ua-parser-js-poisoned-with-cryptomining-password-stealing-malware), [theregister](https://www.theregister.com/2021/10/27/npm_roblox_ransomware) |
- arstechnica.com
- zdnet.com - npm-packages-used-to-install-njrat-remote-access-trojan/). |
- sonatype - package-caught-stealing-sensitive-discord-and-browser-files/). |
- zdnet
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- npm - another-malicious-package-found-in-npm-targeting-cryptocurrency-wallets), [komodo announcement](https://komodoplatform.com/update-agama-vulnerability/) |
- github issue - code-found-in-npm-package-event-stream), [snyk's postmortem](https://snyk.io/blog/a-post-mortem-of-the-malicious-event-stream-backdoor), [schneid](https://schneid.io/blog/event-stream-vulnerability-explained/), [intrinsic](https://medium.com/intrinsic/compromised-npm-package-event-stream-d47d08605502), [npm](https://blog.npmjs.org/post/180565383195/details-about-the-event-stream-incident), [jayden](https://jaydenseric.com/blog/event-stream-compromise), [hillel wayne's postmortem](https://www.hillelwayne.com/post/stamping-on-eventstream/) |
- github issue - for-malicious-package-publishes), [nodesource's postmortem](https://nodesource.com/blog/a-high-level-post-mortem-of-the-eslint-scope-security-incident/), [npm's statement](https://status.npmjs.org/incidents/dn7c1fgrr7ng) |
- conventional-changelog repository update
- BadJS - a repository of malicious JavaScript that has been found in websites, extensions, npm packages, and anywhere else JavaScript lives.
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- GitHub issue - malicious-module-getcookies), [bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/somebody-tried-to-hide-a-backdoor-in-a-popular-javascript-npm-package/), [Snyk’s getcookies vulnerability page](https://snyk.io/vuln/npm:getcookies:20180502), [Hacker News](https://news.ycombinator.com/item?id=16975025) |
- CJ blog on typosquat packages - package-managers/), [bleepingcomputer.com](https://www.bleepingcomputer.com/news/security/javascript-packages-caught-stealing-environment-variables/), [Snyk’s crossenv vulnerability page](https://snyk.io/vuln/npm:crossenv:20170802), [Hacker News](https://news.ycombinator.com/item?id=14901566) |
- Checkmarx Security blog
- zdnet.com - npm-packages-used-to-install-njrat-remote-access-trojan/). |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Checkmarx Security blog
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
- Forbes Lindesay - Maintainer post-mortem - did-is-promise-happen-and-what-can-we-learn-from-it/) |
-
Static Code Analysis
- cspscanner - CSP Scanner helps developers and security experts to easily inspect and evaluate a site’s Content Security (CSP).
- git-secrets - Prevents you from committing secrets and credentials into git repositories.
- DevSkim - DevSkim is a set of IDE plugins and rules that provide security "linting" capabilities. Also has support for CLI so it can be integrated into CI/CD pipeline.
- ban-sensitive-files - Checks filenames to be committed against a library of filename rules to prevent storing sensitive files in Git. Checks some files for sensitive contents (for example authToken inside .npmrc file).
- NodeJSScan - A static security code scanner for Node.js applications. Including neat UI that can point where the issue is and how to fix it.
- NodeSecure CLI - Node.js CLI that allow you to deeply analyze the dependency tree of a given npm package or a directory.
- Trust But Verify - TBV compares an npm package with its source repository to ensure the resulting artifact is the same.
- lockfile-lint - lint lockfiles for improved security and trust policies to keep clean from malicious package injection and other insecure configurations.
- npm-scan - An extensible, heuristic-based vulnerability scanning tool for installed npm packages.
- js-x-ray - JavaScript and Node.js SAST scanner capable of detecting various well-known malicious code patterns (Unsafe import, Unsafe stmt, Unsafe RegEx, encoded literals, minified and obfuscated codes).
- eslint-plugin-anti-trojan-source - ESLint plugin to detect and prevent Trojan Source attacks from entering your codebase.
- sdc-check - Small tool to inform you about potential risks in your project dependencies list
- fix-lockfile-integrity - A CLI tool to fix weak integrity hash (sha1) to a more secure integrity hash (sha512) in your npm lockfile.
- Bearer - A CLI tool to find and help you fix security and privacy risks in your code according to OWASP Top 10.
- GuardDog - GuardDog is a CLI tool to Identify malicious PyPI and npm packages
- eslint-plugin-security - ESLint rules for Node Security. This project will help identify potential security hotspots, but finds a lot of false positives which need triage by a human.
- tslint-plugin-security - TSLint rules for Node Security. This project will help identify potential security hotspots, but finds a lot of false positives which need triage by a human.
- safe-regex - detect potentially catastrophic exponential-time regular expressions by limiting the star height to 1.
- vuln-regex-detector - This module lets you check a regex for vulnerability. In JavaScript, regular expressions (regexes) can be "vulnerable": susceptible to catastrophic backtracking. If your application is used on the client side, this can be a performance issue. On the server side, this can expose you to Regular Expression Denial of Service (REDOS).
- pkgsign - A CLI tool for signing and verifying npm and yarn packages.
- cspscanner - CSP Scanner helps developers and security experts to easily inspect and evaluate a site’s Content Security (CSP).
-
Web Framework Hardening
- blankie - CSP plugin for [hapi](https://github.com/hapijs/hapi).
- fastify-helmet - fastify-helmet helps you secure your [fastify](https://www.fastify.io/) apps by setting important secutiry headers.
- nuxt-security - 🛡 Security Module for Nuxt based on OWASP Top 10 and Helmet.
- Helmet - Helmet helps you secure your Express apps by setting various HTTP headers.
- koa-helmet - koa-helmet helps you secure your Koa apps by setting various HTTP headers.
-
Input Validation & Output Encoding
- DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG.
- envalid - Envalid is a small library for validating and accessing environment variables in Node.js.
- node-esapi - node-esapi is a minimal port of the ESAPI4JS (Enterprise Security API for JavaScript) encoder.
- escape-html - Escape string for use in HTML.
- js-string-escape - Escape any string to be a valid JavaScript string literal between double quotes or single quotes.
- xss-filters - Just sufficient output filtering to prevent XSS!
- data-guardian - data-guardian is a tiny, highly customizable lib which can mask sensitive data in arbitrary entities and can help with [OWASP Protect Data everywhere](https://owasp.org/www-project-proactive-controls/v3/en/c8-protect-data-everywhere).
- validator - An npm library of string validators and sanitizers.
-
CSRF
-
Vulnerabilities and Security Advisories
- npq - Safely install packages with npm or yarn by auditing them as part of your install process.
- gammaray - Runs a security audit based on your package.json using the [Node.js Security Working Group vulnerability data](https://github.com/nodejs/security-wg/).
- check-my-headers - Fast and simple way to check any HTTP Headers.
- confused - Tool to check for dependency confusion vulnerabilities in multiple package management systems. See [Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies](https://medium.com/@alex.birsan/dependency-confusion-4a5d60fec610) for reference on the reasoning for this tool.
- snyk - Snyk helps you find, fix and monitor known vulnerabilities in Node.js npm, Ruby and Java dependencies, both on an ad hoc basis and as part of your CI (Build) system.
- node-release-lines - Introspection API for Node.js release metadata. Provides information about release lines, their relative status along with details of each release.
- npm-audit-resolver - Manage npm-audit results, including options to ignore specific issues in clear and auditable way.
- patch-package - Allows app authors to create fixes for npm dependencies (in node_modules) without forking or waiting for merged PRs, by creating and applying patches.
- joi-security - Detect security flaws in Joi validation schemas.
-
Security Hardening
- hijagger - Checks all maintainers of all npm and PyPI packages for hijackable packages through domain re-registration.
- snync - Mitigate security concerns of Dependency Confusion supply chain security risks.
- NopPP - No Prototype Pollution - Tiny helper to protect against Prototype Pollution vulnerabilities in your application regardless if they introduced in your own code or in 3rd-party code.
- anti-trojan-source - Detect trojan source attacks that employ unicode bidi attacks to inject malicious code.
- tor-detect-middleware
- express-enforces-ssl
- bourne - in replacement with prototype poisoning protection.
- fastify-rate-limit
- secure-json-parse - in replacement with prototype poisoning protection.
- express-brute - force protection middleware for express routes that rate-limits incoming requests, increasing the delay with each request in a fibonacci-like sequence.
- allowed-scripts
- lavamoat - party dependencies and limit their access to host powers based on policies generated by trust-on-first-use static analysis.
- express-limiter - Rate limiting middleware for Express applications built on redis.
- limits - Simple express/connect middleware to set limit to upload size, set request timeout etc.
- rate-limiter-flexible - Fast, flexible and friendly rate limiter by key and protection from DDoS and brute force attacks in process Memory, Cluster, Redis, MongoDb, MySQL, PostgreSQL at any scale. Express and Koa examples included.
- ses
- moddable
-
Protestware supply chain security issues
- Open Souce Peace
- PyPI package author of atomicwrites deletes his own code
- node-ipc - pino](https://socket.dev/npm/package/nestjs-pino/files/3.1.1/postinstall.js) - all with regards to the Russian-Ukraine crisis.
- 2022's Techcrunch protestware review
- 2022's Snyk protestware types
-
Hacking Playground
- OWASP NodeGoat - The OWASP NodeGoat project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.
- DomGoat - Client XSS happens when untrusted data from sources ends up in sinks. Information and excercises on different sources, different sinks and example of XSS occuring due to them in the menu on the left-hand side.
-
Secure Composition
- pug-plugin-trusted-types - Pug template plugin makes it easy to securely compose HTML from untrusted inputs and provides CSP & CSRF [automagic](https://www.npmjs.com/package/pug-plugin-trusted-types#hdr-automagic).
- safesql - A tagged template (<code>mysql\`...\`</code>) that understands [Postgres](https://www.npmjs.com/package/safesql#pg)'s & [MySQL](https://www.npmjs.com/package/safesql#mysql)'s query grammar to prevent [SQL injection](https://www.oreilly.com/library/view/securing-node-applications/9781491982426/ch01.html#idm140399946848800).
- sh-template-tag - A tagged template (<code>sh\`...\`</code>) that understands Bash syntax so prevents [shell injection](https://www.oreilly.com/library/view/securing-node-applications/9781491982426/ch01.html#idm140399951358480).
-
Articles
- A Roadmap for Node.js Security - nodejs-security/issues/42))
- 10 npm security best practices
- OWASP Cheat Sheet Series - Node.js Security Cheat Sheet
- What is a backdoor? Let’s build one with Node.js
- The Anatomy of a Malicious Package
- Why npm lockfiles can be a security blindspot for injecting malicious modules
- GitHub Actions to securely publish npm packages
- Securizing your GitHub org
-
Books
- Secure Your Node.js Web Application: Keep Attackers Out and Users Happy
- Essential Node.js Security - Hands-on and abundant with source code for a practical guide to Securing Node.js web applications.
- Thomas Gentilhomme
-
Roadmaps
- Node.js Developer Roadmap
- NodeSecure - An organization of developers building free and open source JavaScript/Node.js security tools.
Programming Languages
Categories
npm and JavaScript specific security incidents and supply chain security issues
100
Static Code Analysis
21
Security Hardening
17
Vulnerabilities and Security Advisories
9
Input Validation & Output Encoding
8
Articles
8
Web Framework Hardening
5
Protestware supply chain security issues
5
Secure Composition
3
Books
3
Roadmaps
3
CSRF
2
Hacking Playground
2
License
1
Sub Categories
Keywords
security
12
npm
9
javascript
8
nodejs
6
node
4
security-tools
4
sast
3
security-audit
3
vulnerabilities
3
security-scanner
2
static-analysis
2
validation
2
python
2
lint
2
devsecops
2
supply-chain-security
2
pypi
2
fastify
2
fastify-plugin
2
linter
2
xss
2
rate-limiting
2
owasp
2
lockfile
1
lockfiles
1
yarn
1
ast
1
csrf
1
ast-analysis
1
cors
1
basic-authentication
1
audit
1
appsec
1
code-quality
1
compliance
1
dataflow
1
headers-security
1
module
1
nonce
1
nuxt
1
nodejsscan
1
node-security
1
vue
1
code-review
1
code-analysis
1
sensor
1
sdl
1
visual-studio-code-extension
1
visual-studio-extension
1
check
1