目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%
← 返回恶意软件包
npm active

classroomhomework

MAL-2026-14448
2026-08-25 08:22:29
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in classroomhomework (npm)

凭据/密钥窃取
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
144
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
永久样本归档NAS
版本状态大小SHA-256获取方式
1.0.0archivedVIP 下载
样本保存在内网 NAS 隔离区,不公开镜像地址;已开通会员可直接从平台下载。同步任务不会解压或执行样本。
受影响版本
EcosystemPackageVersion
npmclassroomhomework*
npmclassroomhomework1.0.0
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"schema_version":"1.7.4","id":"MAL-2026-14448","published":"2026-08-25T05:33:29Z","modified":"2026-08-25T08:22:28.809689298Z","aliases":["GHSA-hrpx-q7gr-p9g5"],"summary":"Malicious code in classroomhomework (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (b64edbbd8d1e23d937c4697de257a67981be2ebb2934a4280424a86f4af7028f)\nThe package's index.html impersonates Google Classroom (title, gstatic favicon, hardcoded student email student111@risd.edu, decoy schedule/gradebook code explicitly commented `// --- decoy classroom functionality below ---`) as a cover for a remote-fetch-and-execute primitive. Embedded JavaScript reconstructs a fragmented path from a `_paths` array (`[\"/gh/\", \"s0n-1m-\", \"cr1n3/\", \"sc13nc3/\", \"assets/\", \"index.html\"]`) joined at runtime to form `/gh/s0n-1m-cr1n3/sc13nc3/assets/index.html`, prefixes a jsDelivr mirror host, fetches the URL, and writes the response body into a new browser tab via `document.write`, which parses and executes it as HTML/JS. A `setTimeout` fires the fetch automatically 500 ms after page load, and a hidden `class code` modal (m1..m5) triggers the same fetch on demand. Because the jsDelivr path targets a personal GitHub repository (`s0n-1m-cr1n3/sc13nc3`) pinned to no commit, the operator can swap the delivered payload at any time. The split-string obfuscation of the destination and the author-labeled decoy UI show intent to conceal the delivery channel behind a Google Classroom facade.\n\n## Source: ghsa-malware (623532fe0234f0604f33f448e7b994bb3817bc08b2e9c91d4739f337763013f9)\nAny 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.\n","affected":[{"package":{"name":"classroomhomework","ecosystem":"npm"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.0"],"database_specific":{"cwes":[{"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"}],"indicators":{"evidence_files":[{"path":"index.html","sha256":"42e13b7178eb961ae7a2c693f8798aff5f033357f50e6cb760b514dc52529e80","tlsh":"3382f632991c252e6933e2b8db7a5318f6af4167e1078314389ca3611f79c91d673eec"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-hrpx-q7gr-p9g5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/classroomhomework/v/1.0.0"}],"database_specific":{"malicious-packages-origins":[{"id":"GHSA-hrpx-q7gr-p9g5","import_time":"2026-08-25T06:26:26.623616557Z","modified_time":"2026-08-25T05:33:34Z","ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"sha256":"623532fe0234f0604f33f448e7b994bb3817bc08b2e9c91d4739f337763013f9","source":"ghsa-malware"},{"id":"IN-MAL-2026-018705","import_time":"2026-08-25T08:20:37.087347744Z","modified_time":"2026-08-25T08:17:15Z","sha256":"b64edbbd8d1e23d937c4697de257a67981be2ebb2934a4280424a86f4af7028f","source":"amazon-inspector","versions":["1.0.0"]}]},"credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"}]}

数据来源:OpenSSF Malicious Packages · Apache-2.0