skills/sebas-aikon-intelligence/antigravity-awesome-skills/autonomous-agent-patterns/Gen Agent Trust Hub
autonomous-agent-patterns
Warn
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The
MCPAgent.create_toolmethod inSKILL.mdimplements a pattern where the agent generates Python code via an LLM, writes that code directly to a file (server.py), and then immediately loads and executes it viaconnect_server. This represents a self-modifying code pattern that could be exploited to execute arbitrary logic. - [COMMAND_EXECUTION]: The
SandboxedExecution.execute_sandboxedmethod inSKILL.mdusessubprocess.runwithshell=True. Although it includes a validation step for the base command, usingshell=Trueincreases the risk of shell injection if the validation logic is bypassed. - [DATA_EXFILTRATION]: The
ContextManager.add_urlmethod inSKILL.mduses therequestslibrary to fetch content from arbitrary external URLs. This capability can be used to exfiltrate data or retrieve malicious payloads from remote servers. - [INDIRECT_PROMPT_INJECTION]: The skill describes architecture for agents that ingest untrusted data from various sources.
- Ingestion points:
ContextManager(SKILL.md) ingests data from local files, folders, and external URLs. - Boundary markers: The
format_for_promptmethod uses standard markdown headers but lacks explicit instructions to the LLM to ignore embedded commands within the content. - Capability inventory: The skill provides templates for shell command execution (
SandboxedExecution), file modification (EditFileTool), and browser automation (BrowserTool). - Sanitization: No explicit sanitization or escaping of external content is present in the
ContextManageror prompt formatting logic.
Audit Metadata