Token导航 LogoToken导航

Agent Skill · 开发

mjolnir-credential-vault(雷神锤凭证保险库)

mjolnir-credential-vault 用于辅助前端页面、组件、样式和交互逻辑开发,适合在 OpenClaw 中需要维护前端项目、生成组件或检查界面实现时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

mjolnir-credential-vault 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为接触敏感数据;许可证为 MIT-0,第三方扫描有提醒项,按安装量在开发类的 21,746 个 Skill 里排第 5,042。

总安装 7,089周安装 284GitHub Stars 公开资料未说明下载 2,295核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.3.1

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:mjolnir-credential-vault(雷神锤凭证保险库)
来源仓库:https://github.com/king6381/mjolnir-credential-vault
安装命令:
openclaw skills install mjolnir-credential-vault
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install mjolnir-credential-vault

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

mjolnir-credential-vault 提供 GPG AES-256 加密凭证管理功能。适用于安全存储密码、API 密钥等敏感信息。通过 clawhub 安装,使用 openclaw skills install mjolnir-credential-vault 命令部署。

使用前需安装 GPG 并设置 CRED_MASTER_PASS 环境变量。建议定期轮换主密码并备份密钥材料,防范单点故障。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install mjolnir-credential-vault;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

mjolnir-credential-vault 怎么安装?

在终端执行 openclaw skills install mjolnir-credential-vault。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

mjolnir-credential-vault 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

mjolnir-credential-vault 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

mjolnir-credential-vault 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

mjolnir-credential-vault 用的人多吗?

公开数据是累计安装 7,089 次,近一周安装 284 次,下载 2,295 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

mjolnir-credential-vault 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理开发类任务、又不想每次都手写提示词的人。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

开发类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
skill-vetter

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
mjolnir-credential-vault

雷神锤凭证保险库 · 本页

7,089—接触敏感数据MIT-0有提醒

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
credential-vault
version
1.3.1
description
GPG AES-256 encrypted credential management. Requires: GPG (gnupg) installed, Python 3.8+, CRED_MASTER_PASS env var for non-interactive use. Use when the user needs to securely store, retrieve, or manage passwords, API tokens, and secrets. Supports init/add/get/list/remove operations. Triggers: password management, secret storage, credential encryption, token vault, secure credentials, 凭证管理, 密码加密, 安全存储.
metadata
clawdbot
requires
bins
env

🛡️ Credential Vault / 凭证保险箱

GPG AES-256 encrypted credential manager — one file, all secrets. GPG AES-256 对称加密凭证管理器 — 一个文件,管理所有密钥。

⚡🔨 Part of the Mjölnir / 雷神 toolchain 🛡️ Brand: 雷神之盾 (Shield of Thor)

Dependencies / 依赖

  • Python 3.8+
  • GPG (gnupg) — pre-installed on most Linux/macOS; Windows needs Gpg4win
  • Check / 检查: gpg --version (the init command verifies this automatically / init 命令会自动检查)

Required Environment Variables / 环境变量

Variable / 变量Purpose / 用途Required? / 是否必需
CRED_MASTER_PASSMaster password for encrypt/decrypt / 加解密主密码Required for non-interactive use; prompts if unset / 非交互使用时必需;未设置则交互输入

Quick Start / 快速开始

# Initialize (first time) / 首次初始化 — checks GPG availability / 检查 GPG 可用性
python3 SKILL_DIR/scripts/cred_manager.py init

# Add credentials (interactive) / 交互式添加凭证
python3 SKILL_DIR/scripts/cred_manager.py add myservice

# Non-interactive use / 非交互使用
export CRED_MASTER_PASS="your_password"

Replace SKILL_DIR with the actual skill directory path. 将 SKILL_DIR 替换为实际的技能目录路径。


Security Model / 安全模型

How it works / 工作原理

  1. All credentials stored as AES-256 encrypted .gpg file (permissions 600)

所有凭证存储为 AES-256 加密的 .gpg 文件(权限 600)

  1. Master password passed to GPG via --passphrase-fd (stdin pipe) — never in command-line arguments

主密码通过 --passphrase-fd(stdin 管道)传递给 GPG — 绝不出现在命令行参数中

  1. Shell helper also uses --passphrase-fd 0 (echo pipe) — not --passphrase

Shell 辅助脚本同样使用 --passphrase-fd 0(echo 管道)— 不用 --passphrase

Temporary plaintext on disk / 临时明文落盘

During save/encrypt operations, plaintext JSON briefly exists as a temporary file: 在保存/加密操作期间,明文 JSON 会短暂存在于临时文件中:

  • Created with mkstemp + fchmod 600 (owner-only read/write) / 使用 mkstemp + fchmod 600 创建(仅所有者可读写)
  • Exists for milliseconds (only during GPG subprocess execution) / 仅存在毫秒级(GPG 子进程执行期间)
  • Securely deleted: zero-overwrite → fsync → unlink / 安全删除:零覆写 → fsync → unlink
  • Risk / 风险: on some systems, temp file contents may be recoverable from disk. For higher security, use a tmpfs/ramfs mount or a dedicated secrets manager.

在某些系统上,临时文件内容可能可从磁盘恢复。如需更高安全性,请使用 tmpfs/ramfs 挂载或专用密钥管理器。

Master password storage / 主密码存储

The CRED_MASTER_PASS environment variable is readable by same-user processes via /proc/*/environ on Linux. CRED_MASTER_PASS 环境变量在 Linux 上可被同用户进程通过 /proc/*/environ 读取。

Recommended approaches (most → least secure) / 推荐方式(安全性从高到低):

  1. gpg-agent / pinentry — enter password interactively each time (most secure) / 每次交互输入密码(最安全)
  2. Runtime injection / 运行时注入 — set via a secrets manager or session-scoped read -s prompt / 通过密钥管理器或会话级 read -s 提示设置
  3. Environment variable / 环境变量 — export CRED_MASTER_PASS="..." in current shell (convenient but less secure) / 在当前 shell 中设置(方便但安全性较低)

Avoid / 避免: persisting the master password in plaintext files (e.g., ~/.bashrc). If you must, ensure chmod 600 and understand the trade-off. 不要将主密码明文写入文件(如 ~/.bashrc)。如必须,请确保 chmod 600 并了解风险。


Core Operations / 核心操作

Initialize / 初始化

python3 scripts/cred_manager.py init

Verifies GPG is installed, creates encrypted credentials.json.gpg (permissions 600). Warns if password < 8 chars. 验证 GPG 已安装,创建加密的 credentials.json.gpg(权限 600)。密码少于 8 位会警告。

Add / Update Credentials / 添加/更新凭证

python3 scripts/cred_manager.py add <service_name>
# Interactive: enter key=value pairs, empty line to finish
# 交互式:输入 key=value 键值对,空行结束

Or programmatically / 或通过代码调用:

from cred_manager import add_credential
add_credential('github', {'user': 'octocat', 'token': 'ghp_xxx'})

Retrieve Credentials / 获取凭证

Python:

from cred_manager import get_credential, get_service

token = get_credential('github', 'token')    # single field / 单个字段
config = get_service('github')               # full dict / 完整字典

Shell / Bash:

export CRED_MASTER_PASS="your_password"
source scripts/cred_helper.sh
TOKEN=$(cred_get github token)

CLI / 命令行:

python3 scripts/cred_manager.py get github token
python3 scripts/cred_manager.py list

Remove / 删除

python3 scripts/cred_manager.py remove <service_name>

Integration Pattern / 集成模式

When a script has hardcoded passwords, refactor to: 当脚本中有硬编码密码时,重构为:

import sys, os
sys.path.insert(0, os.path.expanduser('path/to/credential-vault/scripts'))
from cred_manager import get_credential

password = get_credential('myservice', 'pass')

Known Limitations / 已知限制

  1. Temporary plaintext on disk / 临时明文落盘 — briefly exists during encrypt operations (mitigated but not zero-risk) / 加密操作时短暂存在(已缓解但非零风险)
  2. Environment variable visibility / 环境变量可见性 — CRED_MASTER_PASS readable by same-user processes on Linux / 在 Linux 上可被同用户进程读取
  3. No key rotation / 无密钥轮换 — manual re-encrypt required to change master password / 更换主密码需手动重新加密
  4. Single-user design / 单用户设计 — not for enterprise multi-tenant use / 不适用于企业多租户场景
  5. No tamper detection / 无篡改检测 — .gpg file integrity not independently verified / .gpg 文件完整性未独立验证

For higher security requirements, consider: OS keyring, pass, HashiCorp Vault, or cloud KMS. 如需更高安全性,请考虑:OS 密钥环、pass、HashiCorp Vault 或云 KMS。


Changelog / 更新日志

  • v1.3.1 — Fix registry metadata: declare gpg, python3 bins and CRED_MASTER_PASS env var / 修复注册表元数据:声明依赖二进制和环境变量
  • v1.3.0 — Bilingual documentation (EN/CN) / 中英双语文档;bilingual CLI output / 双语 CLI 输出
  • v1.2.0 — Security hardening: --passphrase-fd for both Python & Shell; honest temp-file disclosure; 3-tier password advice / 安全加固
  • v1.1.0 — Python --passphrase-fd stdin pipe / Python 端 stdin 管道传密码
  • v1.0.0 — Initial release / 首次发布

平台分布

OpenClaw

90.89%
按下载量换算2,086

安全审计

VirusTotal

可疑

ClawScan

通过

Static analysis

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills