blockwork

LOW
maintainer ethanstokes 0 votes scanned 2026-10-24 00:14:55.209548
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium npm/yarn/pnpm install of an undeclared external package 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
1# Maintainer: Ethan Stokes <erstokes10@gmail.com>
2
3pkgname=blockwork
4pkgver=0.5.4
5pkgrel=2
6pkgdesc='A Tauri app to visually create and run macros on Windows, Linux, and macOS.'
7url='https://github.com/Blockworked/Blockwork'
8arch=('x86_64')
9license=('GPL-3.0-only')
10makedepends=('cargo' 'git' 'pnpm')
11depends=(
12 'gtk3' 'nss' 'alsa-lib' 'hicolor-icon-theme' 'webkit2gtk-4.1'
13 'libgcc' 'glibc'
14)
15conflicts=('macros')
16provides=('macros')
17source=("$pkgname-$pkgver.tar.gz::https://github.com/EthanRStokes/Blockwork/archive/refs/tags/${pkgver}.tar.gz")
18sha256sums=('95e14e941ac89f356064f4697d1d3f9b02a33916be5fbdcff2a3f9e9aee7db33')
19options=('!lto')
20
21prepare() {
22 cd "$srcdir/Blockwork-$pkgver"
23
24 cargo fetch
25 pnpm install --dir ui
26}
27
28build() {
29 cd "$srcdir/Blockwork-$pkgver"
30 export BLOCKWORK_PNPM_OFFLINE=1
31 cargo build --release --frozen --workspace --exclude blockwork-linux-bridge
32}
33
34package() {
35 cd "$srcdir/Blockwork-$pkgver"
36
37 local libdir="$pkgdir/usr/lib/blockwork"
38
39 # Binary's RUNPATH is $ORIGIN, so the CEF runtime payload (libcef.so,
40 # GL/Vulkan shims, *.pak, icudtl.dat, locales/, ...) has to live alongside
41 # it in a private libdir, not /usr/bin.
42 install -Dm755 "target/release/blockwork" "$libdir/blockwork"
43 install -Dm755 "target/release/blockwork-daemon" "$libdir/blockwork-daemon"
44 install -Dm755 "target/release/libcef.so" "$libdir/libcef.so"
45 install -Dm755 "target/release/libEGL.so" "$libdir/libEGL.so"
46 install -Dm755 "target/release/libGLESv2.so" "$libdir/libGLESv2.so"
47 install -Dm755 "target/release/libvk_swiftshader.so" "$libdir/libvk_swiftshader.so"
48 install -Dm755 "target/release/libvulkan.so.1" "$libdir/libvulkan.so.1"
49 install -Dm755 "target/release/chrome-sandbox" "$libdir/chrome-sandbox"
50 install -Dm644 "target/release/vk_swiftshader_icd.json" "$libdir/vk_swiftshader_icd.json"
51 install -Dm644 "target/release/icudtl.dat" "$libdir/icudtl.dat"
52 install -Dm644 "target/release/v8_context_snapshot.bin" "$libdir/v8_context_snapshot.bin"
53 install -Dm644 "target/release/chrome_100_percent.pak" "$libdir/chrome_100_percent.pak"
54 install -Dm644 "target/release/chrome_200_percent.pak" "$libdir/chrome_200_percent.pak"
55 install -Dm644 "target/release/resources.pak" "$libdir/resources.pak"
56 cp -r "target/release/locales" "$libdir/locales"
57
58 install -d "$pkgdir/usr/bin"
59 ln -sf /usr/lib/blockwork/blockwork "$pkgdir/usr/bin/blockwork"
60
61 install -Dm644 "res/icons/blockwork.png" "$pkgdir"/usr/share/icons/hicolor/256x256/apps/blockwork.png
62 install -Dm644 "res/blockwork.desktop" "$pkgdir"/usr/share/applications/blockwork.desktop
63}
64

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion