nocobase-ui-builder
Warn
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill documentation in
runtime/reference-assets/upstream-js/runjs/context/import-async.mdandrequire-async.mdprovides instructions and examples for usingctx.importAsync()andctx.requireAsync()to dynamically load and execute code from remote CDNs such asesm.shandjsdelivr.net. This allows the agent or generated scripts to run arbitrary remote code. - [DYNAMIC_EXECUTION]: Hard Rule 16 in
SKILL.mdand the authoring loop inreferences/js.mdexplicitly direct the agent to generate JavaScript source code and write it intocodeorscriptfields within the NocoBase UI configuration. This code is then executed in a browser-based sandbox environment. - [DATA_EXFILTRATION]: Documentation in
runtime/reference-assets/upstream-js/runjs/context/get-var.mdconfirms that generated scripts have access toctx.token(the user's API Token). When combined with thectx.request()capability (documented inrequest.md), this provides a mechanism for scripts to harvest and transmit authentication credentials to external endpoints. - [INDIRECT_PROMPT_INJECTION]: Hard Rule 4 in
SKILL.mdinstructs the agent to "treat collection field description as active form-authoring input" and use semantic extraction for behavior rules. This creates an attack surface where a malicious user could embed prompt injection instructions in database metadata (field descriptions) to manipulate the agent's UI construction or code generation logic.
Audit Metadata