Agent Forge
Analysis
Agent Forge is purpose-aligned but high-impact: it creates persistent agents, changes OpenClaw permissions, exposes cross-agent sessions, and uses shell helpers with unsafe path handling.
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.
AGENT_ID="${1:-}" ... rm -rf "$AGENTS_DIR/$AGENT_ID"The removal helper uses the supplied agent ID directly in an rm -rf path and only checks that it is non-empty; it does not enforce the lowercase/hyphen ID format described in SKILL.md. IDs containing slashes or traversal components could target unintended paths.
创建完整、独立、可运行的 OpenClaw agent ... `cron`, `session_status`, `subagents`
Creating independent runnable agents with optional cron, subagent, and session tools is the stated purpose, but it creates persistent autonomous capability that should be deliberately approved.
Source: unknown; Homepage: none
The skill includes executable shell scripts, but the registry metadata does not provide a source repository or homepage for provenance review.
Checks whether tool use, credentials, dependencies, identity, account access, or inter-agent boundaries are broader than the stated purpose.
立即调用 `gateway config.patch` 更新 ... `agents.list[main].subagents.allowAgents` ... `tools.agentToAgent.allow` ... `tools.sessions.visibility` — 确保为 `"all"`
The workflow requires automatic gateway permission changes that add the new agent to subagent and agent-to-agent allow lists and make all sessions visible.
Checks for exposed credentials, poisoned memory or context, unclear communication boundaries, or sensitive data that could leave the user's control.
调用 `sessions_list()` 查看所有活跃 session ... 取其 `sessionKey` 传入 `sessions_send`
The generated inter-agent protocol teaches agents to enumerate active sessions and send messages by session key, while the gateway patch sets session visibility to all.
cp "$MAIN_USER" "$AGENT_WORKSPACE/USER.md" ... cat > "$AGENT_WORKSPACE/MEMORY.md"
The deploy script copies the main USER.md into each new agent workspace and creates persistent memory files for that agent.
