360 Secure SkillHub
360 安全技能中心

secret-drop

面向 OpenClaw 聊天的密钥收发 Skill:借助本地 Python CLI,把 Password Pusher 或 SnapPwd 的一次性链接下载到 openclaw-env、dotenv 或文件,或将本地已存密钥上传生成一次性链接;仅返回目标、变量名与链接,不回显明文。

sprintberlin
sprintberlin
热度 7.65
最近更新 2026-09-28 12:00:51
分类:安全依赖:代码执行 / 读写文件 / 第三方 API应用场景:API 集成 / 自动化脚本 / 工作流 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add secret-drop
Metadata
name
secret-drop
description
Password/API key in Telegram/Discord/Slack or OpenClaw-masked: request pwpush/snappwd link, ingest it, or share stored secrets as one-time link.

secret-drop

Move secrets into and out of OpenClaw chat without exposing plaintext in transcripts, model context, tool arguments, or logs.

Route the request

Trigger Action
User says they want to send a password or API key Reply: "Don't paste it here. Put it into https://pwpush.com with 1 view, 1 day, and the retrieval step enabled, then send me the exact generated /r link."
User already pasted plaintext or OpenClaw shows *** / a shortened mask Do not guess or request another plaintext paste. Send the same Password Pusher instruction.
User sends a Password Pusher /r or SnapPwd link Run the inbound procedure.
User asks for a locally stored password or API key Run the outbound procedure and return only the generated one-time URL.

Inbound: user to agent

Run after the user supplies the link, destination, and variable name:

python3 <skill-directory>/scripts/secret-drop ingest "<URL>" \
  --to openclaw-env \
  --name "VARIABLE_NAME" \
  --json

Use --to dotenv --path <path>, --to file --path <path>, or --to openclaw-store when requested. Add --restart-gateway only when the task authorizes the restart.

For Password Pusher, require the exact generated retrieval-step URL ending in /r. Never remove /r or rebuild a bare /p/<token> URL because messenger link previews can consume the push.

Verify ok: true; report destination, name, and byte count. Never print the plaintext.

Outbound: agent to user

Use only the local source authorized by the request:

# ~/.openclaw/.env
python3 <skill-directory>/scripts/secret-drop share \
  --from openclaw-env \
  --name "VARIABLE_NAME" \
  --json

# Project dotenv
python3 <skill-directory>/scripts/secret-drop share \
  --from dotenv \
  --path "/path/to/.env" \
  --name "VARIABLE_NAME" \
  --json

# Text file
python3 <skill-directory>/scripts/secret-drop share \
  --from file \
  --path "/path/to/secret" \
  --json

Verify ok: true, expire_views: 1, expire_days: 1, retrieval_step: true, and that url ends in /r. Deliver only that URL to the authorized requester; use a private conversation instead of a group when available.

Rules

  1. Never use cat, echo, grep, shell expansion, or command arguments to extract plaintext.
  2. Never repeat plaintext from chat or local storage.
  3. Never reconstruct Password Pusher links from url_token; preserve the API-returned html_url.
  4. Do not add rotation lectures. Route the user directly to the one-time-link flow.