jeecg-codegen-new
Pass
Audited by Gen Agent Trust Hub on Jun 13, 2026
Risk Level: SAFECOMMAND_EXECUTIONCREDENTIALS_UNSAFEPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/codegen.pyuses the Pythonsubprocessmodule to execute the Java compiler (javac) and the Java runtime (java). This is used to build and run the internal template engine (FtlRunner.java) included with the skill. - [CREDENTIALS_UNSAFE]: The
SKILL.mdfile contains several command-line examples for interacting with MySQL that include hardcoded default developer credentials (-uroot -proot). - [PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection where data processed by the skill could influence agent behavior.
- Ingestion points: User-provided natural language requirements and database schema information (DDL) retrieved via shell commands in
SKILL.mdenter the agent's context. - Boundary markers: Absent. The skill does not provide specific instructions to the model to ignore or delimit embedded instructions within the ingested data.
- Capability inventory: The skill can write arbitrary files to user-specified directories (
--backend-root,--frontend-root) and execute local shell commands viacodegen.pyandFtlRunner.java. - Sanitization: The
normalize_ctxlogic incodegen.pyprovides structure and defaults but does not sanitize input for potential natural language injection patterns.
- Ingestion points: User-provided natural language requirements and database schema information (DDL) retrieved via shell commands in
Audit Metadata