lenny-skillpack-creator
Fail
Audited by Gen Agent Trust Hub on Feb 16, 2026
Risk Level: HIGHEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- EXTERNAL_DOWNLOADS (MEDIUM): The script
scripts/fetch_refound_skills.pyperforms network requests torefoundai.com(a non-whitelisted/untrusted domain) to download content. While it downloads Markdown/HTML rather than executables, this content is subsequently processed by the agent. - **PROMPT_INJECTION (HIGH
- Indirect):** The skill is highly vulnerable to Indirect Prompt Injection (Category 8) because its core purpose is to ingest untrusted data (from the web or user input) and transform it into executable instructions.
- Ingestion points:
scripts/fetch_refound_skills.py(network) andscripts/extract_lenny_skill.py(local file read of untrusted content). - Boundary markers: While
references/SECURITY_GUIDE.mdacknowledges the risk, there are no technical enforcement mechanisms (like XML tags or strict delimiters) in the provided scripts to isolate untrusted data during processing. - Capability inventory: The skill possesses extensive file-system write capabilities (
Path.write_text,os.mkdirinscripts/init_skillpack.pyandscripts/batch_init_skillpacks.py) and command execution capabilities (subprocess.callinscripts/package_skillpack.py). - Sanitization: The skill uses
yaml.safe_loadand basic slugification for filenames, but lacks content sanitization to prevent malicious instructions in the source content from influencing the agent's output generation. - COMMAND_EXECUTION (MEDIUM):
scripts/package_skillpack.pyusessubprocess.callto execute the local Python interpreter. While it targets a specific local script (lint_skillpack.py), the pattern of spawning child processes on directories containing potentially malicious, newly-generated content increases the attack surface. - DATA_EXFILTRATION (LOW):
scripts/fetch_refound_skills.pyuses therequestslibrary to connect to external sites. While currently used for downloading, this capability could be repurposed for exfiltration if the agent is manipulated via prompt injection.
Recommendations
- AI detected serious security threats
Audit Metadata