Scan Report
20 /100
clawtraces
Scan local OpenClaw session logs, convert to Anthropic trajectory format, and submit to collection server
A legitimate data collection tool for OpenClaw sessions with transparent declared behavior, HTTPS communications, and user confirmation workflows. Minor concerns around regex-only PII scrubbing and external data submission, but no malicious indicators found.
Safe to install
Approve for use with standard precautions. Ensure api.shixiann.com privacy policy is reviewed before submitting personal workspace files. Consider adding structured PII detection (e.g., presidio) instead of regex-only scrubbing.
Findings 3 items
| Severity | Finding | Location |
|---|---|---|
| Low | User conversation data and workspace files uploaded to external server Data Exfil | scripts/submit.py, scripts/workspace_bundle.py:55 |
| Low | Regex-only PII scrubber with limited pattern coverage Sensitive Access | scripts/lib/pii_scrubber.py:10 |
| Low | Workspace file upload scope is broader than session data Doc Mismatch | scripts/workspace_bundle.py:24 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | READ | READ | ✓ Aligned | SKILL.md declares session scanning; session_index.py reads ~/.openclaw/* |
| Network | WRITE | WRITE | ✓ Aligned | SKILL.md declares server submission; auth.py, submit.py POST to api.shixiann.com |
| Shell | READ | READ | ✓ Aligned | SKILL.md declares openclaw gateway restart; env_check.py modifies ~/.openclaw/op… |
| Environment | READ | READ | ✓ Aligned | OPENCLAW_STATE_DIR checked in workspace_bundle.py, session_index.py |
| Skill Invoke | WRITE | WRITE | ✓ Aligned | This is the skill itself; self-invocation is core functionality |
| Clipboard | NONE | NONE | — | No clipboard access found in any script |
| Browser | NONE | NONE | — | No browser automation found |
| Database | NONE | NONE | — | No direct database access; only file-based session storage read |
4 findings
Medium External URL 外部 URL
https://api.shixiann.com scripts/lib/auth.py:67 Medium External URL 外部 URL
https://docs.openclaw.ai scripts/lib/system_prompt_builder.py:693 Medium External URL 外部 URL
https://discord.com/invite/clawd scripts/lib/system_prompt_builder.py:695 Medium External URL 外部 URL
https://clawhub.ai scripts/lib/system_prompt_builder.py:696 File Tree
20 files · 181.0 KB · 4865 lines Python 19f · 4444L
Markdown 1f · 421L
├─
▾
scripts
│ ├─
▾
lib
│ │ ├─
__init__.py
Python
│ │ ├─
auth.py
Python
│ │ ├─
cache_trace.py
Python
│ │ ├─
converter.py
Python
│ │ ├─
dag.py
Python
│ │ ├─
metadata_stripper.py
Python
│ │ ├─
pii_scrubber.py
Python
│ │ ├─
quality_checker.py
Python
│ │ ├─
session_index.py
Python
│ │ ├─
system_prompt_builder.py
Python
│ │ └─
tool_registry.py
Python
│ ├─
convert_to_openai.py
Python
│ ├─
env_check.py
Python
│ ├─
query.py
Python
│ ├─
reasoning_stats.py
Python
│ ├─
reject.py
Python
│ ├─
scan_and_convert.py
Python
│ ├─
submit.py
Python
│ └─
workspace_bundle.py
Python
└─
SKILL.md
Markdown
Security Positives
✓ Full HTTPS/TLS implementation with bundled CA certificates and fallback chain
✓ SKILL.md is comprehensive and accurately describes all behavior
✓ Two-phase upload with mandatory user confirmation for workspace files (--bundle-only then --upload-only)
✓ PII scrubber is applied before workspace file upload with visible redaction statistics
✓ manifest.json tracks submitted/rejected sessions to prevent duplicate uploads
✓ No obfuscation, base64-encoded execution, or suspicious encoding patterns
✓ No credential harvesting from environment variables or sensitive paths like ~/.ssh or ~/.aws
✓ No reverse shell, C2, or data exfiltration to unknown IPs
✓ API key is user-specific (phone+SMS authentication) and stored locally only
✓ 401 responses automatically clear stored key and prompt re-authentication
✓ No curl|bash or direct shell command injection patterns found
✓ All dependencies are standard library (no third-party pip dependencies)
✓ openclaw gateway restart is declared in SKILL.md and necessary for config changes