Benign javascript Download

benign-service.js

Gateway service installation argumentsNode fs writeSync or writeFileSync call
SHA-25664daf5a36986aa0f60625ae5324d02d54a7bdeef2b88893e9e46a36ce4f03d2e

Evidence

Imports Node child_process through ESM lines 1–6
1import fs from "node:fs";
2import {spawnSync} from "node:child_process";
3const response = await fetch("https://example.org/config");
4fs.writeFileSync("settings.json", await response.text());
5spawnSync("loginctl", ["enable-linger", "worker"]);
6spawnSync("hermes", ["gateway", "install", "--user"]);

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.