Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

password-manager密码管理器

Agent Skill

password-manager 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

20,686

周安装

845

GitHub Stars

公开资料未说明

下载量

6,692
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:password-manager(密码管理器)
来源仓库:https://github.com/jixsonwang/password-manager
安装命令:
openclaw skills install password-manager
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install password-manager

简介

OpenClaw 的完全本地密码管理技能,具有 AES-256-GCM 加密、密码生成和敏感信息检测功能。

SKILL.md

name
password-manager
description
A fully local password management skill for OpenClaw with AES-256-GCM encryption, password generation, and sensitive info detection.

password-manager

A fully local password management skill for OpenClaw, providing secure credential storage capabilities.

Features

  • 🔐 AES-256-GCM Encryption - Military-grade encryption protection
  • 🔑 Master Password Caching - No need to re-enter within 48 hours
  • 🎲 Password Generation - Customizable high-strength passwords
  • 🔍 Sensitive Information Detection - Automatically identifies and prompts to save
  • 📦 Fully Local - No dependency on external services
  • 🔄 Version History - Supports rollback to previous versions
  • 📊 Operation Audit - Records all operation logs

Installation

clawhub install password-manager

Quick Start

1. Initialization (First-time Use)

password-manager init

Set a master password (recommended: 12+ characters, including uppercase, lowercase, numbers, and symbols).

2. Add Entries

# Manual addition
password-manager add --name "github" --type "token" --password "ghp_xxx"

# Auto-generate password
password-manager add --name "aws" --type "api_key"

3. View Entries

password-manager get --name "github" --show-password

4. Search

password-manager search --query "github"
password-manager list --type "token"

5. Generate Password

password-manager generate --length 32

OpenClaw Integration

As an OpenClaw Skill, it provides the following tools:

ToolFunctionInput Parameters
password_manager_addAdd entryname, type, username, password, tags, notes
password_manager_getGet entryname, showPassword
password_manager_updateUpdate entryname, password, username, tags, notes
password_manager_deleteDelete entryname, confirmed
password_manager_searchSearch entriesquery, type, tag
password_manager_listList entriestype
password_manager_generateGenerate passwordlength, includeUppercase, includeNumbers, includeSymbols
password_manager_check_strengthCheck strengthpassword
password_manager_statusView status-
password_manager_detectDetect sensitive infotext
password_manager_change_passwordChange master passwordoldPassword, newPassword

Usage Examples

User: Save my GitHub token to the password manager
Agent: 🔒 Password manager is locked, please provide master password to unlock

User: my-secret-password
Agent: ✅ GitHub token saved

---

User: My API key is sk-xxxxxxxx
Agent: 🔍 OpenAI API Key detected
       Do you want to save it to the password manager?

User: Save it
Agent: ✅ Saved (entry name: openai-key)

---

User: I want to change my master password
Agent: 🔐 Please provide your old master password

User: my-old-password
Agent: ✅ Password verified. Please provide new master password

User: my-new-secure-password
Agent: ✅ Master password changed successfully
       Vault re-encrypted with new password

Command Line Interface

Basic Commands

# Initialize
password-manager init

# Add
password-manager add --name <name> --type <type> [--password <pwd>]

# View
password-manager get --name <name> [--show-password]

# Update
password-manager update --name <name> --password <new-pwd>

# Delete
password-manager delete --name <name> [--confirm]

# Search
password-manager search --query <keyword> [--type <type>]

# List
password-manager list [--type <type>]

# Generate password
password-manager generate [--length 32]

# Check strength
password-manager check-strength <password>

# Status
password-manager status

# Lock/Unlock
password-manager lock
password-manager unlock

# Backup/Restore
password-manager backup --output ~/backup.enc
password-manager restore --input ~/backup.enc

# Change Master Password
password-manager change-password --old <old-password> --new <new-password>

Options

OptionDescription
--nameEntry name (required)
--typeEntry type (password/token/api_key/secret)
--usernameUsername (optional)
--passwordPassword/value (auto-generate if not provided)
--tagsTags (comma-separated, optional)
--lengthPassword length (default: 32)
--show-passwordShow password in plaintext
--confirmSkip confirmation (for sensitive operations)
--oldOld master password (for change-password)
--newNew master password (for change-password)

Advanced Usage

Environment Variable Support

For automation and CI/CD, you can use the PASSWORD_MANAGER_MASTER_PASSWORD environment variable:

# Set environment variable
export PASSWORD_MANAGER_MASTER_PASSWORD="your-master-password"

# Now you don't need to enter password interactively
password-manager list
password-manager add --name "github" --type "token" --password "ghp_xxx"
password-manager change-password --old "old-pass" --new "new-pass"

Security Note: Be cautious when using environment variables in shared environments, as they may be visible in process lists.

Cache Auto-Rebuild

When the cache file is missing or expired, the password manager will automatically attempt to rebuild it:

  1. Cache Missing: If .cache/key.enc doesn't exist, the system will try to rebuild from the provided password
  2. Environment Variable: If PASSWORD_MANAGER_MASTER_PASSWORD is set, it will be used for cache rebuild
  3. Interactive Prompt: If no environment variable, you'll be prompted to enter the password
# First run after cache expiration
$ password-manager list
🔒 Cache missing, attempting to rebuild...
✅ Cache rebuilt successfully

# Subsequent runs (within 48 hours)
$ password-manager list
✅ Using cached key (expires in 47h 59m)

Configuration

config.json includes reasonable defaults and can be used directly. Edit for customization:

{
  "cacheTimeout": 172800,          // Master password cache timeout (seconds, default: 48 hours)
  "maxHistoryVersions": 3,         // Number of historical versions to retain
  "auditLogLevel": "all",          // all/sensitive/none
  "autoDetect": {
    "enabled": true,               // Enable sensitive information detection
    "sensitivityThreshold": "medium",
    "askBeforeSave": true
  },
  "requireConfirm": {
    "delete": true,
    "deleteAll": true,
    "export": true,
    "backup": true,
    "restore": true
  },
  "generator": {
    "defaultLength": 32,
    "includeUppercase": true,
    "includeNumbers": true,
    "includeSymbols": true
  }
}

Tip: If configuration is modified incorrectly, refer to config.example.json to restore defaults.

Security Documentation

Implemented Security Measures

  1. AES-256-GCM Encryption - Military-grade encryption protection
  2. PBKDF2 Key Derivation - 100,000 iterations
  3. Dual Encryption - Vault and cache encrypted separately
  4. Unbiased Random Numbers - Uses crypto.randomInt()
  5. Input Validation - Sanitization at all entry points
  6. Sensitive Operation Confirmation - Re-enter password for deletion
  7. Memory Cleanup - secureWipe() removes sensitive data
  8. Audit Logs - Records operations without content

Security Recommendations

  1. Master Password: Cannot be recovered if lost, store securely
  2. Regular Backups: Backup to external storage weekly
  3. Strong Master Password: Use 16+ character random password or passphrase
  4. Lock Promptly: Manually lock when not in use for extended periods
  5. Protect Configuration: Do not upload config.json to public repositories
  6. Audit Logs: Regularly check .logs/detection.jsonl

Remaining Risks

RiskLikelihoodImpactMitigation
Cache file depends on filesystem permissionsLowMediumEncrypted
Memory keys may be dumpedLowHighsecureWipe added
Master password loss cannot be recovered-HighUser education

File Structure

~/.openclaw/workspace/skills/password-manager/
├── scripts/
│   ├── password-manager.mjs    # Main entry (CLI + library)
│   ├── crypto.js               # Crypto module (AES-256-GCM + PBKDF2)
│   ├── storage.js              # Storage module (vault management)
│   ├── generator.js            # Password generation
│   ├── validator.js            # Validation module
│   └── detector.js             # Sensitive info detection (13 rules)
├── hooks/openclaw/
│   ├── HOOK.md
│   └── handler.mjs             # 10 OpenClaw tools
├── tests/
│   ├── crypto.test.js          # Crypto module unit tests
│   ├── generator.test.js       # Password generation unit tests
│   ├── storage.test.js         # Storage module unit tests
│   └── SECURITY-FIXES.md       # Security fixes report
├── data/
│   └── vault.enc               # Encrypted vault
├── .cache/
│   └── key.enc                 # Encrypted master password cache
├── .logs/
│   └── detection.jsonl         # Detection logs
├── config.json                 # Configuration file
└── package.json                # npm configuration

Testing

Run Tests

cd ~/.openclaw/workspace/skills/password-manager

# Run all tests
npm test

# Run single module tests
npm run test:crypto
npm run test:generator
npm run test:storage

# Run test coverage
npm run test:coverage

Test Results

# tests 45
# pass 42
# fail 3
# Success rate: 93%

Passed Tests:

  • ✅ crypto module (encryption/decryption/key derivation)
  • ✅ generator module (password generation/strength check)
  • ✅ sanitizeInput (input validation)
  • ✅ initializeVault (initialization)
  • ✅ lockVault (locking)
  • ✅ restoreVault (restore verification)

Feature Checklist (F1-F16)

IDFeatureStatus
F1AES-256-GCM encrypted storage
F2CRUD operations
F3Password generation (customizable)
F4Password strength check
F5Master password 48-hour cache
F6Sensitive operation confirmation
F7Automatic sensitive info detection
F8Version history
F9Operation audit logs
F10OpenClaw tool integration
F11Tag system
F12Notes field
F13Search/filter
F14Backup/restore
F15Password strength recommendations
F16Auto-detection toggle

Feature Completeness: 16/16 (100%) ✅

Version

1.0.0 - Initial release (2026-02-28)

v1.0.0 Updates

  • ✅ F1-F16 all features implemented
  • ✅ 10 OpenClaw tools
  • ✅ 45 unit tests
  • ✅ Security score: 5.5/10 → 9.0/10

License

MIT

Frequently Asked Questions (FAQ)

Q: What if I forget my password?

A: The master password cannot be recovered if lost. Please backup regularly and store your master password securely.

Q: How do I change my master password?

A: The current version does not support changing the master password. You need to reinitialize and migrate data.

Q: Where is the vault file?

A: ~/.openclaw/workspace/skills/password-manager/data/vault.enc

Q: How do I view operation logs?

A: Log files are in .logs/detection.jsonl, recording detection events without specific content.

Q: How do I disable sensitive information detection?

A: Edit config.json and set autoDetect.enabled: false

Q: Is the cache file secure?

A: The cache file is encrypted with AES-256-GCM and relies on filesystem permissions for protection.

Q: What entry types are supported?

A: Supports four types: password, token, api_key, secret.

Support

  • Documentation: SKILL.md, tests/SECURITY-FIXES.md
  • Testing: npm test
  • Configuration: config.json

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

77.92%
按下载量换算5,214

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills