Xpersona
D

Dashpass

CLAWHUB · Unverified

Encrypted credential vault on Dash Platform for AI agents. Store and retrieve API keys, tokens, and passwords — encrypted on-chain, decryptable only by you.... Skill: Dashpass Owner: dashbot-0001 Summary: Encrypted credential vault on Dash Platform for AI agents. Store and retrieve API keys, tokens, and passwords — encrypted on-chain, decryptable only by you.... Tags: latest:0.9.0 Version history: v0.9.0 | 2026-06-16T23:24:36.831Z | user v0.9.0 — Key Backup & Recovery (P0-3): new standalone dashpass-recover-cli.mjs (backup/recover/verify) turns the CRITICAL_WIF private key

62
Rank
84
Safety
1.1k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s172ej2q1tz7v304djg4smmv358489vy:dashpass
  1. Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-dashbot-0001-dashpass/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

146,723 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: dashpass
version: "0.9.0"
description: >
  Encrypted credential vault on Dash Platform for AI agents.
  Store and retrieve API keys, tokens, and passwords — encrypted on-chain, decryptable only by you.
  Triggers on: credential management, password vault, API key storage, secret store, Dash Platform credentials.
requires:
  env:
    - CRITICAL_WIF
    - DASHPASS_IDENTITY_ID
  bins:
    - node
  packages:
    - "@dashevo/evo-sdk@3.1.0-dev.1"
    - "@scure/bip39@^2.2.0"
---

<!--
  CHANGELOG
  0.9.0 — Key Backup & Recovery (P0-3). New standalone `dashpass-recover-cli.mjs`
          (backup/recover/verify) that turns the CRITICAL_WIF private key into a
          24-word BIP-39 mnemonic and back. NO evo-sdk dependency by design:
          recovery must run when the WIF is lost (the main CLI exits without it)
          or the Platform is unreachable. Closes "lost WIF = total vault loss".
  0.8.1 — Mutual Confirmation (Shamir 2-of-2).
-->

<!-- Safety: this file is documentation only — no executable code -->

# DashPass — Encrypted Credential Vault on Dash Platform

DashPass lets you store API keys, passwords, and other secrets **encrypted on the Dash blockchain**. Only someone with your private key can decrypt them — not the blockchain nodes, not your AI agent, not anyone else.

Your AI agent calls a CLI tool to store and retrieve credentials. Encryption happens locally *before* anything touches the network. The blockchain only ever sees ciphertext. Think of it as a password manager where the "cloud" is a decentralized blockchain.

## Why DashPass Instead of a `.env` File

| | `.env` file | DashPass |
|---|---|---|
| **Where secrets live** | Plain-text file on one machine | Encrypted on decentralized blockchain |
| **Disk failure** | Secrets gone (unless backed up) | Recoverable with your key |
| **Encryption** | None | AES-256-GCM per credential |
| **Rotation tracking** | Manual | Built-in version history |
| **Expiry alerts** | None | `check --expiring-within 7d` |
| **Multi-machine** | Copy file around (risky) | Any machine with your key |

---

## Quick Reference

```bash
CLI=skills/dashpass/scripts/dashpass-cli.mjs

# Store a credential
echo "sk-xxx" | node $CLI put --service anthropic-api --type api-key --level sensitive --label "Anthropic key" --value-stdin

# Retrieve a credential
node $CLI get --service anthropic-api --pipe

# Retrieve via mutual confirmation (2-of-2 Shamir shares)
node $CLI get --service anthropic-api --mutual

# List all credentials
node $CLI list

# Rotate to new value
echo "sk-NEW" | node $CLI rotate --service anthropic-api --value-stdin

# Check expiring credentials
node $CLI check --expiring-within 7d

# Vault status + credit balance
node $CLI status

# Delete a credential
node $CLI delete --service my-service

# Export as env vars (for eval)
eval $(node $CLI env --services anthropic-api,brave-search-api)

# Initialize Shamir 2-of-2 shares from CRITICAL_WIF
node $CLI init-shares

# Check share health
node $CL

_meta.json

{
  "ownerId": "kn7878bsjwpmwxhqxe1dmkj8jn80r59m",
  "slug": "dashpass",
  "version": "0.9.0",
  "publishedAt": 1781652276831
}

references/cli-commands.md

# DashPass CLI Command Reference

All commands follow the pattern:

```bash
node dashpass-cli.mjs <command> [options]
```

**Global options:**

| Option | Description |
|--------|-------------|
| `--identity-id <id>` | Override `DASHPASS_IDENTITY_ID` env var for this invocation |

---

## `put` — Store a Credential

Encrypts a value and stores it on the Dash blockchain.

**Syntax:**

```bash
echo "<secret>" | node dashpass-cli.mjs put \
  --service <service-name> \
  --type <credential-type> \
  --level <security-level> \
  --label "<description>" \
  --value-stdin \
  [--expires-in <duration>]
```

**Parameters:**

| Parameter | Required | Description |
|-----------|:--------:|-------------|
| `--service` | Yes | Unique name for this credential (e.g., `anthropic-api`, `github-deploy`). Used as the lookup key. Max 63 characters. |
| `--type` | Yes | Credential type. One of: `api-key`, `oauth-token`, `ssh-key`, `wif`, `db-cred`, `tls-cert`, `service-token`, `encryption-key` |
| `--level` | Yes | Security level. One of: `critical` (highest), `sensitive`, `normal` |
| `--label` | Yes | Human-readable description. Max 63 characters. |
| `--value-stdin` | Recommended | Read the secret value from stdin (pipe it in). Prevents the value from appearing in shell history. |
| `--value` | Alternative | Pass the value directly (WARNING: visible in shell history and `ps` output). |
| `--expires-in` | No | Set an expiry. Format: `30m`, `12h`, `7d`, `90d`. Omit for no expiry. |

**Examples:**

```bash
# Store an API key (recommended: pipe via stdin)
echo "sk-ant-api03-xxxxx" | node dashpass-cli.mjs put \
  --service anthropic-api \
  --type api-key \
  --level sensitive \
  --label "Anthropic production key" \
  --value-stdin

# Store an OAuth token that expires in 90 days
echo "gho_xxxxxxxxxxxx" | node dashpass-cli.mjs put \
  --service github-oauth \
  --type oauth-token \
  --level sensitive \
  --label "GitHub OAuth token" \
  --value-stdin \
  --expires-in 90d

# Store a database password
echo "s3cur3p4ss" | node dashpass-cli.mjs put \
  --service postgres-prod \
  --type db-cred \
  --level critical \
  --label "PostgreSQL production password" \
  --value-stdin
```

---

## `get` — Retrieve a Credential

Fetches a credential from the blockchain and decrypts it locally.

**Syntax:**

```bash
node dashpass-cli.mjs get --service <service-name> [--json] [--pipe]
```

**Parameters:**

| Parameter | Required | Description |
|-----------|:--------:|-------------|
| `--service` | Yes | The service name used when storing the credential. |
| `--json` | No | Output as formatted JSON (includes metadata). |
| `--pipe` | No | Output only the raw value, no formatting, no newline. Ideal for `$(...)` substitution in scripts. |

**Examples:**

```bash
# Human-readable output (default)
node dashpass-cli.mjs get --service anthropic-api

# Pipe-friendly — use in scripts
API_KEY=$(node dashpass-cli.mjs get --service anthropic-api --pipe)
echo "Got key: ${API_KEY:0:10}..."

# JS

references/faq.md

# DashPass FAQ & Known Limitations

## Frequently Asked Questions

### "Cannot find module '@dashevo/evo-sdk'"

The Dash Platform SDK is not installed. Install it:

```bash
npm install @dashevo/evo-sdk@3.1.0-dev.1
```

Make sure you're in the same directory as `dashpass-cli.mjs`, or that `node_modules` is in a parent directory.

### "CRITICAL_WIF not set"

You haven't set the `CRITICAL_WIF` environment variable. Set it:

```bash
export CRITICAL_WIF="your-testnet-wif-here"
```

The error message `[fatal] CRITICAL_WIF not set. Export CRITICAL_WIF with your wallet WIF.` means the CLI checked for this variable and found it empty.

### "DASHPASS_IDENTITY_ID not set"

You haven't set your Identity ID. Set it:

```bash
export DASHPASS_IDENTITY_ID="your-identity-id-here"
```

Or use the `--identity-id` flag:

```bash
node dashpass-cli.mjs status --identity-id "your-identity-id-here"
```

### "Invalid signature" or "Key not found on identity"

Your WIF (private key) does not match any authentication key on your Platform Identity. This means:
- The WIF you exported belongs to a different wallet than the one that created the Identity, **or**
- The Identity was created with different keys

**Fix:** Make sure `CRITICAL_WIF` contains the WIF that corresponds to the AUTHENTICATION CRITICAL key (purpose=0, securityLevel=1) on your Identity.

### "invalid identity nonce"

This happens when you do write operations (put, rotate) too quickly in succession. The Dash Platform needs a few seconds between operations to process each transaction.

**Fix:** Wait 3-5 seconds between consecutive write operations. This is a known platform timing limitation, not a DashPass bug.

### "insufficient credits" or balance-related errors

Your Identity doesn't have enough Platform credits to pay for the write operation.

**Fix:** Top up your Identity's credits by converting tDASH to credits:

```bash
# Check your current balance first
node dashpass-cli.mjs status
```

If the balance is low, follow the [top-up tutorial](https://docs.dash.org/en/stable/docs/tutorials/identities-and-names.html#top-up-an-identity).

### "Can other people read my encrypted credentials?"

**They can see the ciphertext (encrypted blob) and metadata, but they cannot decrypt the actual secret values.**

What's visible on-chain to anyone:
- Service name (e.g., "anthropic-api") — **plaintext**
- Label (e.g., "Anthropic production key") — **plaintext**
- Credential type and security level — **plaintext**
- Version number and status — **plaintext**
- The encrypted blob — **encrypted** (unreadable without your WIF)

What only you can see:
- The actual secret value (e.g., `sk-ant-api03-xxxxx`)

If metadata privacy matters, deploy your own contract (see Known Limitations).

### "Using shared testnet contract" warning

This is informational, not an error. It means you're using the default shared testnet contract instead of your own. This is fine for testing. For production, deploy your own contract and set `DASHPASS_

references/security-analysis-summary.md

# DashPass Security Analysis — Summary

> Condensed from the full analysis at `docs/dashpass-security-analysis.md`
> Date: 2026-04-05

## Encryption: Strong

- AES-256-GCM with per-credential HKDF-SHA256 key derivation
- 32-byte random salt per credential, 12-byte random nonce
- GCM authenticated encryption prevents tampering
- No nonce reuse risk (unique key per credential)

## P0 Findings (Fixed)

| ID | Issue | Fix |
|----|-------|-----|
| P0-1 | Plaintext cache in world-readable `/tmp/` | Cache moved to `~/.dashpass/cache/`, encrypted with AES-256-GCM, file permissions 0600 |
| P0-2 | `--value` exposed in shell history | Added `--value-stdin` flag; warning printed when `--value` used via CLI args |
| P0-3 | Decrypted values stored in cache | Cache stores only encrypted blobs; decryption happens on read |

## P1 Findings (Open)

| ID | Issue | Status |
|----|-------|--------|
| P1-1 | No `rekey` command for key rotation | Planned for Phase 2 |
| P1-2 | No input validation on credType/level/status | Planned |
| P1-3 | Private key Buffers not zeroed after use | Partially fixed (deriveAesKey now zeros) |
| P1-4 | No migration procedure documentation | Planned |
| P1-5 | Cache not integrity-checked (HMAC) | Cache is now AES-GCM encrypted (auth tag provides integrity) |
| P1-6 | Non-unique service index allows injection | Accepted risk (requires Identity key compromise) |

## P2 Findings (Deferred)

- Verbose/quiet error modes
- ECDH self-sign documentation
- Structured exit codes
- Rate limiting
- Metadata encryption

## Platform Security

- Client-side encryption: Platform nodes never see plaintext
- $ownerId enforcement: only credential owner can modify/delete
- Metadata (service names, types) visible on-chain — accepted trade-off for queryability

## Trust Model

See `trust-architecture.md` for the full trust minimization framework.

Sponsored

Ads related to Dashpass and adjacent AI workflows.