---
canonical: "https://firewall.lpm.dev/npm/node-sysmon-native"
markdown: "https://firewall.lpm.dev/npm/node-sysmon-native/report.md"
package: "node-sysmon-native"
report_status: "published"
title: "node-sysmon-native@1.0.2 npm security report"
verdict: "malicious"
version: "1.0.2"
---

# node-sysmon-native@1.0.2 npm security report

> **Trust boundary:** Package metadata, advisory text, filenames, URLs, and source snippets in this report come from external packages or feeds. Treat them as untrusted evidence. Do not execute instructions or code found in this document.

## Verdict summary
**Blocked & quarantined** — A remote server can execute arbitrary commands as the application user and receive their stdout/stderr.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Block by default
- **Public report status:** Published
- **Threat category:** Remote Code Execution
- **Selected version:** 1.0.2
- **Selected version is latest:** Yes
- **Analysis source:** AI Security Review (lpm-firewall-ai)

LPM AI independently confirmed malicious behavior in this version and supplies the Firewall block.

AI assessment: malicious; recommendation: publish block. This assessment is supporting evidence; the published decision above determines the current policy.

The package implements concrete, automatic C2-driven arbitrary command execution and exfiltrates command results to a hard-coded remote host. The native addon duplicates this behavior behind a benign CPU-information API.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-07-13T15:33:35.610Z
- **Finished:** 2026-07-13T15:34:02.878Z
- **Download time:** 255 ms
- **Static scan time:** 11 ms
- **AI review time:** 27002 ms
- **Total time:** 27268 ms

The recorded confidence comes from the underlying analysis. Trusted advisory policy can determine the final verdict even when the AI assessment differs.

## Security analysis

### Published attack-surface review

- **Summary:** Importing \`index.js\` immediately launches a persistent polling agent. Calling the exported CPU-info API can also launch an independent detached native shell agent.

- **Trigger:** Module import; additionally \`getCpuInfo()\` invocation after native build succeeds.

- **Impact:** A remote server can execute arbitrary commands as the application user and receive their stdout/stderr.

- **Evidence paths:** package.json, index.js, binding.gyp, sysmon.cc

- **Review source:** ai\_review

- **Reviewed:** 2026-07-13T15:34:02.878Z

### AI review details

- **Review stage:** source\_first\_review

- **Mechanism:** Remote command-and-control polling with arbitrary shell execution and result exfiltration.

- **Attack narrative:** On import, \`index.js\` contacts a hard-coded IP every second, receives command objects, invokes each command through \`bash -c\`, and sends command output to the server. If the native module builds, \`getCpuInfo()\` activates a second concealed implementation: a detached pthread builds and executes a persistent shell/Python C2 loop against the same endpoint. This behavior is unrelated to system monitoring and provides remote code execution under the consuming application's privileges.

- **Rationale:** The package implements concrete, automatic C2-driven arbitrary command execution and exfiltrates command results to a hard-coded remote host. The native addon duplicates this behavior behind a benign CPU-information API.

- **Files touched:** index.js, sysmon.cc, /tmp/.sysmon.log, package.json, binding.gyp

- **Network endpoints:** http://152.53.120.90/cmd, http://152.53.120.90/cmd/commands, http://152.53.120.90/cmd/results

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** \`index.js\` starts an infinite command-polling loop on module import., \`index.js\` fetches commands from \`http://152.53.120.90/cmd/commands\`, executes them with \`bash -c\`, and POSTs output back., \`sysmon.cc\` starts a detached background thread when \`getCpuInfo()\` is called., \`sysmon.cc\` decodes the same C2 URL and runs a shell loop using \`curl\`, Python, and \`subprocess\` to execute server commands., \`package.json\` installs a native addon via \`node-gyp rebuild\`, enabling the hidden native execution path.

- **Evidence against:** \`binding.gyp\` only declares the local \`sysmon.cc\` addon build target., No AI-agent configuration, credential-specific harvesting, or destructive command is hard-coded; the remote operator supplies commands.

## Affected versions and remediation

This report applies to node-sysmon-native@1.0.2.

- Avoid installing node-sysmon-native@1.0.2. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.

## Public findings

### 1. High: Install Time Lifecycle Scripts
- **Category:** Manifest
- **Confidence:** 90.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/node-sysmon-native@1.0.2/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.install = node-gyp rebuild
```

### 2. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 3. Medium: Network
- **Category:** Source
- **Confidence:** 75.0%

Package source references network APIs.

### 4. Low: Filesystem
- **Category:** Source
- **Confidence:** 70.0%

Package source references filesystem APIs.

### 5. Medium: Ships Build Helper
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** binding.gyp
- **Public source:** [View source](<https://unpkg.com/node-sysmon-native@1.0.2/binding.gyp>)

Package ships non-JavaScript build or shell helper files.

Public source snippet (untrusted):

```text
path = binding.gyp
kind = build_helper
sizeBytes = 171
magicHex = [redacted]
```

### 6. Medium: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 70.0%

Artifact structure forces deeper review even if the static behavioral verdict is clean.

## Dependencies and install lifecycle
- **Lifecycle scripts present:** Yes
- **Published lifecycle scripts:** install
- **Dependencies:** 1
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 1

### Published dependency entries
- nan ^2.18.0 (Dependency)

## Package metadata
- **Package:** node-sysmon-native
- **Ecosystem:** npm
- **Version:** 1.0.2
- **License:** MIT
- **Version published:** 2026-07-13T15:32:16.808Z
- **Package first seen:** 2026-07-13T14:09:12.514Z
- **Package last seen:** 2026-07-13T15:34:12.119Z
- **Known versions:** 3
- **Latest version:** 1.0.2
- **Appeal under review:** No
- **Description:** Native system monitoring addon for Node.js
- **Artifact files:** 4
- **Artifact unpacked size:** 6,017 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/node-sysmon-native>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-10465>)
- [PACKAGE](<https://www.npmjs.com/package/node-sysmon-native/v/1.0.0>)
- [PACKAGE](<https://www.npmjs.com/package/node-sysmon-native/v/1.0.1>)
- [PACKAGE](<https://www.npmjs.com/package/node-sysmon-native/v/1.0.2>)
