← 返回 Skills 市场
squallsol

Session Password

作者 squallsol · GitHub ↗ · v1.6.1 · MIT-0
cross-platform ⚠ suspicious
309
总下载
1
收藏
0
当前安装
9
版本数
在 OpenClaw 中安装
/install session-password
功能描述
Provides secure session authentication using bcrypt-hashed passwords, security questions, email recovery, and lockout protection with audit logging.
安全使用建议
Key issues to consider before installing: 1) Hard-coded billing API key: package.json and billing scripts include an API key for SkillPay. That secret is embedded in the distributed code rather than declared as a required environment variable. Verify with the author why a provider key is shipped here and consider removing or rotating it. Treat this as sensitive — it could be abused to call the billing API. 2) Inconsistent filenames and config: The setup script writes auth-config.json and auth-users.json but auth-core and email-recovery expect passphrase.json and other names. This mismatch likely breaks functionality or causes unexpected behavior. Ask the author for a clear mapping of config files or a corrected release. 3) Mixed/weak hashing on recovery: Normal operation uses bcrypt, but the recovery routine stores a new passphrase as a SHA-256 hex digest. That weakens password storage and is a security regression. Do not rely on recovery flows until this is fixed. 4) Billing behavior & external calls: The skill will call skillpay.me endpoints and may attempt to charge users. SKILL.md doesn't show how user IDs are derived or consent flows. Confirm how billing is triggered, what user identifier is sent, and whether personal data may be transmitted. 5) Stubs and testing artifacts: Email recovery defaults to a stub mode that writes recovery codes to a file in the workspace and logs them to console. That may leak codes into logs or files; enable SMTP only after auditing. Recommended actions: do not enable this skill in production until the author addresses the above. If you want to test it, run it in an isolated environment, rotate any exposed keys, and review/patch the recovery hashing and filename mismatches. Ask the publisher for a signed, corrected release and an explanation for the embedded billing key and pricing inconsistencies.
功能分析
Type: OpenClaw Skill Name: session-password Version: 1.6.1 The skill bundle implements a legitimate session authentication system for OpenClaw using industry-standard bcrypt hashing, security questions, and email-based recovery. The code is well-structured, follows security best practices such as restricted file permissions (0o600), and includes a transparent billing integration with the SkillPay platform ($0.01/call) as disclosed in SKILL.md and package.json. While it contains a hardcoded API key in scripts/billing.js, this appears to be a design choice for the skill's monetization model rather than a malicious backdoor or exfiltration mechanism.
能力评估
Purpose & Capability
The files and code implement a session password/auth guard (bcrypt, lockouts, email recovery) which matches the advertised purpose. However the package also embeds SkillPay billing code with a hard-coded API key in package.json and scripts; billing is related to a paid skill but embedding a provider API key in distributed code is unexpected and not declared in requires.env.
Instruction Scope
SKILL.md instructs running the setup script and mentions SkillPay billing. The code will read and write files under the user's workspace (~/.openclaw/workspace/memory) which is reasonable for a local auth skill. But there are several concerning instruction/code-level behaviors: email recovery writes a recovery code stub file and prints it to console (dev stub), recovery completion replaces stored passphrase with a SHA-256 hash (downgrades storage from bcrypt), and multiple components expect different config filenames (setup writes auth-config.json / auth-users.json while auth-core/email-recovery look for passphrase.json). These divergences mean the runtime behavior is unpredictable and may lead to incorrect or insecure outcomes.
Install Mechanism
This is instruction-only (no network installer). All code is included in the bundle; there is no download-from-URL or extract step in the install spec. That keeps install mechanism risk low.
Credentials
No required environment variables are declared, yet package.json and billing scripts contain a hard-coded SkillPay API key (sk_...). A billing key in code is sensitive and should be provided via a declared env var or not included at all. The skill will contact https://skillpay.me endpoints using that key. The presence of the key in distributed code is disproportionate and not transparently documented as a required credential.
Persistence & Privilege
The skill does not request 'always: true' and does not attempt to modify other skills. It writes its own config and state files under the workspace memory directory (expected for a local auth module).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install session-password
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /session-password 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.6.1
定价调整:sh.01 → sh.001 USDT/call
v1.6.0
新增 auth-core.js 核心模块(超时检查、失败锁定、自动刷新、审计日志),新增 email-recovery.js 邮箱恢复模块,更新文档与配置说明
v1.5.0
Price update: sh.01 USDT per call, removed buyout option
v1.2.2
Set as paid skill: Buyout 9 or sh.9/call via SkillPay
v1.2.1
Changed license to commercial: Buyout 9 or sh.9/call via SkillPay
v1.2.0
New pricing: Buyout 9 USDT (lifetime) or sh.9 USDT per call
v1.1.2
Updated billing.js with official SkillPay integration code
v1.1.1
Added SkillPay Skill ID for billing integration
v1.1.0
Added SkillPay billing integration: 9.9 USDT per call
元数据
Slug session-password
版本 1.6.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 9
常见问题

Session Password 是什么?

Provides secure session authentication using bcrypt-hashed passwords, security questions, email recovery, and lockout protection with audit logging. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 309 次。

如何安装 Session Password?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install session-password」即可一键安装,无需额外配置。

Session Password 是免费的吗?

是的,Session Password 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Session Password 支持哪些平台?

Session Password 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Session Password?

由 squallsol(@squallsol)开发并维护,当前版本 v1.6.1。

💬 留言讨论