Skip to content
Back to skills

Solana Accept Risk

ASecurity

Accept or revoke explicit risk acknowledgment for mainnet-beta operations. Use this skill when the user runs /solana-accept-risk, asks to "enable mainnet", "accept risk", "revoke risk", or when mainnet operations are blocked.

  • 7 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 26, 2026
securitybash

Works with

  • claude code

Security analysis

A100/100

Scanned May 27, 2026

npx -y skills add widnyana/eyay-toolkits --skill solana-accept-risk --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Solana Accept Risk?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Solana Accept Risk
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/widnyana-solana-accept-risk/badge)](https://www.skillsdirectory.com/skills/widnyana-solana-accept-risk)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: solana-accept-risk
description: |
  Accept or revoke explicit risk acknowledgment for mainnet-beta operations.
  Use this skill when the user runs /solana-accept-risk, asks to "enable mainnet",
  "accept risk", "revoke risk", or when mainnet operations are blocked.
argument-hint: "[action] (optional: accept, revoke, status)"
allowed-tools: [Bash]
---

Manage mainnet risk acceptance. Required before any mainnet write operations.

Review: $ARGUMENTS

## Instructions

### status (default)

1. Check `SOLANA_ACCEPT_RISK` environment variable.
2. If `true` — show acceptance is active.
3. If not set — show that mainnet operations are blocked and how to accept.

### accept

1. Show risk disclosure:
   - Transactions are permanent and irreversible
   - Sending to wrong address = permanent loss
   - No customer service or recovery
   - User accepts full responsibility
2. Ask user to confirm by typing `ACCEPT`.
3. On confirmation — set `SOLANA_ACCEPT_RISK=true` and record timestamp.
4. Show safety reminders:
   - Always simulate before executing
   - Triple-check recipient addresses
   - Start with tiny test amounts
   - Keep keypair secure

### revoke

1. Confirm user wants to revoke.
2. Unset `SOLANA_ACCEPT_RISK`.
3. Confirm mainnet operations are now blocked.
4. Tell user to run `/solana-accept-risk accept` to re-enable.

### Mainnet safety gate

Before ANY mainnet write operation, check:
1. `SOLANA_ACCEPT_RISK` is `true`
2. If not — refuse the operation and tell user to run `/solana-accept-risk`

For large amounts on mainnet, request extra explicit confirmation showing:
- Recipient address
- Amount and approximate USD value
- That this is mainnet with real SOL

### Scope

- Acceptance is per-session by default (resets on Claude Code restart).
- Can be persisted via plugin settings if user configures it.
- Does NOT affect devnet/testnet/localnet operations.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.