sankeymatic-web-git
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
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)
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# Maintainer: AlphaJack <alphajack at tuta dot io>
pkgname="sankeymatic-web-git"
pkgver=r120.ef55750
pkgrel=1
pkgdesc="A Sankey diagram builder for everyone"
url="https://sankeymatic.com"
license=("ISC")
arch=("any")
makedepends=("git")
# see https://github.com/nowthis/sankeymatic/issues/44
source=("git+https://github.com/nowthis/sankeymatic"
"https://sankeymatic.com/build/canvg/lib/umd.js"
"https://sankeymatic.com/build/d3.v2.js"
"https://sankeymatic.com/favicon.ico"
"https://sankeymatic.com/i/SKM-trsp-300.png"
)
sha256sums=("SKIP"
"SKIP"
"SKIP"
"SKIP"
"SKIP")
options=("!strip")
pkgver(){
cd "sankeymatic"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
prepare(){
# replace non existing links pointing to root
cd "sankeymatic"
sed -i "build/index.html" \
-e 's|href="/|href="https://sankeymatic.com/|g' \
-e 's|href="\.\./about/"|href="https://sankeymatic.com/about/"|g' \
-e 's|href="\.\./manual/"|href="https://sankeymatic.com/manual/"|g' \
-e 's|\.\./||g'
}
package(){
cd "sankeymatic"
install -d "$pkgdir/usr/share/webapps/sankeymatic"
install -D -m 644 "LICENSE.txt" "$pkgdir/usr/share/license/sankeymatic/LICENSE"
rm "LICENSE.txt"
install -D -m 644 "$srcdir/umd.js" "$pkgdir/usr/share/webapps/sankeymatic/canvg/lib/umd.js"
install -D -m 644 "$srcdir/d3.v2.js" "$pkgdir/usr/share/webapps/sankeymatic/d3.v2.js"
install -D -m 644 "$srcdir/favicon.ico" "$pkgdir/usr/share/webapps/sankeymatic/favicon.ico"
install -D -m 644 "$srcdir/SKM-trsp-300.png" "$pkgdir/usr/share/webapps/sankeymatic/i/SKM-trsp-300.png"
find . -type f -not -path "./.git/*" -exec cp {} "$pkgdir/usr/share/webapps/sankeymatic" \;
}
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 |