{"id":"MAL-2026-13422","revision":"91dc44eafc7a452dacd92b4bf740af90","records":[{"revision":"91dc44eafc7a452dacd92b4bf740af90","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-13422","aliases":[],"title":"Malicious code in beautiful-ui-monitoring (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ca55a4e9c07b4e285b702c515ae40bba4c641662d4513f2e26cb99e111cd3101)\nbeautiful-ui-monitoring@1.0.8 advertises itself as a UI package (description 'creates a beautiful ui design', keywords c/gcc/native) but ships no UI code. Its postinstall script invokes `gcc -shared -fPIC -o /tmp/monitoring.so src/monitoring.c`, compiling a shipped C source into a shared library at a world-writable path. The compiled library declares a `__attribute__((constructor))` that, on load, unlinks every `*.so` file under `/tmp` and writes the current uid/gid to `/tmp/monitoring.log`. The tarball also ships a `test.js` that loads the library via `LD_PRELOAD=/tmp/monitoring.so` and a co-shipped native test-loader that `dlopen`s the same path, demonstrating the intended trigger. The package.json author field is empty and no shipped file implements the advertised UI purpose. Installing the package plants a destructive native artifact in a shared, world-writable location under a misleading package description.\n","state":0,"publishedAt":"2026-08-06T13:11:08+00:00","modifiedAt":"2026-08-06T14:34:49.4706739+00:00","affected":[{"ecosystem":"npm","name":"beautiful-ui-monitoring","ranges":[],"versions":["1.0.8"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/beautiful-ui-monitoring/v/1.0.8"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-13422","license":"OSV · upstream source license applies","key":"osv:MAL-2026-13422","identifiers":["MAL-2026-13422"]},"retained":false,"historicalAffected":[]}],"coverage":[]}