Loading...
Loading...
Compare original and translation side by side
~/.ssh/*~/.aws/*~/.gnupg/*~/.config/gh/hosts.yml~/.env/etc/environment~/.bashrc~/.zshrc~/.profile~/.config/autostart//etc//usr//var/~/.config/google-chrome/~/Library/Application Support/~/.ssh/*~/.aws/*~/.gnupg/*~/.config/gh/hosts.yml~/.env/etc/environment~/.bashrc~/.zshrc~/.profile~/.config/autostart//etc//usr//var/~/.config/google-chrome/~/Library/Application Support/curlwgetncncatbase64openssl encchmod +xchowncrontabsystemctllaunchctlsshscprsyncrm -rfevalsourcecat file | curlnohup&disowngit statusgit loggit diffnpm testpytestgo testnpm installpip installcurlwgetncncatbase64openssl encchmod +xchowncrontabsystemctllaunchctlsshscprsyncrm -rfevalsourcecat file | curlnohup&disowngit statusgit loggit diffnpm testpytestgo testnpm installpip install| Skill Category | Expected Behavior | Anomalous Behavior |
|---|---|---|
| Code reviewer | Reads source files | Reads .env, writes files |
| Test generator | Reads source, writes test files | Network requests, shell access |
| Docs writer | Reads source, writes docs | Reads credential files |
| Security scanner | Reads all project files | Network requests, shell access |
| skill类别 | 预期行为 | 异常行为 |
|---|---|---|
| 代码评审工具 | 读取源文件 | 读取.env、写入文件 |
| 测试生成工具 | 读取源码、写入测试文件 | 发起网络请求、shell访问 |
| 文档编写工具 | 读取源码、写入文档 | 读取凭证文件 |
| 安全扫描工具 | 读取所有项目文件 | 发起网络请求、shell访问 |
SKILL: example-skill
DECLARED PERMISSIONS: fileRead, fileWrite
ACTUAL BEHAVIOR:
[OK] Read src/index.ts
[OK] Write tests/index.test.ts
[VIOLATION] Network request to api.example.com
[VIOLATION] Shell command: curl -X POST ...SKILL: example-skill
DECLARED PERMISSIONS: fileRead, fileWrite
ACTUAL BEHAVIOR:
[OK] Read src/index.ts
[OK] Write tests/index.test.ts
[VIOLATION] Network request to api.example.com
[VIOLATION] Shell command: curl -X POST ...SKILL GUARD ALERT
=================
Skill: <name>
Severity: CRITICAL / HIGH / MEDIUM / LOW
Time: <timestamp>
VIOLATION: <description>
Action: <what the skill did>
Expected: <what it should do based on permissions>
Evidence: <command, file path, or URL>
RECOMMENDATION:
[ ] Terminate the skill immediately
[ ] Revoke the specific permission
[ ] Continue with monitoring
[ ] Report to UseClawPro teamSKILL GUARD ALERT
=================
Skill: <name>
Severity: CRITICAL / HIGH / MEDIUM / LOW
Time: <timestamp>
VIOLATION: <description>
Action: <what the skill did>
Expected: <what it should do based on permissions>
Evidence: <command, file path, or URL>
RECOMMENDATION:
[ ] Terminate the skill immediately
[ ] Revoke the specific permission
[ ] Continue with monitoring
[ ] Report to UseClawPro team| Severity | Trigger | Action |
|---|---|---|
| CRITICAL | Credential file access + network | Terminate immediately, rotate credentials |
| CRITICAL | Reverse shell pattern detected | Terminate, check for persistence |
| HIGH | Undeclared network connections | Pause skill, ask user |
| HIGH | File writes outside workspace | Pause skill, review changes |
| MEDIUM | Undeclared shell commands | Log and continue, alert user |
| LOW | Reading unexpected but non-sensitive files | Log only |
| 严重级别 | 触发条件 | 处理动作 |
|---|---|---|
| CRITICAL(严重) | 访问凭证文件 + 发起网络请求 | 立即终止运行,轮换凭证 |
| CRITICAL(严重) | 检测到反弹shell模式 | 立即终止运行,检查是否存在持久化后门 |
| HIGH(高) | 未声明的网络连接 | 暂停skill运行,询问用户 |
| HIGH(高) | 向工作区外写入文件 | 暂停skill运行,审查修改内容 |
| MEDIUM(中) | 未声明的shell命令 | 记录日志继续运行,告警用户 |
| LOW(低) | 读取非预期但非敏感的文件 | 仅记录日志 |