Malicious code in feed-widget-helper (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (e9c3f4f4751b0adffb78a311ee048162a853729a5dd1d0826593f394a4d663e2) On load, index.js schedules a setTimeout (~2s) that fetches the current origin's /profile endpoint, parses the returned HTML, extracts a.flag-value element (falling back to the entire page body), and issues a POST to /addPost with the extracted content as JSON. The behavior fires unconditionally without user interaction, uses the embedding page's authenticated session to read private profile data, and then publishes that data through a state-changing endpoint on the same origin. The package name ("feed-widget-helper") and package.json are placeholders: description, author, repository, and keywords are all empty, and the shipped code has no relation to any feed-widget functionality. The shape is a same-origin CSRF/exfiltration payload rather than a helper library. ## Source: ghsa-malware (e8b286173148884a6c5d368034a9bff960825f2427bfb089ab017405424f74bf) 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.
MAL-2026-16332
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: osv:MAL-2026-16332
feed-widget-helper
Source reference: /affected/0/package/name
- Affected versions
- 1.0.0
Source reference:
/affected/0/versions1.0.8Source reference:
/affected/0/versions1.0.6Source reference:
/affected/0/versions - Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "feed-widget-helper",
"purl": "pkg:npm/feed-widget-helper",
"ecosystem": "npm"
},
"versions": [
"1.0.0",
"1.0.8",
"1.0.6"
],
"database_specific": {
"cwes": [
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
},
{
"name": "Embedded Malicious Code",
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature."
}
],
"source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/feed-widget-helper/MAL-2026-16332.json",
"indicators": {
"evidence_files": [
{
"path": "index.js",
"tlsh": "cbb012ffa204883d18f8c4447321998cd698b1209c556906dcfd65f0a33220f3d00fb2",
"sha256": "1b985d71a7f326e55b032a7fa220472987bd770cfbfb2e907a19127887e1165e"
}
],
"package_integrity": [
{
"hashes": {
"sha1": "ff36ee16ab0f4bac3574f146ecfa81e8393f74b8",
"sha512_sri": "sha512-HDWGxlNa+Sf+lohD34tWUwuYzLw4mT2GLNejZhIyv2bNYxCTykSgM/GVK9r+3FnjJjhi/bgRx3bSjzF1+UU75Q=="
},
"filename": "feed-widget-helper-1.0.0.tgz"
}
]
}
}
}
]Publisher severity
No explicit severity was provided.
- Event
- #37014 · Revision 1
- Added to Heist Feed
- Publisher date