frappe-builder
Pass
Audited by Gen Agent Trust Hub on Nov 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/builder.pyextensively usessubprocess.runandsubprocess.Popento execute system commands includingfrappectl,git,bench,uv, andnpxto perform site management tasks. - [EXTERNAL_DOWNLOADS]: The skill's
connectcommand automatically installs or upgrades thefrappectlCLI tool from the internet using theuvtool manager. It also utilizesnpx skills updateto fetch and apply updates to the skill's own source code. - [DYNAMIC_EXECUTION]: The skill manages and synchronizes server-side Python logic (e.g.,
data_script.py) and client-side JavaScript, which are pushed to and executed on the remote Frappe site as part of the website's functionality. - [INDIRECT_PROMPT_INJECTION]: The skill acts as an ingestion point for untrusted data from remote Frappe sites (via the
pullcommand). While the skill includes a linter (scripts/lint.py) to detect dangerous patterns like.__or{#in Jinja templates, there is an inherent risk surface when the agent processes and acts upon external website configurations. - Ingestion points: Data is pulled from remote Frappe sites into local JSON and Python files (e.g.,
blocks.json,data_script.py) viascripts/builder.py. - Boundary markers: Data is isolated within a work directory (default
.builder/). - Capability inventory: Extensive command execution capabilities (
subprocess.run), file system access, and network communication viafrappectlandcurl. - Sanitization: Implements a dedicated linter in
scripts/lint.pythat checks for known dangerous patterns in block trees and scripts.
Audit Metadata