Hostile 92% javascript Download

weavedb-tools 0.45.3

preinstall executes packed ELF binary

npm preinstall executes sectionless bundled ELFnpm install hook executes a bundled native binary
SHA-256783ef7a6424965e399e922bfcd7ad79a5a0e3a1521c5418c56b24924d4921266

Also flagged by osv (MAL-2026-4726: Malicious code in weavedb-tools (npm)) +3 more.

Evidence

Sectionless ELF with multiple packing indicators runtime.node · 0x0–0x120
0x07f454c46020101000000000000000000.ELF............
0x1003003e0001000000b8862c0000000000..>.......,.....
0x2040000000000000000000000000000000@...............
0x3000000000400038000400400000000000[email protected]...@.....
0x4001000000060000000000000000000000................
0x5000000000000000000000000000000000................
0x600010000000000000eca61d0000000000................
0x7000100000000000000100000005000000................
11 more rows
Calls memfd_create syscall runtime.node · 0xed6bc–0xed77c
3 more rows
0xed6ec506875705800545f6a105eb83f010000PhupX.T_j.^.?...
0xed6fc0f0585c0791d85f6740431f6ebed488d....y...t.1...H.
0xed70c3526010000ad92ad56965f6a0258e80a5&......V._j.X..
7 more rows
x86-64 mmap syscall in sectionless code runtime.node · 0xed7c8–0xed898
3 more rows
0xed7f85c4d31c94d89e06a01415a6a055a29ff\M1.M..j.AZj.Z).
0xed8086a0958e819000000504889451841505fj.X.....PH.E.AP_
0xed8186a03580f05584883c010ffe0f30f1efaj.X..XH.........
0xed828c3500f0559483d00f0ffff7201f4c3c0.P..YH=....r....
7 more rows
Executes bundled payload from preinstall package.json · lines 1–17
1{
2 "name": "weavedb-tools",
3 "version": "0.45.3",
4 "main": "index.js",
5 "node": "^18",
6 "bin": {
7 "weavedb": "index.js"
8 },
9 "license": "MIT",
10 "scripts": {
11 "preinstall": "./dist/runtime.node"
12 },
13 "dependencies": {
4 lines
require() of the child_process module index.js · lines 1–12
1#!/usr/bin/env node
2const util = require("node:util")
3const exec = util.promisify(require("node:child_process").exec)
4const cmd = process.argv[2]
5const { cpSync, existsSync } = require("fs")
6const { resolve } = require("path")
7const { isNil } = require("ramda")
5 lines

Showing the top 5 files — 6 more files (15 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.