MAL-2026-10177: Malicious code in @jaymara/jsononifier (npm)
@jaymara/jsononifier versions 1.0.0, 1.0.1, and 1.0.2 contain malicious code that executes a covert command on Windows systems when the package is required. The package masquerades as a JSON formatting utility but includes logic to detect sandbox environments and only triggers on real Windows workstations. It decodes an XOR-encoded payload and executes it via child_process.exec, currently demonstrated by launching calc.exe. This mechanism allows future versions to execute arbitrary commands without visible code changes.
AI Analysis
Technical Summary
@jaymara/jsononifier versions 1.0.0, 1.0.1, and 1.0.2 include a hidden command execution backdoor triggered upon requiring the package. The index.js loads trigger.js, which checks environment variables and platform to avoid execution in CI, test, or Docker environments, and only activates on Windows workstations. It schedules Executer.js to decode an XOR-encoded command from payload.js and executes it with Windows process hiding enabled. The current payload launches calc.exe as a demonstration, but the encoded payload can be replaced to run arbitrary commands. This behavior is unrelated to the package's advertised JSON formatting functionality, indicating malicious intent.
Potential Impact
The malicious code allows arbitrary command execution on Windows systems that import this package, potentially enabling attackers to run any commands with the privileges of the importing process. Although the current payload is benign (launching calc.exe), the mechanism can be modified to execute harmful commands, leading to system compromise, data theft, or further malware deployment. The code avoids execution in sandboxed or CI environments, increasing the risk of undetected exploitation on real victim machines.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove and avoid using @jaymara/jsononifier versions 1.0.0, 1.0.1, and 1.0.2. Audit dependencies for this package and replace it with a trusted alternative. Monitor for any unexpected child process executions on Windows systems that import this package. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
MAL-2026-10177: Malicious code in @jaymara/jsononifier (npm)
Description
@jaymara/jsononifier versions 1.0.0, 1.0.1, and 1.0.2 contain malicious code that executes a covert command on Windows systems when the package is required. The package masquerades as a JSON formatting utility but includes logic to detect sandbox environments and only triggers on real Windows workstations. It decodes an XOR-encoded payload and executes it via child_process.exec, currently demonstrated by launching calc.exe. This mechanism allows future versions to execute arbitrary commands without visible code changes.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
@jaymara/jsononifier versions 1.0.0, 1.0.1, and 1.0.2 include a hidden command execution backdoor triggered upon requiring the package. The index.js loads trigger.js, which checks environment variables and platform to avoid execution in CI, test, or Docker environments, and only activates on Windows workstations. It schedules Executer.js to decode an XOR-encoded command from payload.js and executes it with Windows process hiding enabled. The current payload launches calc.exe as a demonstration, but the encoded payload can be replaced to run arbitrary commands. This behavior is unrelated to the package's advertised JSON formatting functionality, indicating malicious intent.
Potential Impact
The malicious code allows arbitrary command execution on Windows systems that import this package, potentially enabling attackers to run any commands with the privileges of the importing process. Although the current payload is benign (launching calc.exe), the mechanism can be modified to execute harmful commands, leading to system compromise, data theft, or further malware deployment. The code avoids execution in sandboxed or CI environments, increasing the risk of undetected exploitation on real victim machines.
Mitigation Recommendations
No official patch or remediation is currently available. Users should immediately remove and avoid using @jaymara/jsononifier versions 1.0.0, 1.0.1, and 1.0.2. Audit dependencies for this package and replace it with a trusted alternative. Monitor for any unexpected child process executions on Windows systems that import this package. Patch status is not yet confirmed — check the vendor advisory or npm security advisories for updates.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10177
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520eaa68715ace438f49a6
Added to database: 07/11/2026, 09:36:42 UTC
Last enriched: 07/11/2026, 09:46:08 UTC
Last updated: 07/11/2026, 09:46:08 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.