bakajiten-git
The build() function runs 'cargo install' from a GitHub repository (NordSecurity/uniffi-bindgen-cpp) at build time, downloading and compiling unreviewed external Rust code; while the source is a plausible legitimate project (NordSecurity is a known vendor), this pattern of fetching and executing external code during the build introduces supply-chain risk if that repo or tag were compromised, and the checksum is SKIP'd for the main source.
Triggered rules
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:28
cargo install uniffi-bindgen-cpp \
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
An AI model (anthropic/claude-sonnet-4.6) reviewed this and agrees it is MEDIUM (confidence 70%): The build() function runs 'cargo install' from a GitHub repository (NordSecurity/uniffi-bindgen-cpp) at build time, downloading and compiling unreviewed external Rust code; while the source is a plausible legitimate project (NordSecurity is a known vendor), this pattern of fetching and executing external code during the build introduces supply-chain risk if that repo or tag were compromised, and the checksum is SKIP'd for the main source.
PKGBUILD
1 offending line(s) highlighted# Maintainer: bakatrouble <bakatrouble@gmail.com>
pkgname=bakajiten-git
_pkgname=bakajiten
pkgver=0.1.0.r1.g402b4bc
pkgrel=1
pkgdesc='Japanese dictionary with handwriting recognition'
arch=('x86_64')
url='https://github.com/bakatrouble/bakajiten'
license=('MIT')
depends=('qt6-base' 'qt6-svg' 'yaml-cpp' 'hicolor-icon-theme' 'noto-fonts-cjk')
makedepends=('git' 'cmake' 'ninja' 'rust')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("git+$url.git")
sha256sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
# UniFFI C++ generator, pinned like CI (uniffi-bindgen-cpp
# v0.10.0+v0.31.0 for the workspace's uniffi 0.31). Isolated
# cargo home so the builder's own registry stays untouched.
export CARGO_HOME="$srcdir/cargo-home"
export PATH="$CARGO_HOME/bin:$PATH"
cargo install uniffi-bindgen-cpp \
--git https://github.com/NordSecurity/uniffi-bindgen-cpp \
--tag v0.10.0+v0.31.0
cmake -S "$_pkgname/frontends/frontend_qt" -B build -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_QT_TESTS=OFF \
-DDEV_UILOADER=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build --prefix /usr
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-18 21:24:45 | Medium | 3 |
| 2026-10-18 21:23:05 | Medium | 2 |