← 返回 Skills 市场
morvanzhou

whoami

作者 Morvan · GitHub ↗ · v1.0.2
cross-platform ⚠ suspicious
422
总下载
0
收藏
2
当前安装
3
版本数
在 OpenClaw 中安装
/install whoami
功能描述
Cross-AI user identity profile sync service. When you need user's background, preferences, or personal context to better execute a task, invoke this skill to...
安全使用建议
Before installing or enabling this skill, consider: 1) The skill stores and uploads a personal profile to a remote service (default https://whoamiagent.com). Only use it if you trust that service and its privacy policy. 2) The skill requires an API key saved to ~/.whoamiagent (WHOAMI_API_KEY), but the registry metadata did not declare this credential — verify where that config comes from and inspect it before running. 3) The SKILL.md instructs using curl to download a one-time config URL and save it directly to your home config file; do not run those commands if you cannot verify the URL/source. 4) Environment variables (WHOAMI_ENDPOINT, WHOAMI_FRONTEND_URL) can redirect the skill to arbitrary endpoints — ensure these are unset or point to trusted hosts. 5) Avoid putting secrets or very sensitive personal data in the profile; the skill will POST profile content to a third-party API. 6) If you still want to try it, run the script in a controlled environment first (inspect ~/.whoamiagent after setup, test against a non-production endpoint, or sandbox it). If you want a safer alternative, request the skill author to add explicit registry metadata listing the required API key and to include an option to preview/validate any downloaded config before writing it to disk.
功能分析
Type: OpenClaw Skill Name: whoami Version: 1.0.2 The `SKILL.md` file contains a critical prompt injection vulnerability. It explicitly instructs the AI agent to execute `curl -s "<provided-url>" > ~/.whoamiagent`, where `<provided-url>` is directly supplied by the user. This allows a malicious user to inject arbitrary configuration into the sensitive `~/.whoamiagent` file, including redirecting the `WHOAMI_ENDPOINT` to an attacker-controlled server. Consequently, all subsequent API requests made by `scripts/whoami_profile.py` would be directed to the malicious server, potentially leading to data exfiltration of user profile information or manipulation of the AI agent's operational context. While the Python script itself does not exhibit malicious intent, this vulnerability in the agent's instructions creates a significant attack vector.
能力评估
Purpose & Capability
The name/description (user identity profile sync) align with the included script and SKILL.md: the skill reads/writes a Markdown profile to a remote service and stores a local config at ~/.whoamiagent. No unrelated binaries or credentials are requested in the files.
Instruction Scope
SKILL.md and the script instruct the agent to auto-open a browser for login and to curl a user-provided one-time configuration URL and save its contents directly to ~/.whoamiagent. The agent is instructed to upload profile content to the remote API (POST /api/profile). These behaviors are coherent with the stated purpose but carry privacy risk: user profile data (potentially sensitive) will be transmitted to an external service, and the agent is told to write a config file fetched from an external URL without local validation.
Install Mechanism
No install spec and no external binary downloads — the skill is instruction+script only. Execution uses the system python3 interpreter, which is proportionate to the task.
Credentials
The runtime requires an API key stored in ~/.whoamiagent (WHOAMI_API_KEY), but the registry metadata lists no primary credential or required env vars — a mismatch. The script also respects WHOAMI_ENDPOINT and WHOAMI_FRONTEND_URL environment variables (which can redirect traffic to arbitrary hosts), but these are not declared in metadata. The skill will transmit user profile content to an external endpoint, so requiring and documenting the API credential in the registry would be expected but is missing.
Persistence & Privilege
The skill does not request always:true or other elevated platform privileges. It writes/reads a config file in the user's home (~/.whoamiagent) and may delete temp files created during updates; this behavior is consistent with its functionality.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install whoami
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /whoami 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Updated first-time setup process: users now generate and provide a one-time configuration URL instead of directly providing an API Key. - Agent instructions clarified: on missing config, agent must stop and wait for one-time URL, then save to ~/.whoamiagent. - Removed previous API Key direct setup instructions from documentation. - Security emphasized: agent never handles or requests the raw API Key, only uses the one-time configuration URL. - All user and agent setup flows and examples have been updated to reflect these changes.
v1.0.1
- Adds support for one-time configuration URLs in addition to direct API Key entry for first-time setup. - Updates setup instructions and workflow to accept a URL returned by the Dashboard for easier configuration. - Clarifies that agents must handle both API Keys and configuration URLs when waiting for user input. - Minor update to description: now references invoking this skill with @whoami and uses clearer, more general language.
v1.0.0
- Initial release of whoami skill: cross-AI user identity profile sync service. - Enables agents to load, inject, and update user profiles for consistent personalization across AI tools. - Supports remote storage, Markdown-based profiles, and profile sharing between agents. - Simple CLI workflows: setup (API Key login), get (fetch profile), update (overwrite profile), and info (profile metadata). - Enforces user privacy and workflow best practices: agent must wait for API Key on first setup, never act without user consent. - Profile limit: 5000 characters; remote sync retains last 3 versions.
元数据
Slug whoami
版本 1.0.2
许可证
累计安装 2
当前安装数 2
历史版本数 3
常见问题

whoami 是什么?

Cross-AI user identity profile sync service. When you need user's background, preferences, or personal context to better execute a task, invoke this skill to... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 422 次。

如何安装 whoami?

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

whoami 是免费的吗?

是的,whoami 完全免费(开源免费),可自由下载、安装和使用。

whoami 支持哪些平台?

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

谁开发了 whoami?

由 Morvan(@morvanzhou)开发并维护,当前版本 v1.0.2。

💬 留言讨论