JavaScript Security

Open-source JavaScript projects categorized as Security

Top 23 JavaScript Security Projects

  1. nginxconfig.io

    ⚙️ NGINX config generator on steroids 💉

  2. Kargo

    Stop Scripting Promotions. Start Shipping with Kargo. Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.

    Kargo logo
  3. DOMPurify

    DOMPurify - a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMPurify works with a secure default, but offers a lot of configurability and hooks. Demo:

    Project mention: How svgin-react renders SVGs as real, styleable elements without the XSS risk | dev.to | 2026-09-04

    Sanitize before anything touches the DOM. Strip script, strip event handler attributes, strip javascript:/data: URIs, keep the drawing instructions. DOMPurify already does this well and ships an SVG profile:

  4. nuclei-templates

    Community curated list of templates for the nuclei engine to find security vulnerabilities.

    Project mention: Simple Hacking Technique for Beginners (2025 Edition) | dev.to | 2025-12-08

    - [nuclei](https://github.com/projectdiscovery/nuclei): A fast and customizable vulnerability scanner based on simple YAML based DSL. - [nuclei-templates](https://github.com/projectdiscovery/nuclei-templates): Community curated list of templates for the nuclei engine to find security vulnerabilities. - [subfinder](https://github.com/projectdiscovery/subfinder): A fast passive subdomain enumeration tool leveraging dozens of APIs. - [httpx](https://github.com/projectdiscovery/httpx): A fast and multi-purpose HTTP toolkit that allows running multiple probes using the retryablehttp library. - [cvemap](https://github.com/projectdiscovery/cvemap): A CLI to Navigate the CVE jungle with ease. - [katana](https://github.com/projectdiscovery/katana): A next-generation crawling and spidering framework. - [naabu](https://github.com/projectdiscovery/naabu): A fast port scanner written in go with a focus on reliability and simplicity.

  5. user.js

    Firefox privacy, security and anti-tracking: a comprehensive user.js template for configuration and hardening

    Project mention: Decentraleyes | news.ycombinator.com | 2026-01-05

    unfortunately, it's close to useless in 2026. i'll take an excerpt from arkenfox's repo as to why:

    > Replacing some version specific scripts on CDNs with local versions is not a comprehensive solution and is a form of enumerating badness. While it may work with some scripts that are included it doesn’t help with most other third party connections.

    > CDN extensions don't really improve privacy as far as sharing your IP address is concerned and their usage is fingerprintable as this Tor Project developer points out. They are the wrong tool for the job and are not a substitute for a good VPN or Tor Browser. Its worth noting the resources for Decentraleyes are over six years out of date and would not likely be used anyway

    https://github.com/arkenfox/user.js/wiki/4.1-Extensions

  6. MyIP

    The best IP Toolbox. Check your IP address & geolocation, test IP for WebRTC and DNS IP leaks, run an IP quality check, browser fingerprint check, website availability check, network speed test, global latency test, MTR test, Whois search, and more. (by jason5ng32)

  7. awesome-ctf

    A curated list of CTF frameworks, libraries, resources and softwares

  8. BeEF

    The Browser Exploitation Framework Project

    Project mention: phantomcollect VS BeEF - a user suggested alternative | libhunt.com/r/phantomcollect | 2025-11-08

    BeEF is a well-known browser exploitation framework used for penetration testing. PhantomCollect focuses more on stealth web data collection, while BeEF provides interactive browser-based exploitation. Both tools can complement each other in red team environments.

  9. AppSignal

    AppSignal knows why the f*#k it crashed. Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise.

    AppSignal logo
  10. Betterfox

    Firefox user.js for optimal privacy and security. Your favorite browser, but better.

    Project mention: Firefox's AI Switch Is Off. Telemetry Isn't | news.ycombinator.com | 2026-09-02

    I love Firefox but I don't understand why anybody would use it without a custom config like BetterFox[1].

    [1] https://github.com/yokoffing/Betterfox

  11. howtheysre

    A curated collection of publicly available resources on how technology and tech-savvy organizations around the world practice Site Reliability Engineering (SRE)

  12. cloudmapper

    CloudMapper helps you analyze your Amazon Web Services (AWS) environments.

  13. ClearURLs-Addon

    ClearURLs is an add-on based on the new WebExtensions technology and will automatically remove tracking elements from URLs to help protect your privacy.

  14. Retire.js

    scanner detecting the use of JavaScript libraries with known vulnerabilities. Can also generate an SBOM of the libraries it finds.

  15. reverse-shell-generator

    Hosted Reverse Shell generator with a ton of functionality. -- (Great for CTFs)

  16. shhgit

    Ah shhgit! Find secrets in your code. Secrets detection for your GitHub, GitLab and Bitbucket repositories.

  17. StegCloak

    Hide secrets with invisible characters in plain text securely using passwords 🧙🏻‍♂️⭐

  18. cloudsploit

    Cloud Security Posture Management (CSPM)

  19. rate-limiter-flexible

    Atomic and non-atomic counters and rate limiting tools. Limit resource access at any scale.

  20. twofactorauth

    List of sites with two factor auth support which includes SMS, email, phone calls, hardware, and software.

  21. awesome-nodejs-security

    Awesome Node.js Security resources

  22. express-gateway

    A microservices API Gateway built on top of Express.js

  23. user.js

    user.js -- Firefox configuration hardening (by pyllyukko)

  24. pwndoc

    Pentest Report Generator

  25. Pi.Alert

    WIFI / LAN intruder detector. Check the devices connected and alert you with unknown devices. It also warns of the disconnection of "always connected" devices

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

JavaScript Security discussion

Log in or Post with

JavaScript Security related posts

  • How svgin-react renders SVGs as real, styleable elements without the XSS risk

    2 projects | dev.to | 4 Sep 2026
  • Firefox's AI Switch Is Off. Telemetry Isn't

    1 project | news.ycombinator.com | 2 Sep 2026
  • WebMask: 43+ OWASP-aligned website checks with a React UI

    4 projects | dev.to | 2 Aug 2026
  • Gmail Thinks I'm Stupid, So I Left

    2 projects | news.ycombinator.com | 2 Jun 2026
  • 7 Hidden Security Vulnerabilities in Modern Node.js Applications

    4 projects | dev.to | 15 May 2026
  • Introducing hapi-aegis: Helmet-style security headers for hapi.js

    3 projects | dev.to | 20 Apr 2026
  • Show HN: 1time – Zero-knowledge secret sharing with E2E encryption

    2 projects | news.ycombinator.com | 25 Mar 2026
  • A note from our sponsor - AppSignal
    www.appsignal.com | 8 Sep 2026
    Stop vibe-debugging. Every exception, every backtrace, grouped so you see patterns, not noise. Learn more →

Index

What are some of the best open-source Security projects in JavaScript? This list will help you:

# Project Stars
1 nginxconfig.io 28,288
2 DOMPurify 17,358
3 nuclei-templates 12,911
4 user.js 12,835
5 MyIP 11,803
6 awesome-ctf 11,687
7 BeEF 11,001
8 Betterfox 10,830
9 howtheysre 9,802
10 cloudmapper 6,293
11 ClearURLs-Addon 4,972
12 Retire.js 4,165
13 reverse-shell-generator 4,053
14 shhgit 3,977
15 StegCloak 3,836
16 cloudsploit 3,774
17 rate-limiter-flexible 3,582
18 twofactorauth 3,456
19 awesome-nodejs-security 3,036
20 express-gateway 3,034
21 user.js 2,893
22 pwndoc 2,886
23 Pi.Alert 2,730

Sponsored
Stop Scripting Promotions. Start Shipping with Kargo
Kargo automates promotion across dev, staging, and prod with approval gates and verification. Open source, built by the team behind Argo CD. Download now.
akuity.io

Did you know that JavaScript is
the 5th most popular programming language
based on number of references?