sankeymatic-web-git
maintainer AlphaJack
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads static web assets (JS, images, favicon) from the project's own domain for bundling; these are non-executable data files in this context, and the source is plausibly official, so the worst case of a swapped host is content tampering, not code execution.
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 package downloads static web assets (JS, images, favicon) from the project's own domain for bundling; these are non-executable data files in this context, and the source is plausibly official, so the worst case of a swapped host is content tampering, not code execution.
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:13
"https://sankeymatic.com/build/canvg/lib/umd.js"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: AlphaJack <alphajack at tuta dot io>
2
3
pkgname="sankeymatic-web-git"
4
pkgver=r120.ef55750
5
pkgrel=1
6
pkgdesc="A Sankey diagram builder for everyone"
7
url="https://sankeymatic.com"
8
license=("ISC")
9
arch=("any")
10
makedepends=("git")
11
# see https://github.com/nowthis/sankeymatic/issues/44
12
source=("git+https://github.com/nowthis/sankeymatic"
13
"https://sankeymatic.com/build/canvg/lib/umd.js"
14
"https://sankeymatic.com/build/d3.v2.js"
15
"https://sankeymatic.com/favicon.ico"
16
"https://sankeymatic.com/i/SKM-trsp-300.png"
17
)
18
sha256sums=("SKIP"
19
"SKIP"
20
"SKIP"
21
"SKIP"
22
"SKIP")
23
options=("!strip")
24
25
pkgver(){
26
cd "sankeymatic"
27
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
28
}
29
30
prepare(){
31
# replace non existing links pointing to root
32
cd "sankeymatic"
33
sed -i "build/index.html" \
34
-e 's|href="/|href="https://sankeymatic.com/|g' \
35
-e 's|href="\.\./about/"|href="https://sankeymatic.com/about/"|g' \
36
-e 's|href="\.\./manual/"|href="https://sankeymatic.com/manual/"|g' \
37
-e 's|\.\./||g'
38
}
39
40
package(){
41
cd "sankeymatic"
42
install -d "$pkgdir/usr/share/webapps/sankeymatic"
43
install -D -m 644 "LICENSE.txt" "$pkgdir/usr/share/license/sankeymatic/LICENSE"
44
rm "LICENSE.txt"
45
install -D -m 644 "$srcdir/umd.js" "$pkgdir/usr/share/webapps/sankeymatic/canvg/lib/umd.js"
46
install -D -m 644 "$srcdir/d3.v2.js" "$pkgdir/usr/share/webapps/sankeymatic/d3.v2.js"
47
install -D -m 644 "$srcdir/favicon.ico" "$pkgdir/usr/share/webapps/sankeymatic/favicon.ico"
48
install -D -m 644 "$srcdir/SKM-trsp-300.png" "$pkgdir/usr/share/webapps/sankeymatic/i/SKM-trsp-300.png"
49
find . -type f -not -path "./.git/*" -exec cp {} "$pkgdir/usr/share/webapps/sankeymatic" \;
50
}
51
52
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 |