Agent Factory

PassAudited by VirusTotal on May 11, 2026.

Overview

Type: OpenClaw Skill Name: agent-factory-100 Version: 1.0.0 The skill bundle provides a legitimate utility for automating the creation of sub-agent directory structures and configuration files. The script `scripts/create_agent.sh` performs basic file and directory operations consistent with the stated purpose and contains no evidence of malicious intent, data exfiltration, or unauthorized execution.

Findings (0)

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.

What this means

A user may not be installing or reviewing the package identity they expect, which weakens trust in updates and provenance.

Why it was flagged

This embedded metadata conflicts with the registry metadata shown for owner, slug, and version; SKILL.md also documents installing 'sub-agent-factory' while the evaluated registry slug is 'agent-factory-100'.

Skill content
"ownerId": "kn725q11g4d88mxsn46ghhf7qx81nj3s", "slug": "sub-agent-factory", "version": "1.1.0"
Recommendation

Verify the publisher and intended slug before installing; the package should be republished with consistent registry metadata, _meta.json, and installation instructions.

What this means

A crafted or accidental agent name could create directories or overwrite a SKILL.md outside the intended agents folder.

Why it was flagged

The script builds filesystem paths directly from the user-controlled agent name and overwrites SKILL.md without validating against '..', slashes, absolute paths, or existing files.

Skill content
NAME=$1
DIR="agents/$NAME"
mkdir -p "$DIR/inbox" "$DIR/outbox" "$DIR/workspace"
...
cat <<EOM > "$DIR/SKILL.md"
Recommendation

Only use simple safe agent names, run the script in a disposable workspace, and update the script to reject path separators, '..', absolute paths, and existing target files.

What this means

Anything placed in an agent's inbox may be treated as an instruction, and outputs written to outbox may be read or reused later.

Why it was flagged

The generated agent definition relies on file-based inbox/outbox communication, but the artifacts do not define message origin, trust boundaries, or access controls for those folders.

Skill content
Read instructions from ./inbox and write outputs to ./outbox.
Recommendation

Keep each agent's inbox/outbox private to the task, avoid placing secrets there, and review messages before letting an agent act on them.