dp-dev-bootstrap
Warn
Audited by Gen Agent Trust Hub on Sep 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONPRIVILEGE_ESCALATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The core logic in
scripts/preflight.mjsusesspawnSyncwithshell: trueto execute arbitrary strings defined asfixCmdorcheck.cmdin the profile JSON files. This allows the execution of arbitrary shell commands likepnpm,winget, andnode. - [DYNAMIC_EXECUTION]: The skill executes dynamic Node.js code snippets via
node -eto perform system checks. These snippets are stored in theprofiles/configuration and executed at runtime. - [PRIVILEGE_ESCALATION]: The skill facilitates the installation of system-level software, such as Visual Studio Build Tools, using
winget. These operations typically require administrative privileges and modify the underlying operating system environment. - [INDIRECT_PROMPT_INJECTION]: The
commandSucceedscheck forbetter-sqlite3-nativeinprofiles/deepworks.jsonattempts to import and execute a JavaScript module located within the repository being scanned (./scripts/lib/electron-native-dependencies.mjs). A malicious repository could provide a compromised version of this file to achieve code execution when the user runs the bootstrap tool. - Ingestion points: The
runCheckfunction inscripts/preflight.mjsexecutes commands that reference files within the target repository provided via the--repoargument. - Boundary markers: None. The skill assumes the contents of the target repository are safe to execute/import for the purpose of checking dependencies.
- Capability inventory: The skill has the capability to execute shell commands (
spawnSync), read files (readFileSync), and perform file system checks (existsSync) across the host machine. - Sanitization: There is no sanitization or validation of the contents of the files imported from the target repository before execution.
Audit Metadata