---
canonical: "https://firewall.lpm.dev/npm/@javascribe/pindoupic"
markdown: "https://firewall.lpm.dev/npm/@javascribe/pindoupic/v/0.7.0.md"
package: "@javascribe/pindoupic"
report_status: "published"
title: "@javascribe/pindoupic@0.7.0 npm security report"
verdict: "suspicious"
version: "0.7.0"
---

# @javascribe/pindoupic@0.7.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
**Flagged as AI-agent capability risk** — Allowed by default with warning: agent-facing configuration or capability changes need review before use.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Warn-only AI-agent capability risk
- **Public report status:** Published
- **Threat category:** AI-agent capability abuse
- **Selected version:** 0.7.0
- **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.

Review flagged AI-agent configuration or capability changes. This remains warn-only unless evidence shows foreign-agent hijack through preinstall/install/postinstall, hidden persistence, exfiltration, remote code execution, or other concrete malicious behavior.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 92.0%
- **Started:** 2026-10-02T23:08:00.353Z
- **Finished:** 2026-10-02T23:09:12.574Z
- **Download time:** 1294 ms
- **Static scan time:** 4102 ms
- **AI review time:** 66823 ms
- **Total time:** 72221 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:** Explicit CLI setup modifies AI-agent server configurations and installs a shared skill. This warrants a capability warning, but no confirmed malicious attack was established.

- **Trigger:** The user runs pindoupic install.

- **Impact:** Changes agent capabilities and enables subsequent execution of the package's latest release through npx.

- **Evidence paths:** dist/cli.js

- **Review source:** ai\_review

- **Reviewed:** 2026-10-02T23:09:12.574Z

### AI review details

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

- **Mechanism:** Setup merges its server entry into selected host configurations and copies or links its skill into agent skill directories.

- **Rationale:** The source supports a warning for explicit-user-command agent configuration mutation under the supplied policy. The scanner's execution signals do not establish malware: they trace to setup operations and image conversion.

- **Files touched:** ~/.cursor/mcp.json, ~/.cursor/skills, ~/.agents/skills

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 92.0%

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

- **Intent class:** Dangerous Capability

- **False-positive risk:** Medium

- **Evidence for warning:** package.json has no registry-install lifecycle hooks or runtime self-dependency., dist/mcp.js invokes sips to convert generated images to PDF., dist/cli.js activates agent setup through the explicit install command., Setup writes this package's server entry into agent configuration files., Setup installs its skill into shared and host-specific skill directories., The configured server uses npx to resolve this package's latest release.

- **Evidence against:** Configuration changes are user-command activated, preserve other server entries, and support backups and undo., Inspected network behavior serves configuration, feedback, image retrieval, and usage telemetry; no credential theft or remote payload execution was established.

## Affected versions and remediation

This report applies to @javascribe/pindoupic@0.7.0.

- Review the evidence and your use of @javascribe/pindoupic@0.7.0 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. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. High: Child Process
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/mcp.js
- **Public source:** [View source](<https://unpkg.com/@javascribe/pindoupic@0.7.0/dist/mcp.js>)

Package source references child process execution.

Public source snippet (untrusted):

```javascript
L23091: if (format === "pdf") {
L23092: const { execFileSync } = await import("node:child_process");
L23093: const { mkdtempSync, writeFileSync: writeFileSync5, readFileSync: readFileSync6, rmSync: rmSync3 } = await import("node:fs");
```

### 3. High: Shell
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@javascribe/pindoupic@0.7.0/dist/cli.js>)

Package source references shell execution.

Public source snippet (untrusted):

```javascript
L25058: function runCli(cmdline) {
L25059: const r = spawnSync(cmdline, { encoding: "utf8", shell: true });
L25060: return { code: r.status === null ? 127 : r.status, out: `${r.stdout || ""}${r.stderr || ""}`.trim() };
```

### 4. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@javascribe/pindoupic@0.7.0/dist/cli.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L69: const pixels = this._canvas._pixels;
L70: if (!pixels) return { data: new Uint8ClampedArray(w * h * 4), width: w, height: h };
L71: const cw = this._canvas.width, ch = this._canvas.height;
...
L6784: // src/core/algoEntry.ts
L6785: function viaStderr(fn) {
L6786: return function(...args) {
L6787: const orig = console.log;
L6788: const quiet = process.env.PINDOUPIC_QUIET === "1" || process.env.PINDOUPIC_QUIET === "true" || globalThis.__pdQuiet === true;
L6789: console.log = quiet ? () => {
...
L21937: try {
L21938: raw = JSON.parse(readFileSync(file, "utf8"));
L21939: } catch (e) {
```

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

Package source references network APIs.

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

Package source references environment variables.

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

Package source references filesystem APIs.

### 8. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/mcp.js
- **Public source:** [View source](<https://unpkg.com/@javascribe/pindoupic@0.7.0/dist/mcp.js>)

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

Public source snippet (untrusted):

```javascript
L69: const pixels = this._canvas._pixels;
L70: if (!pixels) return { data: new Uint8ClampedArray(w * h * 4), width: w, height: h };
L71: const cw = this._canvas.width, ch = this._canvas.height;
...
L6784: // src/core/algoEntry.ts
L6785: function viaStderr(fn) {
L6786: return function(...args) {
L6787: const orig = console.log;
L6788: const quiet = process.env.PINDOUPIC_QUIET === "1" || process.env.PINDOUPIC_QUIET === "true" || globalThis.__pdQuiet === true;
L6789: console.log = quiet ? () => {
...
L21937: try {
L21938: raw = JSON.parse(readFileSync(file, "utf8"));
L21939: } catch (e) {
```

### 9. High: Sandbox Evasion Gated Capability
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@javascribe/pindoupic@0.7.0/dist/cli.js>)

Source gates dangerous network, credential, or execution behavior behind CI, host, platform, time, or geo fingerprint checks.

Public source snippet (untrusted):

```javascript
L69: const pixels = this._canvas._pixels;
L70: if (!pixels) return { data: new Uint8ClampedArray(w * h * 4), width: w, height: h };
L71: const cw = this._canvas.width, ch = this._canvas.height;
...
L6784: // src/core/algoEntry.ts
L6785: function viaStderr(fn) {
L6786: return function(...args) {
L6787: const orig = console.log;
L6788: const quiet = process.env.PINDOUPIC_QUIET === "1" || process.env.PINDOUPIC_QUIET === "true" || globalThis.__pdQuiet === true;
L6789: console.log = quiet ? () => {
...
L21937: try {
L21938: raw = JSON.parse(readFileSync(file, "utf8"));
L21939: } catch (e) {
```

### 10. High: Cross File Remote Execution Context
- **Category:** Source
- **Confidence:** 72.0%
- **Path:** dist/cli.js
- **Public source:** [View source](<https://unpkg.com/@javascribe/pindoupic@0.7.0/dist/cli.js>)

Source spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.

Public source snippet (untrusted):

```javascript
Cross-file remote execution chain: dist/cli.js spawns dist/mcp.js; helper contains network access plus dynamic code execution.
L69: const pixels = this._canvas._pixels;
L70: if (!pixels) return { data: new Uint8ClampedArray(w * h * 4), width: w, height: h };
L71: const cw = this._canvas.width, ch = this._canvas.height;
...
L6784: // src/core/algoEntry.ts
L6785: function viaStderr(fn) {
L6786: return function(...args) {
L6787: const orig = console.log;
L6788: const quiet = process.env.PINDOUPIC_QUIET === "1" || process.env.PINDOUPIC_QUIET === "true" || globalThis.__pdQuiet === true;
L6789: console.log = quiet ? () => {
...
L21937: try {
L21938: raw = JSON.parse(readFileSync(file, "utf8"));
L21939: } catch (e) {
```

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

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

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

### 14. Low: Copyleft License
- **Category:** Manifest
- **Confidence:** 80.0%

Package manifest declares a copyleft-style license.

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

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

### Published dependency entries
- @modelcontextprotocol/sdk ^1.27.1 (Dependency)
- sharp ^0.35.2 (Dependency)

## Package metadata
- **Package:** @javascribe/pindoupic
- **Ecosystem:** npm
- **Version:** 0.7.0
- **License:** AGPL-3.0-only
- **Version published:** 2026-09-30T23:09:34.868Z
- **Package first seen:** 2026-09-22T02:00:21.309Z
- **Package last seen:** 2026-10-03T11:48:02.768Z
- **Known versions:** 8
- **Latest version:** 0.8.0
- **Appeal under review:** No
- **Description:** pindoupic 拼豆图纸生成器 — 图片转拼豆图纸的 CLI + MCP Server。算法与色板都在包内，断网也能出图，图片不上传 / Image → bead pattern chart, CLI + MCP, works fully offline
- **Maintainers:** javascribe
- **Keywords:** 拼豆图纸, 拼豆图案, 图片转拼豆, 图片转拼豆图纸, 拼豆图纸生成器, 拼豆图纸转换器, 拼豆图纸制作工具, 拼豆图纸免费生成器, 拼豆图纸免费制作工具, 拼豆图案生成, 拼豆图纸生成, 文字转拼豆图纸
- **Runtime engines:** node: \>=20
- **Artifact files:** 12
- **Artifact unpacked size:** 1,641,630 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@javascribe/pindoupic/v/0.7.0>)
- [Homepage](<https://www.pindoupic.com/agent-tools?ref=npm>)
- [Issues](<https://www.pindoupic.com/jiaoliu?from=npm>)
