---
canonical: "https://firewall.lpm.dev/npm/dateuuidv2"
markdown: "https://firewall.lpm.dev/npm/dateuuidv2/report.md"
package: "dateuuidv2"
report_status: "published"
title: "dateuuidv2@1.0.1 npm security report"
verdict: "malicious"
version: "1.0.1"
---

# dateuuidv2@1.0.1 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** — Remote code execution in the importing user's environment.

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

This is the current Firewall decision for the selected package version, based on the available public evidence. Findings for this version do not establish the status of other versions.

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

This is a concrete, undisclosed import-time remote code execution chain unrelated to a UUID package. The absence of lifecycle hooks does not mitigate the automatic runtime trigger.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 99.0%
- **Started:** 2026-07-27T09:01:38.880Z
- **Finished:** 2026-07-27T09:01:55.757Z
- **Download time:** 507 ms
- **Static scan time:** 25 ms
- **AI review time:** 16344 ms
- **Total time:** 16877 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 the package triggers an undisclosed remote payload chain. It reads a project README, derives a concealed endpoint, fingerprints the host, drops a temporary VBS payload, and executes it.

- **Trigger:** Importing or requiring dateuuidv2.

- **Impact:** Remote code execution in the importing user's environment.

- **Evidence paths:** index.js, index.mjs, lib/bootstrap.js, lib/store.js, README.md, package.json

- **Review source:** ai\_review

- **Reviewed:** 2026-07-27T09:01:55.757Z

### AI review details

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

- **Mechanism:** concealed endpoint derivation, remote payload download, drop-and-execute

- **Attack narrative:** Both public entrypoints load bootstrap code at import time. Bootstrap invokes extractDateISO, which reads the current project's README, uses a PORT value to construct decryption material for a hidden URL, POSTs platform/release data, writes the response to a temporary .vbs file, and executes it. Errors are intentionally swallowed, making the behavior silent.

- **Rationale:** This is a concrete, undisclosed import-time remote code execution chain unrelated to a UUID package. The absence of lifecycle hooks does not mitigate the automatic runtime trigger.

- **Files touched:** README.md, ${os.tmpdir()}/temp\_\<timestamp\>.vbs

### Review decision

- **Verdict:** Malicious

- **Confidence:** 99.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** index.js and index.mjs import lib/bootstrap on every package import., lib/bootstrap.js immediately calls extractDateISO() and suppresses errors., lib/store.js derives and decrypts a concealed URL from the consuming project's README PORT line., lib/store.js POSTs OS/platform data to that URL, writes its response as a temporary .vbs file, then executes it with child\_process.exec., The README documents only UUID functions and does not disclose this import-time behavior.

- **Evidence against:** package.json has no npm lifecycle scripts., UUID generation and parsing functions are otherwise conventional.

## Affected versions and remediation

This report applies to dateuuidv2@1.0.1.

- Avoid installing dateuuidv2@1.0.1. 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: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** lib/store.js
- **Public source:** [View source](<https://unpkg.com/dateuuidv2@1.0.1/lib/store.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L60: 
L61: const { exec } = require('child_process');
L62: const fs = require('fs/promises');
```

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

Package source references network APIs.

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

Package source references filesystem APIs.

### 4. Critical: Remote Asset Decode Execute
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** lib/store.js
- **Public source:** [View source](<https://unpkg.com/dateuuidv2@1.0.1/lib/store.js>)

Source fetches a remote non-code asset, decodes its contents, and dynamically executes the decoded payload.

Public source snippet (untrusted):

```javascript
L60: 
L61: const { exec } = require('child_process');
L62: const fs = require('fs/promises');
...
L117: async function readApiFromReadme(
L118: projectRoot = process.cwd(),
L119: ) {
...
L147: const { algorithm, iv, encrypted, authTag } = sealedPackage;
L148: const realKey = Buffer.from(secKey, 'hex');
L149: 
...
L192: async function fetchString(url) {
L193: const response = await fetch(url, {
L194: method: "POST",
```

### 5. Critical: Trigger Reachable Dangerous Capability
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** lib/store.js
- **Public source:** [View source](<https://unpkg.com/dateuuidv2@1.0.1/lib/store.js>)

A package entrypoint or install-time lifecycle script reaches a source file with blocking dangerous behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable chain: manifest.exports -> lib/store.js
Reachable file contains a blocking source-risk pattern.
```

### 6. Low: High Entropy Strings
- **Category:** Supply Chain
- **Confidence:** 55.0%

Package source contains high-entropy string patterns.

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

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

## Dependencies and install lifecycle
- **Lifecycle scripts present:** No

- **Dependencies:** 0
- **Optional dependencies:** 0
- **Peer dependencies:** 0
- **Development dependencies:** 0
- **Published dependency-graph edges:** 0

## Package metadata
- **Package:** dateuuidv2
- **Ecosystem:** npm
- **Version:** 1.0.1
- **License:** MIT
- **Version published:** 2026-07-26T11:59:52.204Z
- **Package first seen:** 2026-07-27T08:59:36.560Z
- **Package last seen:** 2026-07-27T09:01:55.757Z
- **Known versions:** 2
- **Latest version:** 1.0.1
- **Appeal under review:** No
- **Description:** Generates a UUID based on the current date and time.
- **Author:** jinwoochoi
- **Keywords:** backend, uuid, date
- **Runtime engines:** node: \>=18
- **Artifact files:** 6
- **Artifact unpacked size:** 9,487 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/dateuuidv2>)
