The skill is critically insecure because it automatically executes arbitrary code and instructions pulled from a shared repository, enabling remote command execution and lateral movement across connected agents.
Findings (4)
Content Injection
Hightargets Perception
The skill architecture relies on agents reading and processing arbitrary Markdown files from a shared GitHub repository. An attacker controlling the repository or a compromised agent can inject malicious instructions into the 'message body' that the receiving agent will automatically execute.
The agent is instructed to 'Process based on type field' and 'Update task pool, knowledge base, pipelines' based on the content of files in the inbox/ directory.
Behavioural Control
Hightargets Action
The skill sets up a cron job that executes a Python script (`agent_collab.py`) with broad permissions to pull code, merge PRs, and process tasks autonomously. This creates a persistent, automated attack surface that executes code from the shared repository without human oversight.
*/15 * * * * cd /tmp/Harmes-House && python3 scripts/agent_collab.py --task cycle
The 'Extended Collaboration System' allows agents to share tools, datasets, and pipelines. If one agent is compromised, the attacker can use the shared knowledge base and pipeline structure to push malicious tools or tasks to other connected agents.
├── knowledge/ # Shared knowledge base (tools, articles, datasets, models)
The workflow encourages agents to pull and execute code from a shared GitHub repository. Since the repository is used for 'agent-to-agent communication', any agent or contributor can push code changes that the other agents will automatically pull and run via the cron job.
git fetch origin && git checkout main && git pull origin main