macros
The pnpm install runs on the project's own source from a tagged GitHub release, building a declared dependency for the UI; this is normal for Tauri apps and not a supply-chain risk.
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 on the project's own source from a tagged GitHub release, building a declared dependency for the UI; this is normal for Tauri apps and not a supply-chain risk.
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=macros
pkgver=0.4.0
pkgrel=1
pkgdesc='A Tauri app to manage and run macros on Linux.'
url='https://github.com/EthanRStokes/macros'
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/macros/archive/refs/tags/${pkgver}.tar.gz")
sha256sums=('9a997c09f340eed31e36663039cd5d58d26a31e22da5e4c049ab644a5b9b0e91')
options=('!lto')
prepare() {
cd "$srcdir/Macros-$pkgver"
cargo fetch
pnpm install --dir ui
}
build() {
cd "$srcdir/Macros-$pkgver"
export MACROS_PNPM_OFFLINE=1
cargo build --release --frozen
}
package() {
cd "$srcdir/Macros-$pkgver"
local libdir="$pkgdir/usr/lib/macros"
# 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/macros" "$libdir/macros"
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/macros/macros "$pkgdir/usr/bin/macros"
install -Dm644 "res/icons/macros.png" "$pkgdir"/usr/share/icons/hicolor/256x256/apps/macros.png
install -Dm644 "res/macros.desktop" "$pkgdir"/usr/share/applications/macros.desktop
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |