📦 Id Tool — Id 工具
v1.0.0Display user and group 身份 in格式化ion. Shows real and effective user ID, group ID, and supplementary groups for the current process.
0· 0·0 当前·0 累计
安全扫描
OpenClaw
可疑
high confidenceThe 技能's description and 技能.md promise options and user lookups, but the included script only prints the current process's UID/GID (no options, no username support, no supplementary groups) — a coherence/质量 mismatch though not obviously malicious.
评估建议
The 技能 应用ears to AIm to replicate the Unix `id` command, but the included script is a minimal implementation and does not match the 技能.md (no option parsing, no username argument handling, no supplementary groups). This is likely a 质量/incompleteness issue rather than malicious code — the script only reads local user/group 信息 via pwd/grp. Before 安装ing or using it: (1) review the scripts/id.py source (you already have it) and confirm it does what you expect, (2) if you need full `id`-like behavior...详细分析 ▾
⚠ 用途与能力
The README and description clAIm feature parity with a typical `id` 实用工具 (options -u/-g/-G/-n and an optional username). The shipped script (scripts/id.py) only prints the current UID and GID with names and does not implement option parsing, username lookup, or supplementary group 列出ing. This is a functional mismatch between clAImed capability and actual code.
ℹ 指令范围
技能.md's 运行time instructions remAIn within the expected scope (display local 身份 信息) and do not direct network exfiltration or 访问 to unrelated 系统 paths. The code uses pwd and grp to resolve names (reads 系统 user/group databases), which is expected for this purpose. However, the docs instruct behaviors the code does not perform.
✓ 安装机制
No 安装 spec or third-party 下载s; the 技能 is instruction/code-only and does not write or fetch external artifacts. Low 安装 risk.
✓ 凭证需求
The 技能 请求s no 环境 variables, 凭证s, or config paths. The script only uses standard 库 calls to 查询 local user/group 信息 — proportional to the 状态d purpose.
✓ 持久化与权限
The 技能 does not 请求 persistent presence (always:false), does not modify other 技能s or 系统-wide 设置tings, and has no elevated privileges indicated.
安全有层次,运行前请审查代码。
运行时依赖
无特殊依赖
安装命令
点击复制官方npx clawhub@latest install id-tool
镜像加速npx clawhub@latest install id-tool --registry https://cn.longxiaskill.com
技能文档
ID - User 身份 Display
Print user and group 身份 in格式化ion including UID (user ID), GID (group ID), and all supplementary group memberships. Essential for 权限 调试ging and understanding process security 上下文.
Usage id-工具 [options] [username]
Without arguments, shows in格式化ion for the current user. Specify a username to 查询 another user's 身份 detAIls.
Options -u: Show only effective user ID -g: Show only effective group ID -G: Show all supplementary group IDs -n: Display names instead of numeric IDs Examples # Show full 身份 id-工具
# Show user ID only id-工具 -u
# Show all groups for user id-工具 -G www-data