moai-learning-optimizer
Warn
Audited by Gen Agent Trust Hub on Mar 1, 2026
Risk Level: MEDIUMPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill implements an indirect prompt injection surface by ingesting untrusted data to influence agent behavior and response strategies.
- Ingestion points: Processes data through
learn_from_session(session_data),adapt_responses(user_feedback), andintegrate_user_feedback(feedback_data)in the SKILL.md file. - Boundary markers: No boundary markers or instructions to ignore embedded commands were found in the processing logic for external data.
- Capability inventory: The skill utilizes the
Bash,Write,Read,Glob, andGreptools, providing high-privilege access to the underlying system. - Sanitization: The provided logic does not demonstrate any sanitization, validation, or escaping of the ingested data signals before they are used to update system preferences or strategies.
- [COMMAND_EXECUTION]: The skill requests the
BashandWritetools to perform "system evolution" and "performance tuning." The logic includes executing an "evolution roadmap" viaimplement_evolution_step, which allows for the execution of shell commands or scripts generated from processed patterns and user interactions. - [COMMAND_EXECUTION]: The functions
execute_evolutionandimplement_optimizationsuggest a framework for runtime modification of the system environment based on the output of the learning engine, which could be exploited to run arbitrary commands if the analysis is manipulated.
Audit Metadata