pvs-studio
The package downloads a source tarball from a project-owned domain (files.pvs-studio.com) which is not on the default whitelist but is legitimate for the project; the tarball contains buildable source code, not a prebuilt binary, and the checksum is verified, making it a normal AUR build 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 95%): The package downloads a source tarball from a project-owned domain (files.pvs-studio.com) which is not on the default whitelist but is legitimate for the project; the tarball contains buildable source code, not a prebuilt binary, and the checksum is verified, making it a normal AUR build 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:17
source=("${_name}.tgz::https://files.${pkgname}.com/${_name}.tgz")
PKGBUILD
1 offending line(s) highlighted# Maintainer: Yakov Till <yakov.till@gmail.com>
# Contributor: Razykov Vyacheslav <v.razykov@gmail.com>
# Contributor: Marat Moustafine <moustafine-@t-tuta-d.t-io>
pkgname=pvs-studio
pkgver=8.01.110904.869
pkgrel=1
pkgdesc='Static code analyzer for C and C++'
arch=('x86_64')
url='https://pvs-studio.com/en/pvs-studio/'
license=('LicenseRef-pvs-studio')
optdepends=('bash-completion: for bash completion'
'strace: for pvs-studio-analyzer trace')
conflicts=("${pkgname}-bin")
options=('!debug')
_name=${pkgname}-${pkgver}-x86_64
source=("${_name}.tgz::https://files.${pkgname}.com/${_name}.tgz")
sha256sums=('ce5c005d5c0de6bdcdff18225f05e91a24ec3b9b18f950f1b19887cacf17d584')
latestver() {
local html ver
html=$(curl -fsSL -H 'User-Agent: Mozilla/5.0' \
'https://pvs-studio.com/en/pvs-studio/download-all/') || return 1
ver=$(sed -n "s/.*pvs-studio-\([0-9.]\{1,\}\)-x86_64\\.tgz.*/\\1/p" <<< "$html" |
head -n1)
if [[ -z $ver ]]; then
printf 'Unable to determine latest PVS-Studio version\n' >&2
return 1
fi
printf '%s\n' "$ver"
}
package() {
# static ELF executables: makepkg's inherited strip only runs --strip-debug on
# them (a no-op, no DWARF present); --strip-unneeded removes .symtab/.strtab,
# verified behavior-identical
strip --strip-unneeded bin/*
install -Dm755 -t "${pkgdir}/usr/bin" bin/*
install -Dm644 "etc/bash_completion.d/${pkgname}.sh" \
"${pkgdir}/usr/share/bash-completion/completions/plog-converter"
ln -s plog-converter \
"${pkgdir}/usr/share/bash-completion/completions/${pkgname}-analyzer"
install -Dm644 "share/doc/${pkgname}/LICENSE" \
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
Changes since previous scan
--- PKGBUILD @ 2026-10-17 00:21+++ PKGBUILD @ 2026-10-29 00:13@@ -3,7 +3,7 @@ # Contributor: Marat Moustafine <moustafine-@t-tuta-d.t-io> pkgname=pvs-studio-pkgver=8.01.110581.857+pkgver=8.01.110904.869 pkgrel=1 pkgdesc='Static code analyzer for C and C++' arch=('x86_64')@@ -15,7 +15,7 @@ options=('!debug') _name=${pkgname}-${pkgver}-x86_64 source=("${_name}.tgz::https://files.${pkgname}.com/${_name}.tgz")-sha256sums=('2633ac22f36202992e600c42334a91b8682c418100ca063db6778745582faf05')+sha256sums=('ce5c005d5c0de6bdcdff18225f05e91a24ec3b9b18f950f1b19887cacf17d584') latestver() { local html verScan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 15:18:35 | Medium | 1 |
| 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 | 3 |
| 2026-10-12 00:18:51 | Low | 3 |
| 2026-10-11 00:26:05 | Low | 3 |