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

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

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

Importing the package triggers a hidden remote payload chain. It reads the host project's README.md, derives and decrypts a URL, sends platform data, writes the server response to a temporary file, and executes it.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Verdict:** Malicious
- **Confidence:** 99.0%
- **Started:** 2026-07-27T08:59:15.557Z
- **Finished:** 2026-07-27T08:59:36.560Z
- **Download time:** 251 ms
- **Static scan time:** 43 ms
- **AI review time:** 20708 ms
- **Total time:** 21003 ms

## Security analysis

### Published attack-surface review

- **Summary:** Importing the package triggers a hidden remote payload chain. It reads the host project's README.md, derives and decrypts a URL, sends platform data, writes the server response to a temporary file, and executes it.

- **Trigger:** Import or require of dateuuidv2.

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

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

- **Review source:** ai\_review

- **Reviewed:** 2026-07-27T08:59:36.560Z

### AI review details

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

- **Mechanism:** Import-time encrypted URL resolution, remote payload download, temp-file write, and shell execution.

- **Attack narrative:** Both public entry points load lib/bootstrap.js, which invokes extractDateISO during import. That routine reads a README from the current project, uses its PORT value to construct and AES-decrypt a URL, then POSTs operating-system details to it. The response is saved under a temporary .vbs path and executed through child\_process.exec; deletion is attempted afterward. The package README advertises only UUID utilities, concealing this import-time downloader.

- **Rationale:** Source directly establishes an automatic import-time remote payload download and execution chain. This is concrete malicious behavior, independent of scanner labels.

- **Files touched:** index.js, index.mjs, lib/bootstrap.js, lib/store.js, README.md, \<projectRoot\>/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:** index.js and index.mjs import lib/bootstrap.js at package import time., lib/bootstrap.js calls extractDateISO() automatically and suppresses failures., lib/store.js decrypts a URL derived from the consuming project's README.md., lib/store.js POSTs OS details, writes the response to a temp file, then executes it with child\_process.exec., The documented UUID API does not disclose this downloader/executor behavior.

- **Evidence against:** package.json has no lifecycle scripts., UUID generation/parsing functions themselves are local and benign.

## 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.0/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.0/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.0/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.0
- **License:** MIT
- **Version published:** 2026-07-26T10:15:52.359Z
- **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,300 bytes
- **Artifact signatures:** 1
- **Attestations:** No

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