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-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 |