Smart Agent Workflow
Analysis
This workflow skill is not clearly malicious, but its included memory and collaboration components can persist/share user information and write files without tight boundaries, so it should be reviewed carefully.
Findings (6)
Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.
Checks for instructions or behavior that redirect the agent, misuse tools, execute unexpected code, cascade across systems, exploit user trust, or continue outside the intended task.
主动执行,不反复询问 — 自主判断执行,只在涉钱/权限/删除时才询问
This deliberately alters the agent's default stopping and confirmation behavior; it is aligned with the workflow purpose, but users should notice the broader autonomy.
path = os.path.join(self.storage_dir, f"{user_id}_history.json") ... os.remove(path)The code uses user_id directly in filesystem paths for reads, writes, and deletes without visible sanitization, normalization, or enforcement that the resolved path stays inside storage_dir.
curl -fsSL https://ollama.com/install.sh | sh
The Ollama setup docs include a user-directed remote shell installer; it is not automatically run by the skill, but it is an unpinned external install path.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
export TELEGRAM_BOT_TOKEN="你的Bot Token"
Optional setup documentation asks for Telegram bot credentials even though the registry metadata declares no required credentials; no leakage or hardcoded token is shown.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
history.append({"role": "user", "content": user_message}) ... parts.append(f"\n【用户记忆】\n{memory}")The module persists user messages and later injects stored memory into the system prompt; its async compression path also sends history to the configured AI client, with no evident redaction or memory-trust separation in the code.
Agent B 定期扫描日志 → 发现 @Lily → 开始执行
The collaboration design lets agents act on shared logs/task boards and session messages, but the artifacts do not define sender authentication, authorization, or origin validation for those instructions.
