Tuesday, August 11, 2026
LIVEThe Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///The Unrelenting Cyber Battle: Hacking Threats and the Imperative of Robust Data Protection///Navigating the Cyber Labyrinth: Bolstering Defenses Against Evolving Hacking Threats///The Dual Front War: Battling Hacking and Bolstering Data Protection in the Digital Age///The Ever-Evolving Cyber Threat Landscape: Navigating Hacking and Fortifying Data Protection///The Unseen Battle: Fortifying Data in an Age of Relentless Hacking///The Unseen War: Hacking's Relentless Advance and the Imperative of Data Protection///The Evolving Threat Landscape: Hacking, Data Protection, and the Imperative for Proactive Security///Navigating the Digital Minefield: Bolstering Data Protection in an Era of Relentless Hacking///The Dual Fronts of Digital Defense: Combating Hacking and Fortifying Data Protection///Hacking's New Frontier: Fortifying Data Protection in the Age of Advanced Cyber Threats///The Dual Front: Navigating Hacking Threats and Fortifying Data Protection in the Digital Age///Navigating the Digital Gauntlet: The Evolving Nexus of Hacking and Data Protection///
Subscribe
Cyber Security
Independent · Digital
Thehackingpost
CybersecurityAI-assisted

InvisibleJS Tool Hides Executable ES Modules in Empty Files Using Zero-Width Steganography

InvisibleJS is an open-source tool designed to obfuscate JavaScript code using invisible zero-width Unicode characters. This tool is available on GitHub, created by a developer under the alias oscarmine. The technique uses steganography to embed source…

InvisibleJS is an open-source tool designed to obfuscate JavaScript code using invisible zero-width Unicode characters. This tool is available on GitHub, created by a developer under the alias oscarmine. The technique uses steganography to embed source code into files that appear blank. It converts JavaScript into binary strings, mapping 0s to Zero Width Space (U+200B) and 1s to Zero Width Non-Joiner (U+200C).

A bootstrap loader decodes and executes the concealed payload at runtime, rendering the code invisible in text editors such as VS Code.

Two Versions for Different Environments

Version 1 (Classic with eval): Suitable for CommonJS and legacy Node.js environments, supporting native require and module.exports. Version 2 (Modern with import): Targets ES Modules, utilizing dynamic await import() for top-level await and exports. It requires .mjs files or "type": module configuration.

To hide code, the following command-line interface (CLI) commands are used:

Version 1: node hideV1.mjs -i input.js -o hidden.js Version 2: node hideV2.mjs -i input.js -o hidden.js

Execution is performed with node hidden.js , which results in normal output despite the code's blank appearance.

InvisibleJS is an open-source tool designed to obfuscate JavaScript code using invisible zero-width Unicode characters.
Kyle Mercer · Thehackingpost

Feature Version 1 (eval) Version 2 (import)

Invisibility 100% 100%

CommonJS Support Native Limited

ESM Support No Full

Top-Level Await No Yes

Advertisement

Execution Synchronous Asynchronous

Decoder Length Short Long

This method is similar to previous zero-width JavaScript proofs-of-concept from 2018, now adapted for phishing attacks. Attackers have used similar Unicode obfuscation methods with Hangul characters to conceal payloads in scripts, bypassing scanners with anti-debug checks.

InvisibleJS could facilitate such threats, enabling stealthy malware loaders in Node.js environments or web applications, thereby complicating threat detection. As obfuscation tools become more prevalent, security teams are advised to enhance Unicode-aware scanning and behavioral analysis processes. While developed for experimental purposes, InvisibleJS highlights the dual-use potential of coding innovations in cybersecurity.

Based on reporting by Cyber Security News.

AI transparency. This article was produced with the assistance of artificial intelligence and published under human editorial oversight. AI systems can make mistakes. Read how we use AI (EU AI Act, Art. 50).
Related Stories