T08 · Insecure Dependencies
- Location
scripts/install-beyond-ui.sh:59- Finding
Unpinned Third-Party Dependencies Installed Despite Documented High-Severity Advisories
- Content
View full analysis
Vulnerability Details
File Location:
scripts/install-beyond-ui.sh:59-68; supporting advisory documentation atreferences/known-issues.md:3-14
Vulnerability Type: Unpinned and potentially vulnerable third-party dependencies
Risk Level: MediumVulnerable Code
scripts/install-beyond-ui.sh:59-68:bash log "Installing @beyondcorp/beyond-ui with $PACKAGE_MANAGER" run "$INSTALL_CMD @beyondcorp/beyond-ui" log "Ensuring peer dependencies are available" run "$INSTALL_CMD react react-dom" if [[ "$PACKAGE_MANAGER" == "npm" ]]; then # tailwindcss is optional; installing as a dev dependency when using npm log "Optionally installing tailwindcss (skip if not needed)" run "npm install -D tailwindcss"references/known-issues.md:3-14:markdown ## npm audit advisories (2026-03-24) - 53 advisories (8 low / 31 moderate / 14 high) reported. - Major upgrades pending: - Storybook 7 → 10 (multiple transitive advisories). - vite-plugin-dts ≥ 4.5.4 to address `@microsoft/api-extractor` chain. - tsup ≥ 8.5.1 to fix esbuild CVEs. - rollup ≥ 4.59.0 (path traversal). - react-router-dom ≥ 7.12.1 (CSRF/XSS). - react-syntax-highlighter 16.1.1+ (Prism security patch). - Misc utilities (`giget`, `tar`, `cross-spawn`, `validator`, `nanoid`, `brace-expansion`). - Track progress via Trello #10 and note impacts before publishing.Technical Analysis
The installation script installs
@beyondcorp/beyond-ui,react,react-dom, andtailwindcsswithout fixed versions, reviewed version ranges, lockfile enforcement, or integrity verification. The resolved package contents can therefore change between executions even when the Skill itself has not changed.Package-manager installation can also execute dependency lifecycle scripts with the privileges of the user running the Skill. Consequently, compromise of an allowed package release, an unsafe transitive dependency, ...[truncated 2260 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
@beyondcorp/beyond-uiand all directly installed peer dependencies to reviewed versions or narrowly constrained safe ranges. - Provide a reviewed lockfile and use deterministic installation such as
npm ciwhere applicable. - Enforce the minimum patched versions documented in
references/known-issues.md, including relevant Rollup, tsup,vite-plugin-dts, routing, and syntax-highlighting upgrades. - Add a pre-install or CI policy that rejects dependency graphs containing applicable high-severity advisories.
- Verify registry configuration and package integrity before installation. Consider provenance or signature checks when supported by the package manager.
- Review dependency lifecycle scripts before allowing them to execute. For initial inspection, consider installation with lifecycle scripts disabled, followed by explicit approval of required scripts.
- Run installation in a least-privileged, isolated environment without production credentials or unrelated sensitive environment variables.
- Distinguish runtime dependencies from development-only dependencies and avoid installing optional tooling unless the host project requires it.
- Keep the advisory list synchronized with the enforced dependency versions so the installer cannot silently select releases known to remain affected.
- Pin
