pvs-studio

LOW
maintainer lapsus 19 votes scanned 2026-10-29 00:13:55.229276
View on AUR
Why flagged

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

Low AI review downgraded a static finding 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)
Medium source=() URL on a non-standard host 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
1# Maintainer: Yakov Till <yakov.till@gmail.com>
2# Contributor: Razykov Vyacheslav <v.razykov@gmail.com>
3# Contributor: Marat Moustafine <moustafine-@t-tuta-d.t-io>
4
5pkgname=pvs-studio
6pkgver=8.01.110904.869
7pkgrel=1
8pkgdesc='Static code analyzer for C and C++'
9arch=('x86_64')
10url='https://pvs-studio.com/en/pvs-studio/'
11license=('LicenseRef-pvs-studio')
12optdepends=('bash-completion: for bash completion'
13 'strace: for pvs-studio-analyzer trace')
14conflicts=("${pkgname}-bin")
15options=('!debug')
16_name=${pkgname}-${pkgver}-x86_64
17source=("${_name}.tgz::https://files.${pkgname}.com/${_name}.tgz")
18sha256sums=('ce5c005d5c0de6bdcdff18225f05e91a24ec3b9b18f950f1b19887cacf17d584')
19
20latestver() {
21 local html ver
22 html=$(curl -fsSL -H 'User-Agent: Mozilla/5.0' \
23 'https://pvs-studio.com/en/pvs-studio/download-all/') || return 1
24 ver=$(sed -n "s/.*pvs-studio-\([0-9.]\{1,\}\)-x86_64\\.tgz.*/\\1/p" <<< "$html" |
25 head -n1)
26 if [[ -z $ver ]]; then
27 printf 'Unable to determine latest PVS-Studio version\n' >&2
28 return 1
29 fi
30 printf '%s\n' "$ver"
31}
32
33package() {
34 # static ELF executables: makepkg's inherited strip only runs --strip-debug on
35 # them (a no-op, no DWARF present); --strip-unneeded removes .symtab/.strtab,
36 # verified behavior-identical
37 strip --strip-unneeded bin/*
38
39 install -Dm755 -t "${pkgdir}/usr/bin" bin/*
40
41 install -Dm644 "etc/bash_completion.d/${pkgname}.sh" \
42 "${pkgdir}/usr/share/bash-completion/completions/plog-converter"
43 ln -s plog-converter \
44 "${pkgdir}/usr/share/bash-completion/completions/${pkgname}-analyzer"
45
46 install -Dm644 "share/doc/${pkgname}/LICENSE" \
47 "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
48}
49

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 ver

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion