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

# @dimcool/dimclaw@0.1.36 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** — A tool request can cause an unprompted wallet payment; the configured per-challenge limit does not require separate user confirmation.

- **Verdict:** Malicious
- **Product-default install policy:** Block
- **Firewall policy:** Matched malicious
- **Public report status:** Published
- **Threat category:** Malware
- **Selected version:** 0.1.36
- **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.

The bundle enables wallet auto-payment by default in keypair mode and automatically signs and submits a transaction when an API call receives a payment challenge. Although limited per challenge and tied to the DIM API, this can spend funds without a separate user request or confirmation.

## Latest scan
- **Scanner version:** rust-scanner-worker-schema-1
- **Recorded final verdict:** Malicious
- **Recorded analysis confidence:** 88.0%
- **Started:** 2026-11-15T17:38:59.583Z
- **Finished:** 2026-11-15T17:40:06.268Z
- **Download time:** 520 ms
- **Static scan time:** 3240 ms
- **AI review time:** 62924 ms
- **Total time:** 66685 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:** The plugin automatically spends from a configured wallet to satisfy payment challenges.

- **Trigger:** A DIM API request receives HTTP 402 while the plugin is using keypair mode.

- **Impact:** A tool request can cause an unprompted wallet payment; the configured per-challenge limit does not require separate user confirmation.

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

- **Review source:** ai\_review

- **Reviewed:** 2026-11-15T17:40:06.268Z

### AI review details

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

- **Mechanism:** The client fetches a payment transaction from the API, signs it with the configured wallet, and submits it automatically.

- **Attack narrative:** When configured with a wallet key, the client enables automatic payment handling. If a non-payment API request receives HTTP 402, it can fetch a payment transaction from the DIM API, sign it with the wallet, and submit it without a separate payment confirmation. The per-challenge limit and single retry constrain the behavior but do not make the payment explicitly requested.

- **Rationale:** The bundle enables wallet auto-payment by default in keypair mode and automatically signs and submits a transaction when an API call receives a payment challenge. Although limited per challenge and tied to the DIM API, this can spend funds without a separate user request or confirmation.

- **Network endpoints:** https://api.dim.cool, /payments/prepare, /payments/submit

### Review decision

- **Verdict:** Malicious

- **Confidence:** 88.0%

- **Recommended action:** publish\_block

- **Intent class:** Malware

- **False-positive risk:** Low

- **Evidence for block:** In keypair mode, the DIM client enables automatic payments with a maximum amount and retry count., A non-payment API request receiving HTTP 402 triggers automatic payment handling when enabled., The handler prepares a payment using the DIM API and signs the returned transaction with the configured wallet signer., The signed transaction is submitted to the DIM API without a separate payment confirmation step.

- **Evidence against:** Payment handling is limited to API responses with status 402, excludes /payments/ endpoints, and allows one retry., The client limits each automatic payment challenge by maxAmountMinor., The package is explicitly a DIM trading plugin that accepts a wallet key and exposes financial tools.

## Affected versions and remediation

This report applies to @dimcool/dimclaw@0.1.36.

- Avoid installing @dimcool/dimclaw@0.1.36. 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. Low: Scripts Present
- **Category:** Manifest
- **Confidence:** 100.0%

Package declares npm scripts.

### 2. Low: Weak Crypto
- **Category:** Source
- **Confidence:** 64.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@dimcool/dimclaw@0.1.36/dist/index.js>)

Package source references weak cryptographic algorithms.

Public source snippet (untrusted):

```javascript
L199: function parseHex4Bits(string2, index) {
L200: var c = string2.charCodeAt(index);
L201: if (c >= 48 && c <= 57) {
...
L5150: const srcBuffer = uint8ArrayToBuffer(src);
L5151: uint8ArrayToBuffer(b).write(srcBuffer.toString("hex"), offset2, span, "hex");
L5152: if (this.length instanceof ExternalLayout) {
...
L7285: }
L7286: get hostname() {
L7287: if (this._url.host === null) {
...
L7529: },
L7530: create(constructorArgs, privateData) {
L7531: let obj = Object.create(URL4.prototype);
```

### 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. Critical: Wallet Drain
- **Category:** Source
- **Confidence:** 90.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@dimcool/dimclaw@0.1.36/dist/index.js>)

Source uses private key material to transfer cryptocurrency funds.

Public source snippet (untrusted):

```javascript
L199: function parseHex4Bits(string2, index) {
L200: var c = string2.charCodeAt(index);
L201: if (c >= 48 && c <= 57) {
...
L5150: const srcBuffer = uint8ArrayToBuffer(src);
L5151: uint8ArrayToBuffer(b).write(srcBuffer.toString("hex"), offset2, span, "hex");
L5152: if (this.length instanceof ExternalLayout) {
...
L7285: }
L7286: get hostname() {
L7287: if (this._url.host === null) {
...
L7529: },
L7530: create(constructorArgs, privateData) {
L7531: let obj = Object.create(URL4.prototype);
```

### 7. High: Cloud Metadata Access
- **Category:** Source
- **Confidence:** 84.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@dimcool/dimclaw@0.1.36/dist/index.js>)

Source reaches cloud instance metadata or link-local credential endpoints.

Public source snippet (untrusted):

```javascript
L199: function parseHex4Bits(string2, index) {
L200: var c = string2.charCodeAt(index);
L201: if (c >= 48 && c <= 57) {
...
L5150: const srcBuffer = uint8ArrayToBuffer(src);
L5151: uint8ArrayToBuffer(b).write(srcBuffer.toString("hex"), offset2, span, "hex");
L5152: if (this.length instanceof ExternalLayout) {
...
L7285: }
L7286: get hostname() {
L7287: if (this._url.host === null) {
...
L7529: },
L7530: create(constructorArgs, privateData) {
L7531: let obj = Object.create(URL4.prototype);
```

### 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: Structural Risk Force Deep Review
- **Category:** Artifact Inventory
- **Confidence:** 75.0%

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

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

Package manifest does not declare a clear license.

### 12. High: Ai Review Evidence
- **Category:** Ai Review
- **Confidence:** 88.0%
- **Path:** dist/index.js
- **Public source:** [View source](<https://unpkg.com/@dimcool/dimclaw@0.1.36/dist/index.js>)

In keypair mode, the DIM client enables automatic payments with a maximum amount and retry count.

Public source snippet (untrusted):

```javascript
dim-agents",
      baseUrl: config.apiUrl || "https://api.dim.cool",
      storage,
      autoPay: {
        enabled: !this.externalSignerMode,
        maxAmountMinor: 25e3,
        maxRetries: 1
      }
    })
```

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

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

## Package metadata
- **Package:** @dimcool/dimclaw
- **Ecosystem:** npm
- **Version:** 0.1.36
- **Version published:** 2026-11-15T17:35:54.425Z
- **Package first seen:** 2026-11-15T17:40:06.268Z
- **Package last seen:** 2026-11-15T17:40:06.268Z
- **Known versions:** 1
- **Latest version:** 0.1.36
- **Appeal under review:** No
- **Description:** OpenClaw plugin for DIM — trade perps, send USDC, and earn referral rewards using the SDK directly.
- **Keywords:** openclaw, dim, plugin, gaming, solana, usdc, ai-agent
- **Artifact files:** 5
- **Artifact unpacked size:** 2,486,234 bytes
- **Artifact signatures:** 2
- **Attestations:** No

## References
- [HTML security report](<https://firewall.lpm.dev/npm/@dimcool/dimclaw/v/0.1.36>)
