blockwork
The pnpm install runs in the project's own ui directory during prepare(), which is a standard part of building the project from source; the dependencies are declared by the project itself and not externally injected.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The pnpm install runs in the project's own ui directory during prepare(), which is a standard part of building the project from source; the dependencies are declared by the project itself and not externally injected.
1 higher static finding superseded - not the current verdict (shown for transparency)
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:25
pnpm install --dir ui
PKGBUILD
1 offending line(s) highlighted# Maintainer: Ethan Stokes <erstokes10@gmail.com>
pkgname=blockwork
pkgver=0.5.4
pkgrel=2
pkgdesc='A Tauri app to visually create and run macros on Windows, Linux, and macOS.'
url='https://github.com/Blockworked/Blockwork'
arch=('x86_64')
license=('GPL-3.0-only')
makedepends=('cargo' 'git' 'pnpm')
depends=(
'gtk3' 'nss' 'alsa-lib' 'hicolor-icon-theme' 'webkit2gtk-4.1'
'libgcc' 'glibc'
)
conflicts=('macros')
provides=('macros')
source=("$pkgname-$pkgver.tar.gz::https://github.com/EthanRStokes/Blockwork/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('95e14e941ac89f356064f4697d1d3f9b02a33916be5fbdcff2a3f9e9aee7db33')
options=('!lto')
prepare() {
cd "$srcdir/Blockwork-$pkgver"
cargo fetch
pnpm install --dir ui
}
build() {
cd "$srcdir/Blockwork-$pkgver"
export BLOCKWORK_PNPM_OFFLINE=1
cargo build --release --frozen --workspace --exclude blockwork-linux-bridge
}
package() {
cd "$srcdir/Blockwork-$pkgver"
local libdir="$pkgdir/usr/lib/blockwork"
# Binary's RUNPATH is $ORIGIN, so the CEF runtime payload (libcef.so,
# GL/Vulkan shims, *.pak, icudtl.dat, locales/, ...) has to live alongside
# it in a private libdir, not /usr/bin.
install -Dm755 "target/release/blockwork" "$libdir/blockwork"
install -Dm755 "target/release/blockwork-daemon" "$libdir/blockwork-daemon"
install -Dm755 "target/release/libcef.so" "$libdir/libcef.so"
install -Dm755 "target/release/libEGL.so" "$libdir/libEGL.so"
install -Dm755 "target/release/libGLESv2.so" "$libdir/libGLESv2.so"
install -Dm755 "target/release/libvk_swiftshader.so" "$libdir/libvk_swiftshader.so"
install -Dm755 "target/release/libvulkan.so.1" "$libdir/libvulkan.so.1"
install -Dm755 "target/release/chrome-sandbox" "$libdir/chrome-sandbox"
install -Dm644 "target/release/vk_swiftshader_icd.json" "$libdir/vk_swiftshader_icd.json"
install -Dm644 "target/release/icudtl.dat" "$libdir/icudtl.dat"
install -Dm644 "target/release/v8_context_snapshot.bin" "$libdir/v8_context_snapshot.bin"
install -Dm644 "target/release/chrome_100_percent.pak" "$libdir/chrome_100_percent.pak"
install -Dm644 "target/release/chrome_200_percent.pak" "$libdir/chrome_200_percent.pak"
install -Dm644 "target/release/resources.pak" "$libdir/resources.pak"
cp -r "target/release/locales" "$libdir/locales"
install -d "$pkgdir/usr/bin"
ln -sf /usr/lib/blockwork/blockwork "$pkgdir/usr/bin/blockwork"
install -Dm644 "res/icons/blockwork.png" "$pkgdir"/usr/share/icons/hicolor/256x256/apps/blockwork.png
install -Dm644 "res/blockwork.desktop" "$pkgdir"/usr/share/applications/blockwork.desktop
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 00:14:55 | Low | 2 |
| 2026-10-23 00:02:19 | Low | 2 |
| 2026-10-22 00:13:10 | Low | 2 |
| 2026-10-21 00:12:50 | Low | 2 |
| 2026-10-20 00:10:31 | Low | 2 |
| 2026-10-19 00:03:55 | Low | 2 |
| 2026-10-18 00:06:55 | Low | 2 |
| 2026-10-17 00:21:55 | Low | 2 |
| 2026-10-16 00:12:47 | Low | 2 |
| 2026-10-15 00:28:05 | Low | 2 |
| 2026-10-14 00:06:47 | Low | 2 |
| 2026-10-13 00:23:45 | Low | 2 |
| 2026-10-12 00:18:51 | Low | 2 |
| 2026-10-11 00:26:05 | Low | 2 |
| 2026-10-10 00:11:52 | Low | 2 |
| 2026-10-09 00:05:33 | Low | 2 |
| 2026-10-08 00:28:03 | Low | 2 |
| 2026-10-07 00:21:34 | Low | 2 |
| 2026-10-06 00:13:36 | Low | 2 |
| 2026-10-05 00:08:03 | Low | 2 |