gpgfrontend
The source uses git repositories, including one from a non-standard host (git.bktus.com), but all sources are version-controlled code repositories used to build the software from source, not prebuilt executables; the worst case of a swapped source would be building malicious code, but this is mitigated by the tag-based checkout and the project's own infrastructure, making it a normal AUR build pattern with low 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 90%): The source uses git repositories, including one from a non-standard host (git.bktus.com), but all sources are version-controlled code repositories used to build the software from source, not prebuilt executables; the worst case of a swapped source would be building malicious code, but this is mitigated by the tag-based checkout and the project's own infrastructure, making it a normal AUR build pattern with low risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
source_untrusted_domain
One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).
-
PKGBUILD:43
'git+https://git.bktus.com/gpgfrontend/vmime.git')
PKGBUILD
1 offending line(s) highlighted# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: Konsonanz <maximilian.lehmann@protonmail.com>
pkgname=gpgfrontend
_app_id="com.bktus.$pkgname"
pkgver=2.2.4
pkgrel=1
pkgdesc="A modern OpenPGP tool with a unique dual-engine core"
arch=('x86_64')
url="https://gpgfrontend.bktus.com"
license=('GPL-3.0-or-later')
depends=(
'gpgme'
'gtest'
'hicolor-icon-theme'
'icu'
'libarchive'
'libgcc'
'libgpg-error'
'libsecret'
'libsodium'
'libstdc++'
'openssl'
'qt6-base'
)
makedepends=(
'cargo'
'cmake'
'desktop-file-utils'
'git'
'ninja'
'python'
'qt6-tools'
)
checkdepends=('appstream')
source=("git+https://github.com/saturneric/GpgFrontend#tag=v$pkgver"
'git+https://github.com/qt/qttranslations.git'
'git+https://github.com/saturneric/GpgFrontend-Modules.git'
'git+https://github.com/gpg/gpgme.git'
'git+https://github.com/gpg/libassuan.git'
'git+https://github.com/gpg/libgpg-error.git'
'git+https://github.com/corrosion-rs/corrosion.git'
'git+https://github.com/lua/lua.git'
'git+https://git.bktus.com/gpgfrontend/vmime.git')
sha256sums=('eb30b8a7e497d717daeca9550f2accc257496f2824b139415a8cec22fe97f16c'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
prepare() {
cd GpgFrontend
git submodule init
git config submodule.third_party/qttranslations.url "$srcdir/qttranslations"
git config submodule.modules.url "$srcdir/GpgFrontend-Modules"
git config submodule.third_party/gpgme.url "$srcdir/gpgme"
git config submodule.third_party/libassuan.url "$srcdir/libassuan"
git config submodule.third_party/libgpg-error.url "$srcdir/libgpg-error"
git config submodule.third_party/corrosion.url "$srcdir/corrosion"
git config submodule.third_party/lua.url "$srcdir/lua"
git -c protocol.file.allow=always submodule update
pushd modules
git submodule init
git config submodule.src/m_email/vmime.url "$srcdir/vmime"
git -c protocol.file.allow=always submodule update
popd
export RUSTUP_TOOLCHAIN=stable
cargo fetch --manifest-path rust/Cargo.toml --target host-tuple
# Correct StartupWMClass
desktop-file-edit --set-key=StartupWMClass --set-value="$pkgname" \
"resource/appstream/${_app_id}.desktop"
}
build() {
export RUSTUP_TOOLCHAIN=stable
export CARGO_PROFILE_RELEASE_LTO=true
export CARGO_PROFILE_RELEASE_CODEGEN_UNITS=1
local cmake_options=(
-B build
-S GpgFrontend
-G Ninja
-W no-author
-D CMAKE_BUILD_TYPE='RelWithDebInfo'
-D CMAKE_INSTALL_PREFIX='/usr'
-D GPGFRONTEND_BUILD_MODE='release'
-D GPGFRONTEND_BUILD_STABLE='ON'
-D GPGFRONTEND_BUILD_APP_FOR_PACKAGE='ON'
-D GPGFRONTEND_BUILD_STRIP_RPATH='ON'
-D GPGFRONTEND_LINK_GPGME_INTO_CORE='OFF'
)
cmake "${cmake_options[@]}"
cmake --build build
}
check() {
cd GpgFrontend
appstreamcli validate --no-net "resource/appstream/${_app_id}.metainfo.xml"
desktop-file-validate "resource/appstream/${_app_id}.desktop"
}
package() {
DESTDIR="$pkgdir" cmake --install build
# Remove duplicate license
rm -vf "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-29 00:13+++ PKGBUILD @ 2026-11-01 00:21@@ -2,7 +2,7 @@ # Contributor: Konsonanz <maximilian.lehmann@protonmail.com> pkgname=gpgfrontend _app_id="com.bktus.$pkgname"-pkgver=2.2.3+pkgver=2.2.4 pkgrel=1 pkgdesc="A modern OpenPGP tool with a unique dual-engine core" arch=('x86_64')@@ -41,7 +41,7 @@ 'git+https://github.com/corrosion-rs/corrosion.git' 'git+https://github.com/lua/lua.git' 'git+https://git.bktus.com/gpgfrontend/vmime.git')-sha256sums=('be07ff4822037940fbc608aba9225ef2c904cca27fe2300f679688585f647a6e'+sha256sums=('eb30b8a7e497d717daeca9550f2accc257496f2824b139415a8cec22fe97f16c' 'SKIP' 'SKIP' 'SKIP'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 19:53:24 | Medium | 1 |
| 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 17:43:03 | Medium | 1 |
| 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 |