artifacts-builder
Pass
Audited by Gen Agent Trust Hub on Oct 7, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [COMMAND_EXECUTION]: The skill uses shell scripts (
scripts/init-artifact.shandscripts/bundle-artifact.sh) to automate project scaffolding and bundling. These scripts execute standard development commands such asbun install,bunx vite build, andbun add. - The logic includes robust concurrency handling using atomic directory locks (
.bundle-install.lock) to prevent race conditions during package installation. - Testing scripts (
tests/*.py) utilizesubprocess.runto validate the build pipeline, which is standard practice for infrastructure testing. - [EXTERNAL_DOWNLOADS]: The skill downloads standard frontend dependencies (e.g.,
vite,react,tailwindcss,parse5,css-tree) from the official npm registry usingbun. These are well-known, version-pinned packages required for the skill's primary purpose of building web artifacts. - [DATA_EXFILTRATION]: The bundling script (
scripts/inline-local-assets.mjs) includes significant security protections to prevent data leakage: - It walks the file system component-by-component using
lstatto explicitly reject symlinks and hard links that could point to sensitive files outside the project root (e.g.,~/.sshor~/.aws). - It utilizes a private snapshot directory with restricted permissions (mode 0700) and performs inode/device verification during the inlining process to prevent Time-of-Check to Time-of-Use (TOCTOU) attacks.
- It enforces a strict
within(path, base)check to ensure all assets originate from the build directory or the project'spublic/folder.
Audit Metadata