Назад към всички

leak-buy

// Buy and download leak content from promo or download links using a preinstalled leak CLI.

$ git log --oneline --stat
stars:1,933
forks:367
updated:March 4, 2026
SKILL.mdreadonly
SKILL.md Frontmatter
nameleak-buy
descriptionBuy and download leak content from promo or download links using a preinstalled leak CLI.
compatibilityRequires access to the internet
version2026.2.17
metadata[object Object]

leak-buy

Overview

This skill operates leak buy workflows only:

  • Accept a promo URL (/) or download URL (/download).
  • Include download-code when required by the seller access mode.
  • Pay via x402 flow only when required by the seller access mode.
  • Save downloaded file locally.

Safety policy (required)

  1. Never ask for raw private key text in chat.
  2. Never create buyer keys from this skill.
  3. Allow only --buyer-private-key-file <path>.
  4. Block raw-key argument mode and stdin key mode.
  5. Never print private key material.
  6. Never construct shell commands by concatenating raw user input.
  7. Pass URL/path as quoted argv tokens, never through eval or sh -c.
  8. Reject URL/key path values with whitespace/control characters.
  9. Require buyer key path to resolve to an existing readable regular file (non-symlink).

Dependency policy (required)

  1. Require leak binary on PATH.
  2. Do not execute npx or dynamic package install at runtime.

Required inputs

  1. Leak promo or download URL.
  2. Buyer key file path (required only when payment is required).
  3. Download code (required only for download-code modes).

Safe command construction (required)

Use this pattern:

PROMO_URL="https://xxxx.trycloudflare.com/"
BUYER_KEY_FILE="./buyer.key"
DOWNLOAD_CODE="friends-only"
bash skills/leak-buy/scripts/buy.sh "$PROMO_URL" --buyer-private-key-file "$BUYER_KEY_FILE" --download-code "$DOWNLOAD_CODE"

Do not use placeholder interpolation like <...> directly in executable shell strings.

Command

bash skills/leak-buy/scripts/buy.sh "$PROMO_URL" --buyer-private-key-file "$BUYER_KEY_FILE"

When download-code is required:

bash skills/leak-buy/scripts/buy.sh "$PROMO_URL" --download-code "$DOWNLOAD_CODE" --buyer-private-key-file "$BUYER_KEY_FILE"

Optional output controls

bash skills/leak-buy/scripts/buy.sh "$PROMO_URL" --buyer-private-key-file "$BUYER_KEY_FILE" --out ./downloads/myfile.bin
bash skills/leak-buy/scripts/buy.sh "$PROMO_URL" --buyer-private-key-file "$BUYER_KEY_FILE" --basename myfile

First response template

  1. Confirm URL type (/ or /download).
  2. Ask for buyer key file path when payment is required.
  3. Ask for download code when download-code is required.
  4. Validate URL/key path safety constraints and run with quoted argv tokens.
  5. Report saved file path and bytes downloaded.

Troubleshooting

  • leak missing:
    • install: npm i -g leak-cli
  • key mode errors:
    • use only --buyer-private-key-file <path>