---
canonical: "https://firewall.lpm.dev/npm/@picoxr/pico-auth-cli-cn/v/0.1.21"
markdown: "https://firewall.lpm.dev/npm/@picoxr/pico-auth-cli-cn/v/0.1.21.md"
package: "@picoxr/pico-auth-cli-cn"
report_status: "published"
title: "@picoxr/pico-auth-cli-cn@0.1.21 npm security report"
verdict: "suspicious"
version: "0.1.21"
---

# @picoxr/pico-auth-cli-cn@0.1.21 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
**Flagged — allowed with a warning** — Allowed by default policy, but 12 findings warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Telemetry warning (can be blocked)
- **Public report status:** Published
- **Threat category:** Telemetry
- **Selected version:** 0.1.21
- **Selected version is latest:** No
- **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: suspicious; recommendation: downgrade to warn. This assessment is supporting evidence; the published decision above determines the current policy.

The package documents an automatic authenticated device report to its own account service, including the hostname and other identifying device details, with no way to turn reporting off. This is disclosed product behavior rather than credential theft, but the identifying runtime telemetry warrants a warning.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 87.0%
- **Started:** 2026-11-07T18:28:47.903Z
- **Finished:** 2026-11-07T18:29:53.692Z
- **Download time:** 512 ms
- **Static scan time:** 216 ms
- **AI review time:** 65061 ms
- **Total time:** 65789 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:** Automatic device telemetry sends identifying host details to a PICO account service.

- **Trigger:** After sign-in and after a refresh changes the access token.

- **Impact:** PICO's service receives identifying device information linked to the authenticated account.

- **Evidence paths:** README.md, dist/src/index.js

- **Review source:** ai\_review

- **Reviewed:** 2026-11-07T18:29:53.692Z

### AI review details

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

- **Mechanism:** Collects hostname, OS details, architecture, CLI version, and region, then sends them in an authenticated device report. The report has no disable option.

- **Rationale:** The package documents an automatic authenticated device report to its own account service, including the hostname and other identifying device details, with no way to turn reporting off. This is disclosed product behavior rather than credential theft, but the identifying runtime telemetry warrants a warning.

- **Files touched:** dist/src/index.js, dist/src/cli/main.js

- **Network endpoints:** https://matrix-cn.picovr.com, https://user.picoxr.com

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 87.0%

- **Recommended action:** downgrade\_to\_warn

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** The README says an authenticated device report runs after sign-in and when a refresh changes the access token; `status` does not trigger it, and there is no option to disable it., The report includes the device hostname, operating system and version, CPU architecture, CLI version, and region., The source gathers those fields from the host and sends them through the device-report function; it adds the access token to the report authorization header., The default service endpoints are `https://matrix-cn.picovr.com` and `https://user.picoxr.com`.

- **Evidence against:** The package describes itself as a PICO authentication CLI, and the report is part of its device-authorization flow., The report is disclosed in the README, targets a PICO account service, and is best-effort; reporting failure does not fail sign-in or refresh., The manifest has no lifecycle scripts, and the CLI only starts when invoked directly.

## Affected versions and remediation

This report applies to @picoxr/pico-auth-cli-cn@0.1.21.

- Review the evidence and your use of @picoxr/pico-auth-cli-cn@0.1.21 before allowing it. Restrict the permissions described in this report.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.

## Public findings

### 1. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/src/index.js
- **Public source:** [View source](<https://unpkg.com/@picoxr/pico-auth-cli-cn@0.1.21/dist/src/index.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L11: 
L12: import {createHash,randomUUID,randomBytes,generateKeyPairSync,sign}from'crypto';import {mkdir,writeFile,rm,stat,readFile,open,rename}from'fs/promises';import {join,dirname}from'pat...
L13: var a=class extends Error{kind;errorCode;description;descUrl;cause;constructor(e){super(e.description||e.kind.toLowerCase()),this.name="ProtocolError",this.kind=e.kind,this.errorCo...
```

### 2. Medium: Dynamic Require
- **Category:** Source
- **Confidence:** 75.0%
- **Path:** dist/src/index.js
- **Public source:** [View source](<https://unpkg.com/@picoxr/pico-auth-cli-cn@0.1.21/dist/src/index.js>)

Package source references dynamic require/import behavior.

Public source snippet (untrusted):

```javascript
L17: -----END ${e}-----
L18: `}var z=class extends Error{code;cause;constructor(e,t,n){super(n instanceof Error?`${t}: ${n.message}`:t),this.name="StoreError",this.code=e,this.cause=n;}};function f(r,e,t){retu...
L19: $ErrorActionPreference = 'Stop'
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 6. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/src/index.js
- **Public source:** [View source](<https://unpkg.com/@picoxr/pico-auth-cli-cn@0.1.21/dist/src/index.js>)

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

Public source snippet (untrusted):

```javascript
L11: 
L12: import {createHash,randomUUID,randomBytes,generateKeyPairSync,sign}from'crypto';import {mkdir,writeFile,rm,stat,readFile,open,rename}from'fs/promises';import {join,dirname}from'pat...
L13: var a=class extends Error{kind;errorCode;description;descUrl;cause;constructor(e){super(e.description||e.kind.toLowerCase()),this.name="ProtocolError",this.kind=e.kind,this.errorCo...
L14: `),d=Kr(t.PrivateKeyBase64,"PRIVATE KEY"),u=sign("sha256",Buffer.from(c),{key:d,dsaEncoding:"der"});return {pubKey:t.PublicKeyBase64,signature:u.toString("base64"),timestamp:n,nonc...
...
L17: -----END ${e}-----
L18: `}var z=class extends Error{code;cause;constructor(e,t,n){super(n instanceof Error?`${t}: ${n.message}`:t),this.name="StoreError",this.code=e,this.cause=n;}};function f(r,e,t){retu...
L19: $Erro
```

### 7. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/src/index.js
- **Public source:** [View source](<https://unpkg.com/@picoxr/pico-auth-cli-cn@0.1.21/dist/src/index.js>)

Source combines command execution, command-output handling, and outbound requests; review data flow before blocking.

Public source snippet (untrusted):

```javascript
L11: 
L12: import {createHash,randomUUID,randomBytes,generateKeyPairSync,sign}from'crypto';import {mkdir,writeFile,rm,stat,readFile,open,rename}from'fs/promises';import {join,dirname}from'pat...
L13: var a=class extends Error{kind;errorCode;description;descUrl;cause;constructor(e){super(e.description||e.kind.toLowerCase()),this.name="ProtocolError",this.kind=e.kind,this.errorCo...
L14: `),d=Kr(t.PrivateKeyBase64,"PRIVATE KEY"),u=sign("sha256",Buffer.from(c),{key:d,dsaEncoding:"der"});return {pubKey:t.PublicKeyBase64,signature:u.toString("base64"),timestamp:n,nonc...
...
L17: -----END ${e}-----
L18: `}var z=class extends Error{code;cause;constructor(e,t,n){super(n instanceof Error?`${t}: ${n.message}`:t),this.name="StoreError",this.code=e,this.cause=n;}};function f(r,e,t){retu...
L19: $Erro
```

### 8. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/src/index.js
- **Public source:** [View source](<https://unpkg.com/@picoxr/pico-auth-cli-cn@0.1.21/dist/src/index.js>)

A manifest entrypoint or package-local install chain reaches command-output exfiltration behavior.

Public source snippet (untrusted):

```javascript
Trigger-reachable command-output exfiltration chain: manifest.main -> dist/src/index.js
L11: 
L12: import {createHash,randomUUID,randomBytes,generateKeyPairSync,sign}from'crypto';import {mkdir,writeFile,rm,stat,readFile,open,rename}from'fs/promises';import {join,dirname}from'pat...
L13: var a=class extends Error{kind;errorCode;description;descUrl;cause;constructor(e){super(e.description||e.kind.toLowerCase()),this.name="ProtocolError",this.kind=e.kind,this.errorCo...
L14: `),d=Kr(t.PrivateKeyBase64,"PRIVATE KEY"),u=sign("sha256",Buffer.from(c),{key:d,dsaEncoding:"der"});return {pubKey:t.PublicKeyBase64,signature:u.toString("base64"),timestamp:n,nonc...
...
L17: -----END ${e}-----
L18: `}var z=class extends Error{code;cause;constructor(e,t,n){super(n instanceof Error?`${t}: ${n.message}`:t)
```

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

Package source contains high-entropy string patterns.

### 10. Low: Url Strings
- **Category:** Supply Chain
- **Confidence:** 65.0%

Package source contains URL literals.

### 11. 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.

### 12. Low: No License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest does not declare a clear license.

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

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

### Published dependency entries
- keytar 7.9.0 (Dependency)

## Package metadata
- **Package:** @picoxr/pico-auth-cli-cn
- **Ecosystem:** npm
- **Version:** 0.1.21
- **Version published:** 2026-11-07T18:25:58.460Z
- **Package first seen:** 2026-10-28T11:53:57.481Z
- **Package last seen:** 2026-11-18T16:21:34.209Z
- **Known versions:** 5
- **Latest version:** 0.1.25
- **Appeal under review:** No
- **Description:** PICO authentication command-line interface.
- **Maintainers:** dexteryy, mtxzion, bytednpm, hongfukang, chenzhiyong0724
- **Runtime engines:** node: \>=18
- **Artifact files:** 8
- **Artifact unpacked size:** 97,986 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@picoxr/pico-auth-cli-cn/v/0.1.21>)
