cppreference-devhelp
LOW
maintainer jesusquerol
17 votes
scanned 2026-09-17 00:27:14.276658
Why flagged
The source is a documentation tarball from a plausible project-related host; installing static devhelp documentation poses no code execution risk even if the host is not whitelisted.
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-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The source is a documentation tarball from a plausible project-related host; installing static devhelp documentation poses no code execution risk even if the host is not whitelisted.
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:15
source=("http://upload.cppreference.com/mwiki/images/8/80/cppreference-doc-${pkgver}.tar.xz")
PKGBUILD
1 offending line(s) highlighted
1
# $Id$
2
# Maintainer: Vic Luo <vicluo96@gmail.com>
3
# Co-Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
4
5
pkgname=cppreference-devhelp
6
pkgver=20190607
7
pkgrel=1
8
pkgdesc="Offline cppreference documentation for devhelp."
9
arch=('any')
10
url="http://en.cppreference.com/w/"
11
license=('CCPL:cc-by-sa')
12
depends=('devhelp' 'cppreference')
13
makedepends=('python-lxml')
14
# Remember to update the source here for every update. The directory is also changed.
15
source=("http://upload.cppreference.com/mwiki/images/8/80/cppreference-doc-${pkgver}.tar.xz")
16
sha256sums=('bd010ac2a3a8ba7e74cb247ea852e39fc7f37b08de2aaf50f2de17ea3832c432')
17
18
prepare() {
19
cd "$srcdir/cppreference-doc-${pkgver}"
20
sed -i 's#$(docdir)/html#$(docdir)#' Makefile
21
}
22
23
build() {
24
cd "${srcdir}/cppreference-doc-${pkgver}"
25
make docdir='/usr/share/doc/cppreference' doc_devhelp
26
}
27
28
package() {
29
cd "${srcdir}/cppreference-doc-${pkgver}"
30
install -DT -m 644 "output/cppreference-doc-en-c.devhelp2" \
31
"${pkgdir}/usr/share/devhelp/books/cppreference-doc-en-c/cppreference-doc-en-c.devhelp2"
32
install -DT -m 644 "output/cppreference-doc-en-cpp.devhelp2" \
33
"${pkgdir}/usr/share/devhelp/books/cppreference-doc-en-cpp/cppreference-doc-en-cpp.devhelp2"
34
}
35
# vim:set ts=2 sw=2 et:
36
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |