cppreference-devhelp
maintainer jesusquerol
· 17 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
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-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |