pass-secret-service-git
The source is a git repository from GitHub, a common and plausible host for the project; building from source is normal for AUR packages, and no untrusted executables are downloaded or executed.
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 source is a git repository from GitHub, a common and plausible host for the project; building from source is normal for AUR packages, and no untrusted executables are downloaded or executed.
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:49
"${_pkgname}::git+https://${_githost}/${_gituser}/${_gitname}.git"
PKGBUILD
1 offending line(s) highlighted# Maintainer: dreieck (https://aur.archlinux.org/account/dreieck)
_gitname="pass-secret-service"
_pkgname="${_gitname}"
pkgname="${_pkgname}-git"
pkgver=0.5.1+2.r69.20251220.ec625b8
pkgrel=1
pkgdesc="An org.freedesktop.secrets provider with a pass backend."
arch=(
'aarch64'
'armv6h'
'armv7h'
'i686'
'x86_64'
)
_githost='github.com'
_gituser='grimsteel'
url="https://${_githost}/${_gituser}/${_gitname}"
license=("GPL-3.0-or-later")
groups=("pass")
depends=(
"gcc-libs"
"glibc"
"dbus"
"pass"
)
makedepends=(
"git"
"cargo"
)
optdepends=(
"${_pkgname}-openrc: For (system-wide, not recommended) OpenRC init script."
"${_pkgname}-runit: For (system-wide, not recommended) runit init script."
"systemd: To launch the DBUS service automatically on systemd based systems."
)
checkdepends=(
"cargo"
)
provides=(
"${_pkgname}=${pkgver}"
"org.freedesktop.secrets"
)
conflicts=(
"${_pkgname}"
"gnome-keyring"
)
source=(
"${_pkgname}::git+https://${_githost}/${_gituser}/${_gitname}.git"
)
sha256sums=(
'SKIP'
)
prepare() {
export CARGO_HOME="${srcdir}/.cargo"
cd "${srcdir}/${_pkgname}"
cargo fetch
git log > "${srcdir}/git.log"
}
pkgver() {
cd "${srcdir}/${_pkgname}"
_ver="$(git describe --tags | sed -E -e 's|^[vV]||' -e 's|\-g[0-9a-f]*$||' | tr '-' '+')"
_rev="$(git rev-list --count HEAD)"
_date="$(git log -1 --date=format:"%Y%m%d" --format="%ad")"
_hash="$(git rev-parse --short HEAD)"
if [ -z "${_ver}" ]; then
error "Version could not be determined."
return 1
else
printf '%s' "${_ver}.r${_rev}.${_date}.${_hash}"
fi
}
build() {
export CARGO_HOME="${srcdir}/.cargo"
cd "${srcdir}/${_pkgname}"
## no library targets found in package `pass-secret-service`
# printf '%s\n' " --> building library ..."
# cargo build --offline --all-features --release --lib
printf '\n'
printf '%s\n' " --> building binaries ..."
cargo build --offline --all-features --release --bins
printf '\n'
printf '%s\n' " --> building examples ..."
cargo build --offline --all-features --release --examples
printf '\n'
printf '%s\n' " --> building tests ..."
cargo build --offline --all-features --release --tests
}
check() {
export CARGO_HOME="${srcdir}/.cargo"
cd "${srcdir}/${_pkgname}"
printf '%s\n' " --> running tests ..."
cargo test --offline --release
}
package() {
export CARGO_HOME="${srcdir}/.cargo"
cd "${srcdir}/${_pkgname}"
printf '%s\n' " --> installing ..."
install -Dvm755 -t "${pkgdir}/usr/bin" "target/release/pass-secret-service"
# Install service files
install -Dvm744 -t "${pkgdir}/usr/share/dbus-1/services/" "systemd/org.freedesktop.secrets.service"
install -Dvm644 -t "${pkgdir}/usr/lib/systemd/user/" "systemd/pass-secret-service.service"
_docfiles=(
"${srcdir}/git.log"
README.md
)
_docdirs=()
_manfiles=()
_infofiles=()
_licensefiles=(
LICENSE
)
printf '%s\n' " --> installing documentation ..."
for _docfile in "${_docfiles[@]}"; do
install -D -v -m644 "${_docfile}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docfile}")"
done
for _docdir in "${_docdirs[@]}"; do
cp -rv "${_docdir}" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_docdir}")"
done
for _manfile in "${_manfiles[@]}"; do
_section="$(basename "${_manfile}" .gz | sed -E -e 's|^.*\.([^.]*)$|\1|')"
install -D -v -m644 "docs/build/man/${_manfile}" "${pkgdir}/usr/share/man/man${_section}/$(basename "${_manfile}")"
done
for _infofile in "${_infofiles[@]}"; do
install -D -v -m644 "${_infofile}" "${pkgdir}/usr/share/info/$(basename "${_infofile}")"
done
printf '%s\n' " --> installing license ..."
for _licensefile in "${_licensefiles[@]}"; do
install -D -v -m644 "${_licensefile}" "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")"
ln -svr "${pkgdir}/usr/share/licenses/${pkgname}/$(basename "${_licensefile}")" "${pkgdir}/usr/share/doc/${_pkgname}/$(basename "${_licensefile}")"
done
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |
| 2026-10-04 00:18:08 | Low | 2 |
| 2026-10-03 00:23:04 | Low | 2 |
| 2026-10-02 00:00:32 | Low | 2 |
| 2026-10-01 00:02:06 | Low | 2 |