---
canonical: "https://firewall.lpm.dev/npm/sloth-d2c-figma-plugin"
markdown: "https://firewall.lpm.dev/npm/sloth-d2c-figma-plugin/v/2.0.4-beta.20.md"
package: "sloth-d2c-figma-plugin"
report_status: "published"
title: "sloth-d2c-figma-plugin@2.0.4-beta.20 npm security report"
verdict: "suspicious"
version: "2.0.4-beta.20"
---

# sloth-d2c-figma-plugin@2.0.4-beta.20 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 14 finding(s) warrant review before installing.

- **Verdict:** Suspicious
- **Product-default install policy:** Warn
- **Firewall policy:** Matched warn-list
- **Public report status:** Published
- **Threat category:** Staged Payload Carrier
- **Selected version:** 2.0.4-beta.20
- **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.

Requiring the package loads a heavily obfuscated CommonJS artifact. Its behavior cannot be reliably audited from the published source form, although no automatic install-time trigger exists.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Suspicious
- **Recorded analysis confidence:** 84.0%
- **Started:** 2026-09-13T15:28:19.581Z
- **Finished:** 2026-09-13T15:29:41.523Z
- **Download time:** 770 ms
- **Static scan time:** 9140 ms
- **AI review time:** 72032 ms
- **Total time:** 81942 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:** Requiring the package loads a heavily obfuscated CommonJS artifact. Its behavior cannot be reliably audited from the published source form, although no automatic install-time trigger exists.

- **Trigger:** A consumer loads the package through CommonJS require.

- **Impact:** An importing application could execute behavior hidden by the obfuscated artifact.

- **Evidence paths:** package.json, dist/core.cjs.js

- **Review source:** ai\_review

- **Reviewed:** 2026-09-13T15:29:41.523Z

### AI review details

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

- **Mechanism:** Opaque Node bundle with embedded runtime and network-related code.

- **Rationale:** No install hook or self-dependency creates an automatic supply-chain attack path. However, the default Node entrypoint is deliberately opaque and too concealed to establish a clean verdict.

### Review decision

- **Verdict:** Suspicious

- **Confidence:** 84.0%

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

- **Intent class:** Unknown

- **False-positive risk:** Medium

- **Evidence for warning:** The default CommonJS import path selects an opaque 7.8 MB one-line bundle., The manifest includes Node obfuscation tooling and an explicit armor command., The opaque CommonJS bundle contains Node and network-related strings, preventing reliable verification of its import-time behavior.

- **Evidence against:** package.json has no preinstall, install, or postinstall hook., No self-dependency is declared., The readable ESM/browser bundles implement Figma-to-code features and configured AI-provider endpoints; no confirmed credential theft or command-output exfiltration was established.

## Affected versions and remediation

This report applies to sloth-d2c-figma-plugin@2.0.4-beta.20.

- Review the evidence and your use of sloth-d2c-figma-plugin@2.0.4-beta.20 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. Low: Eval
- **Category:** Source
- **Confidence:** 45.0%
- **Path:** dist/core.esm.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.esm.js>)

Package source references a known benign dynamic code generation pattern.

Public source snippet (untrusted):

```javascript
L1: /*! For license information please see core.esm.js.LICENSE.txt */
L2: var e={9555:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.applyMatrixToPoint=function(e,t){return[t[0]*e[0][0]+t[1]*e[0][1]+e[0][2],t[0]*e[1][0]+t[1]*e[1][1]+e[1][2]]}...
```

### 3. High: Same File Env Network Execution
- **Category:** Source
- **Confidence:** 85.0%
- **Path:** dist/core.cjs.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.cjs.js>)

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

Public source snippet (untrusted):

```javascript
L1: function a0_0x1775(_0x7e922,_0x285d0b){const _0x54acd9=a0_0x54ac();return a0_0x1775=function(_0x17753c,_0x4979a4){_0x17753c=_0x17753c-0xaa;let _0x1bb47d=_0x54acd9[_0x17753c];return...
```

### 4. High: Command Output Exfiltration
- **Category:** Source
- **Confidence:** 82.0%
- **Path:** dist/core.cjs.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.cjs.js>)

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

Public source snippet (untrusted):

```javascript
L1: function a0_0x1775(_0x7e922,_0x285d0b){const _0x54acd9=a0_0x54ac();return a0_0x1775=function(_0x17753c,_0x4979a4){_0x17753c=_0x17753c-0xaa;let _0x1bb47d=_0x54acd9[_0x17753c];return...
```

### 5. High: Obfuscated Payload Loader
- **Category:** Source
- **Confidence:** 86.0%
- **Path:** dist/core.cjs.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.cjs.js>)

Source contains an obfuscated payload loader that reconstructs and executes hidden code.

Public source snippet (untrusted):

```javascript
L1: function a0_0x1775(_0x7e922,_0x285d0b){const _0x54acd9=a0_0x54ac();return a0_0x1775=function(_0x17753c,_0x4979a4){_0x17753c=_0x17753c-0xaa;let _0x1bb47d=_0x54acd9[_0x17753c];return...
```

### 6. High: Trigger Reachable Command Output Exfiltration
- **Category:** Source
- **Confidence:** 94.0%
- **Path:** dist/core.cjs.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.cjs.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/core.cjs.js
L1: function a0_0x1775(_0x7e922,_0x285d0b){const _0x54acd9=a0_0x54ac();return a0_0x1775=function(_0x17753c,_0x4979a4){_0x17753c=_0x17753c-0xaa;let _0x1bb47d=_0x54acd9[_0x17753c];return...
```

### 7. High: Obfuscated
- **Category:** Supply Chain
- **Confidence:** 100.0%

Package source appears deliberately obfuscated.

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

Package source contains high-entropy string patterns.

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

Package source contains URL literals.

### 10. Medium: Oversized Source File
- **Category:** Artifact Inventory
- **Confidence:** 70.0%
- **Path:** dist/core.cjs.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.cjs.js>)

Package contains source files above the normal full-analysis size ceiling.

Public source snippet (untrusted):

```javascript
path = dist/core.cjs.js
kind = oversized_source_file
sizeBytes = 7814207
magicHex = [redacted]
```

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

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

Package manifest does not declare a clear license.

### 13. High: Semantic Analysis Limited
- **Category:** Scanner Coverage
- **Confidence:** 100.0%
- **Path:** dist/core.cjs.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.cjs.js>)

A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.

Public source snippet (untrusted):

```javascript
stage = ast_semantic_analysis; reason = ast_path_work_budget_exceeded; limitedFiles = 1
```

### 14. Critical: Previous Version Dangerous Delta
- **Category:** Supply Chain
- **Confidence:** 93.0%
- **Path:** dist/core.cjs.js
- **Public source:** [View source](<https://unpkg.com/sloth-d2c-figma-plugin@2.0.4-beta.20/dist/core.cjs.js>)

This package version adds a dangerous source file absent from the previous stored version; route for source-aware review.

Public source snippet (untrusted):

```javascript
matchType = previous_version_dangerous_delta
matchedPackage = sloth-d2c-figma-plugin@2.0.4-beta.16
matchedIdentity = npm:c2xvdGgtZDJjLWZpZ21hLXBsdWdpbg:2.0.4-beta.16
similarity = 0.667
summary = stored previous version shares package body but lacks this dangerous source file
```

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

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

### Published dependency entries
- @hot-loader/react-dom ~17.0.1 (Dependency)
- antd ~5.21.1 (Dependency)
- axios ~0.21.4 (Dependency)
- canvas ~3.1.2 (Dependency)
- eventemitter3 ~4.0.7 (Dependency)
- flatted ~3.3.3 (Dependency)
- javascript-obfuscator ~4.1.1 (Dependency)
- jsdom ~26.1.0 (Dependency)
- react ^17.0.2 (Dependency)
- react-dom ^17.0.2 (Dependency)
- react-hot-loader ~4.13.0 (Dependency)
- react-inspector ~6.0.2 (Dependency)
- uuid ~8.3.2 (Dependency)
- webpack-obfuscator ~3.5.1 (Dependency)

## Package metadata
- **Package:** sloth-d2c-figma-plugin
- **Ecosystem:** npm
- **Version:** 2.0.4-beta.20
- **Version published:** 2026-09-03T04:07:15.187Z
- **Package first seen:** 2026-07-02T13:03:40.369Z
- **Package last seen:** 2026-10-01T08:57:04.591Z
- **Known versions:** 10
- **Latest version:** 2.0.4-beta.22
- **Appeal under review:** No
- **Description:** A Figma plugin for D2C
- **Maintainers:** northquq, quanlili, maxmxfang, zha0yuanli
- **Artifact files:** 8
- **Artifact unpacked size:** 10,449,136 bytes
- **Artifact signatures:** 1
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/sloth-d2c-figma-plugin/v/2.0.4-beta.20>)
