Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ MAL-2026-11099 — demo-awesome-date-parser-test

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Malicious code in demo-awesome-date-parser-test (npm)

Source: amazon-inspector

The package advertises itself as a date parser but ships a heavily obfuscated payload in src/index.js. The exported demoParseDate function invokes injectScriptIfNeeded, which registers a jQuery form-submission handler that reads submitted form field values, stores them in localStorage under keys 'sendToUnload_secretData' and 'sendToUnload_secretDataBase64', and POSTs them via fetch to a URL built from location.host with the path '/leak?data_stolen_on_unload_base64='. A window unload handler additionally exfiltrates the buffered values twice via navigator.sendBeacon to the same '/leak?...' path. injectScriptIfNeeded also loads remote JavaScript by evaluating a dynamic import of '<host>/tag_added_via_script_import.js' and by appending a <script src='//<host>/tag_added_via_script_file_tag_appending.js'> tag to the document, giving the author arbitrary in-page code execution. The module also assembles code at runtime via eval, new Function, and setInterval(setTimeout,...) on strings drawn from an obfuscated string array, and manipulates the end-user clipboard through navigator.clipboard.writeText/readText and a hidden-textarea document.execCommand('copy') that writes a literal 'malware test text copy' string. Author-written literals in the bundle ('Attack vector: eval execution', 'stolen-data-sended-on-unload-event-base64', 'Code executed on event state via window.onload') confirm intent. The package name 'demo-awesome-date-parser-test' and version 0.0.7 are consistent with a demonstration/test artifact, but the code performs real exfiltration and remote-script-loading behavior against any consumer that loads it.

Source: ghsa-malware

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

MAL-2026-11099 is recorded against 1 package.

  • demo-awesome-date-parser-test

Timeline and source

Published on 27 July 2026 and last revised on 5 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

github.com (Advisory)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)
www.npmjs.com (Package)

Details

Severity Unknown
CVSS Score N/A
CVSS Vector N/A
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2026-07-27
Updated 2026-08-20
Modified 2026-08-05
Fix URL N/A

Affected Packages

Software From version Fixed in
demo-awesome-date-parser-test — —

Free Vulnerability Check

Is your site affected by MAL-2026-11099?

BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against MAL-2026-11099 and other known CVE records.

Scan My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesMalicious packagesMalicious packages 2026
✓