Skill flagged — suspicious patterns detected

ClawHub Security flagged this skill as suspicious. Review the scan results before using.

Tool Governance

v2.4.0

工具使用安全与可靠性。当工具反复失败、agent 绕过权限否决、或需要破坏性操作保护时使用。不适用于 agent 提前停止(用 execution-loop)或上下文管理(用 context-memory)。参见 error-recovery(限速恢复)。

0· 69·0 current·0 all-time
by_silhouette@lanyasheng
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
medium confidence
!
Purpose & Capability
The SKILL.md and scripts implement tool-governance patterns (error escalation, denial tracking, checkpoint/rollback, input guard) which align with the skill name and description. However the package does not declare required binaries (git, jq, realpath, md5/md5sum/shasum) even though the scripts rely on them; that mismatch between declared requirements (none) and actual runtime dependencies is an incoherence.
!
Instruction Scope
Runtime instructions and provided scripts read assistant messages and tool call payloads from stdin, persist state to the filesystem (session state under HOME/.openclaw/shared-context/sessions), and (for destructive Bash commands) modify git state (git add/stash/git stash apply). SKILL.md references outputs like .claude/tool-errors.json but scripts write to HOME/.openclaw/... — a concrete mismatch. Hooks also perform deterministic actions (permissionDecision / deny) and can auto-roll back git state; these are within governance scope but have side effects that should be explicit.
Install Mechanism
This is instruction-only with bundled scripts and tests (no external install/download). No remote URLs or package installs are used, so install-time code download risk is low.
!
Credentials
The skill requests no declared credentials, but the scripts rely on environment variables (HOME and NC_SESSION/session_id) and create persistent files under the user's home directory. The filesystem and git modifications (creating stashes, adding files to index in some reference variants) are higher-privilege actions relative to a lightweight governance hook and were not explicitly called out in the metadata or requirements.
Persistence & Privilege
always:false and no autonomous-disable flag are fine. The skill writes persistent session state and checkpoint stashes and thus gains ongoing state in the user's HOME; this is expected for a governance/tracking tool but you should be aware it will persist and may alter git state if run in a repo.
What to consider before installing
What to check before installing: - Required tools: the scripts call git, jq, realpath and use md5/md5sum/shasum. Install those or run the skill in an environment that has them. - Files & persistence: the scripts write session state to HOME/.openclaw/shared-context/sessions (tool-errors.json, denials.json). SKILL.md mentions .claude/... but actual scripts use .openclaw — confirm where you want state stored and whether that location is acceptable. - Git side effects: the checkpoint hook can run git add / git stash push / git stash apply; this modifies repo index and stash list and may change working tree state. Do not deploy this on a production repository without backups; test in a disposable repo first. - No network exfiltration appears present, and no credentials are requested, but the skill does inspect assistant messages and tool payloads and persists them locally — consider privacy implications. - If you want to limit blast radius: run hooks in a sandbox or CI/test repo, ensure NC_SESSION is set correctly, or avoid enabling autonomous invocation until you vet behavior. - If you need the skill, consider editing scripts to simplify/limit git operations (e.g., avoid 'git add -A' or require explicit confirmation) and to declare required binaries in metadata so the runtime environment can be prepared. Confidence note: medium — the code is readable and coherent for its purpose, but the undeclared dependencies, path mismatches, and git side effects are significant enough to warrant caution.

Like a lobster shell, security has layers — review code before you run it.

agent-reliabilityvk97csd6gnb1ah7crark7487kjd84bamaharnessvk97csd6gnb1ah7crark7487kjd84bamalatestvk979e4ffg6snqgffhfzz3kdn8d84f5ea

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments