macros-git
The pnpm install runs on the project's own UI subdirectory from the git source, which is a normal build step for a frontend component, not an external unreviewed package install.
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 UI subdirectory from the git source, which is a normal build step for a frontend component, not an external unreviewed package install.
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:32
pnpm install --dir ui
PKGBUILD
1 offending line(s) highlighted# Maintainer: Ethan Stokes <erstokes10@gmail.com>
pkgname=macros-git
pkgver=0.4.0.r233.01215d8
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=('rust' 'git' 'gcc' 'glibc' 'pnpm')
depends=(
'gtk3' 'nss' 'alsa-lib' 'hicolor-icon-theme' 'webkit2gtk-4.1'
'libgcc' 'glibc'
)
conflicts=('macros')
provides=('macros')
source=("git+https://github.com/EthanRStokes/macros")
sha256sums=('SKIP')
options=('!lto')
pkgver() {
cd "$srcdir/macros"
printf "%s.r%s.%s" "$(git describe --tags --abbrev=0 | sed 's/^v//')" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
}
prepare() {
cd "$srcdir/macros"
git reset --hard HEAD
git_tag="$(git describe --tags --abbrev=0 | sed 's/^v//')"
cargo fetch
pnpm install --dir ui
}
build() {
cd "$srcdir/macros"
export MACROS_PNPM_OFFLINE=1
cargo build --release --frozen
}
package() {
cd "$srcdir/macros"
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-11-01 00:21:48 | Low | 2 |
| 2026-10-31 00:07:41 | Low | 2 |
| 2026-10-30 00:29:30 | Low | 2 |
| 2026-10-29 00:13:55 | Low | 2 |
| 2026-10-28 00:06:54 | Low | 2 |
| 2026-10-27 00:23:28 | Low | 2 |
| 2026-10-26 00:12:40 | Low | 2 |
| 2026-10-25 00:20:48 | Low | 2 |
| 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 |