黑客技术
点击放大

<br/>
<di="center">
A curated list of awesome Node.js Security resources.
!#
!#
!#
![liran_tal]()
<br/>
<hr/>
<p>
<a href="
<img alt="Node.js Security" align="center" src=" />
</a>
</p>
!Screenshot 2024-09-12 at 20 14 27
<p>
Learn Node.js Secure Coding techniques and best practices from <a href=" Tal</a>
</p>
</div>
<br/>
...\</代码>) that understands Postgres's & MySQL's query grammar to prevent SQL injection....\</代码>) that understands Bash syntax so prevents shell injection.JSON.parse() drop-in replacement with prototype poisoning protection.JSON.parse() drop-in replacement with prototype poisoning protection.npm install lifecycle scripts.ses to confine third-party dependencies and limit their access to host powers based on policies generated by trust-on-first-use static analysis.nodejs/secuirty-wg GitHub repository maintains a /vuln/core directory with all the C to Node.js runtime .The following is a list of known protestware spanning across other ecosystems too:
e, Mariusz Nowak and their es5-ext, E and their styled-components, node-ipc, peacenotwar, nestjs-pino - all with regards to the Russian-Ukraine crisis.Articles co the topics around protestware are:
Collection of security incidents that happened in the Node.js, Ja and npm related communities with supporting articles:
| Date | Name | Reference Links |
|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| 2026 Aug 4 | key, flat-cache and file-entry-cache compromised account takeover, spreading to over 400 packages and publishing malicious that carried valid pro | Snyk, Wiz
| 2026 May 11 | TanStack Npm Packages Compromised campaign | Snyk, StepSecurity, Socket
| 2026 Apr 29 | Bun based Stealer hits SAP @cap-js npm package | Snyk
| 2026 Mar 31 | Axios npm Package Compromised: Supply Chain Attack Delivers Cross-Platform RAT | Snyk, Axios post-mortem on GitHub issue, Mandaint report on UNC1069 in in Axios compromise
| 2025 Sep 25 | Malicious MCP 服务端 on npm postmark-mcp Harvests Emails | Snyk
| 2025 Sep 15 | Shai-Hulud npm package malware | Snyk, Re, Aikido
| 2025 Sep 8 | Qix maintainer compromised campaign causing malware in debug chalk and many other packages | Snyk
| 2025 Aug 27 | Nx package malicious compromise and AI coding tools weaponization of LLM and agents | Snyk
| 2025 Jul 25 | Toptal packages were compromised leading to GitHub Token theft and systems destroyed | Arstechnica
| 2025 Jul 19 | ESLint Config Prettier maintainers get compromised, spread malware and infect other maintainers too | Snyk, Socket, Safedep
| 2025 Jun 25 | Bea North Korean group drops 35 npm malware packages | Socket
| 2025 Jun 12 | npm package -nati/focus and other -nati namespace packages were found to be malicious | Aikido, Bleeping Computer
| 2025 May 15 | os-info-checker-es6 npm package le unicode steganography in Google calendar as command and control |
| 2025 May 8 | Package rand-user-agent with 45,000 downloads compromised in supply chain attack for malicious RAT | Aikido
| 2025 May 7 | Malicious npm Packages Infect 3,200+ Cursor Users With Backdoor | Socket
| 2025 May 2 | Typosquatting popular .NET, Python and other package names | Socket
| 2025 Apr 15 | Russian hackers typosquat express-exp | Safety
| 2025 Apr 10 | pdf-to-office malicious npm package | Re
| 2025 Apr 5 | North Korean Hackers Deploy Bea Malware via 11 Malicious npm Packages | socket
| 2025 Mar 26 | Malicious packages ethers-pro and ethers-pro | Re
| 2025 Mar 11 | North Korean Lazarus group targets npm packages is-buffer-, yoojae-, e, array-empty-, react-e, and auth- | socket
| 2025 Feb 26 | Malicious Code Hidden in NPM Packages | cycode
| 2025 Jan 14 | npm command confusion | Checkmarx
| 2025 Jan 13 | Typosquatted packages for Chalk and Chokidar harbor backdoor trojans | socket
| 2024 Dec 20 | /core and /cli at 400k weekly downloads were compromised due to npm token theft and used to publish malicious packages for monero cryptocurrency mining | rspack release notes, sonatype, Socket
| 2024 Dec 11 | Malicious npm Package -eslint/eslint-plugin exfiltrates data in typosquatting attack | Socket
| 2024 Dec 3 | Supply Chain Attack Detected in Solana's web3.js Library /web3.js | Socket
| 2024 Nov 12 | "node-request-ip", "request-ip-check" and "request-ip-" are fake IP checker utilities on npm target cryptocurrency and install trojans | sonatype
| 2024 Oct 31 | Lottie Player npm package compromised for crypto 钱包 theft | Snyk
| 2024 Oct 31 | Typosquat campaign targeting Puppeteer, Bignum.js, and some 137 other cryptocurrency libraries | Phylum
| 2024 Oct 28 | Dependency confusion campaign used in an npm supply chain security le to breach Fortune 500 company |
| 2024 Oct 4 | lodasher, them4on, laodasher counterfeit npm packages aimed to backdoor Windows users with a modified AnyDesk binary | Sonatype
| 2024 Jul 16 | string-width-cjs and other Suspicious Maintainer Unveils Threads of npm Supply Chain Attack | Snyk
| 2024 Jul 11 | noblox-ts starjacking and QuasarRAT on npm | stacklok
| 2024 Jun 17 | ua-parser-js switches to AGPL+commercial in "rug pull" move | Ad in Nodeland
| 2024 Jun 11 | cors-parser npm package hides cross-platform backdoor in PNG files | Sonatype
| 2024 Jun 03 | npm regsitry cache poisoning attack | landh.tech
| 2024 Apr 26 | Fake job interviews target de with new Python backdoor | Bleeping Computer
| 2024 Apr 16 | Tea tokens and de abusing OSS infrastructure for monetization | Sonatype
| 2024 Feb 6 | noblox.js-proxy-ser npm Package Masquerades as Noblox.js, Targeting Roblox Users for Data Theft | Socket
| 2024 Jan 25 | npm flooded with 748 packages that store movies | Sonatype
| 2024 Jan 3 | An e package with a registry-wide dependencies prevents from packages to be unpublished | SC Media
| 2023 Dec 14 | Ledger supply chain security attack introducing crypto 盗取器 malware (/connect-kit) | Sonatype, Tweets 1 2 3 4 5 6 7 8
| 2023 Sep 27 | Spoofed Dependabot commits steal GitHub tokens and inject malware to Ja files | Checkmarx
| 2023 Jun 27 | Manifest Confusion - a new publicly disclosed bug with the npm package manager demonstrating package metadata inconsistency | Darcy Clarke's blog
| 2023 Jun 23 | North Korean attackers exploit social engineering and supply chain attacks on npm | Phylum
| 2023 Jun 15 | Supply Chain Attack Exploits Abandoned S3 Buckets to Distribute Malicious Binaries for bignum npm package | The Hacker News, Checkmarx
| 2023 Jun 06 | Recommended packages by ChatGPT may be exploited for supply chain security attack |
| 2023 Feb 16 | Researchers Hijack Popular NPM Package with Millions of Downloads | Illustria on The Hacker News
| 2023 Feb 10 | Researchers Unco Malicious 代码 in PyPI Python Packages, affiliated npm ecosystem e too | The Hacker News
| 2023 Jan 29 | Phylum Identifies 137 Malicious npm Packages | phylum
| 2022 Nov 29 | In npm malware may hide in crafted and bypass npm audit's security checks | JFrog
| 2022 Nov 24 | Phylum team captures captures malicious npm package imagecompress-mini claims to be an image compress 工具 | Louisw Lang on Twitter
| 2022 Oct 12 | Aqua security discovers flaw in npm that allows disclosing of pri hosted npm packages on the registry | Aqua
| 2022 Oct 07 | LofyGang Distributed ~200 Malicious NPM Packages to Steal Credit Card Data | TheHackerNews
| 2022 Sep 23 | Popular Cryptocurrency Exchange dYdX Has Had Its NPM Account Hacked | Mend
| 2022 Jul 29 | malicious packages small-sm, pern-, lifeculer, and proc-title target stealing credit card information and discord tokens | darkreading
| 2022 May 26 | stolen oAuth GitHub tokens lead to npm security breach, compromised user accounts metadata, private packages, and plain-text passwords in logs | GitHub
| 2022 May 24 | malicious npm packages exploiting dependency confusion attacks | Snyk, Snyk
| 2022 May 23 | npm packages hijacked due to expired domains | TheRegister
| 2022 Apr 05 | New npm Flaws Let Attackers Better Target Packages for Account Takeover | Aqua
| 2022 Apr 26 | npm package planting | Aqua, The Hacker News
| 2022 Mar 31 | More protestware from styled-components | Checkmarx Security blog
| 2022 Mar 18 | More protestware from es5-ext and e | Snyk ad for e, es5-ext commit, ArsTechnica |
| 2022 March 16 | peacenotwar module sabotages npm de in the node-ipc package to protest the in of Ukraine | Snyk blog, Darkreading, SC Magazine |
| 2022 Mar 7 | Malicious packages caught exfiltrating data webhook services | Checkmarx Security blog |
| 2022 Feb 22 | 25 Malicious Ja Libraries due to typosquatting attacks | TheHackerNews |
| 2022 Feb 11 | 2,818 npm accounts use email addresses with expired domains | TheRecord |
| 2021 Dec 08 | 17 Ja libraries contained malicious 代码 to collect and steal Discord access tokens and en from users’ computers - | TheRecord |
| 2021 December 01 | The Bladabindi trojan and RAT malware | Sonatype |
| 2021 No 04 | coa and rc packages - Popular npm library 'coa' was hijacked today with malicious 代码 injected into it, ephemerally impacting React pipelines around the world | Bleepingcomputer, the record, npm tweet, npm tweet for rc. |
| 2021 October 27 | noblox.js-proxy and noblox.js - typosquatted npm package that target users of official roblox API and SDK npm package (noblox.js) | the register |
| 2021 October 22 | ua-parser-js - of a popular NPM package named ua-parser-js was found to contain malicious 代码 | Cybersecurity and Infrastructure Security Agency (CISA), github issue, IOCs, portswigger, theregister |
| 2021 September 02 | pac-resolver - can enable threat actors on the local 网络 to run arbitrary 代码 within your Node.js process whenever it attempts to make an HTTP request | arstechnica.com |
| 2021 August 07 | npm package ownership process firing back and exposing potential for supply chain security risks. | Twitter |
| 2021 April 13 | New Linux, macOS malware hidden in fake Browserify NPM package: web-browserify | Bleepingcomputer. |
| 2020 December 02 | jdb.js - db-json.js - malicious npm packages caught installing remote access trojans. | zdnet.com, Bleepingcomputer. |
| 2020 No 09 | discord malicious npm package - Npm package caught stealing sensiti and browser files | sonatype, zdnet. |
| 2020 No 03 | twilio-npm - malicious npm package opens backdoors on programmers' computers. | zdnet |
| 2020 August 29 | fallguys - malicious package stealing sensiti. | zdnet |
| 2020 April 27 | is-promise - one-liner library breaks an ecosystem. | Forbes Lindesay - Maintainer post-mortem, snyk's postmortem |
| 2019 August 22 | bb-builder - malicious package targeting Windows systems to exfiltrate information and send to a remote service. | Snyk, Re Labs, Bleeping Computer |
| 2019 June 05 | EasyDEX-GUI - malicious 代码 found in npm package e. | npm, snyk, komodo announcement |
| 2018 No 27 | e - malicious 代码 found in npm package e. | github issue snyk, snyk's postmortem, schneid, intrinsic, npm, jayden, hillel wayne's postmortem |
| 2018 July 12 | eslint - malicious packages found in npm package eslint-scope and eslint-config-eslint. | github issue, eslint tweet, eslint's postmortem, nodesource's postmortem, npm's statement |
| 2018 May 02 | getcookies - malicious package getcookies gets embedded in higher-le related packages. | GitHub issue, npm, bleepingcomputer.com, Snyk’s getcookies page, Hacker News |
| 2018 Feb 13 | maintainer account with access to con npm package compromised and published malware for 1 day and 11 hours | con repository update
| 2017 August 02 | crossenv - malicious typosquatting package crossen en . | CJ blog on typosquat packages, Typosquatting research paper, bleepingcomputer.com, Snyk’s crossen page, Hacker News |
| 2016 March 22 | left-pad - how one de broke Node, Babel and thousands of projects in 11 lines of Ja. | left-pad.io, The Register, qurtaz. |
Follow-up notes:
* A resource for malicious incidents is BadJS - a repository of malicious Ja that has been found in websites, extensions, npm packages, and anywhere else Ja lives.
* npm zoo is an archi track of the original malicious packages 源码 代码 for educational purposes.
---
say *hi* on Twitter
开发语言:未知
Star 数:3045
该项目属于黑客技术方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Awesome Node.js Security resources展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。
从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。
1. 下载源码压缩包,解压到本地环境。
2. 根据项目类型准备对应的运行环境与依赖。
3. 按照 README 中的步骤完成配置与部署。
4. 在隔离的测试环境中运行验证,避免影响生产系统。
本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。
| 资源标题 | awesome-nodejs-security - Awesome Node.js安全资源 |
| 所属分类 | 黑客技术 |
| 发布作者 | admin |
| 发布时间 | 2026-10-05 22:04:20 |
| 下载权限 | 免费下载 |
| 附件数量 | 2 个下载链接 |
| 浏览次数 | 386 |
| 讨论数量 | 0 |
| 主题状态 | 正常讨论中 |