moai-foundation-quality
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/quality-gate.shdynamically generates a Python analysis tool using a heredoc and executes it at runtime viapython3 -c. This pattern is used to bridge the shell environment with the Python-based quality engine. - [INDIRECT_PROMPT_INJECTION]: The skill processes external codebase data from user-specified directories (e.g.,
src/). This untrusted data is ingested for quality analysis. The skill possesses capabilities to write files (reports) and execute commands via theBashtool, representing a potential attack surface for indirect injections. Evidence includes: - Ingestion points: Files within the path provided to
analyze_codebase()or thequality-gate.shscript. - Boundary markers: None identified in the provided scripts or documentation.
- Capability inventory: File writing (via
QualityOrchestrator.generate_report), network operations (viaContext7Client), and shell execution (viaBashtool andquality-gate.sh). - Sanitization: No specific content sanitization or instruction-ignoring delimiters are documented for the analysis phase.
- [EXTERNAL_DOWNLOADS]: The skill and its integration templates (e.g.,
examples.md,github-actions-quality.yml) perform installations of external packages includingmoai-core-quality,moai-foundation-quality,eslint, andprettierfrom public registries. These are documented as vendor resources and standard development tools. - [COMMAND_EXECUTION]: The skill relies on the
Bashtool to execute thequality-gate.shscript, which invokes system utilities such asfind,jq, andpython3to facilitate the quality gate process.
Audit Metadata