MAL-2026-19227: Malicious code in r17d-sec-research-marker (npm)

Published Nov 13, 2026
·
Updated

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

Source: amazon-inspector (0dbf3def098b1620e001e0831b405dd03ec20787a88a28892163cdfbe2eadbee) On npm install, the package's postinstall script (collect.js) runs shell listings of the home directory and current working directory, probes for the presence of installer credential/config files (~/.npmrc, ~/.gitconfig, ~/.config/gh, ~/.novus), enumerates all process.env variable names, and POSTs the collected JSON to a hardcoded anonymous inspection endpoint at webhook.site/f18b2445-73d1-478a-9d3f-1cb21a407c61. The host reconnaissance includes the output of whoami, OS/kernel info, home-directory listing, dotfile presence inventory, and the full environment variable name list — a dataset that reveals CI provider, cloud credential presence, and secret-store usage, suitable for follow-on credential targeting. The script's self-label as a 'security research POC collecting metadata only' does not change the behavior: the installer did not opt in, the destination is an anonymous third-party collector, and the presence inventory of credential paths is itself exfiltration.

Affected Software

1 affected component
npm/r17d-sec-research-marker=1.0.0

Event History

Nov 13, 2026
Advisory Published
via OSV·03:58 AM
Data Sourced
via OSV·03:58 AM
DescriptionAffected Software

Frequently Asked Questions

1

When does the data collection occur?

It occurs during npm install, when the package's postinstall script, collect.js, runs automatically.

2

What information is sent off the system?

The script sends JSON containing the current user, OS and kernel information, home-directory and working-directory listings, presence checks for credential and configuration paths, and all environment variable names. It posts this data to a hardcoded webhook.site endpoint.

3

Which environments are most exposed to follow-on targeting?

Systems where environment variable names, CI-provider indicators, cloud credential files, secret-store configuration, or developer-tool configuration reveal useful account or infrastructure details are exposed. The script specifically checks for ~/.npmrc, ~/.gitconfig, ~/.config/gh, and ~/.novus.

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