cppreference-devhelp
LOW
maintainer jesusquerol
17 votes
scanned 2026-11-01 00:21:48.120785
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-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 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 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 |