astah-viewer
maintainer dvcirilo
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt RPM from the official vendor's CDN (change-vision.com) to extract and repackage files; while the host is not on a standard whitelist, it is the legitimate source for the software, and no code execution or obfuscation occurs during installation.
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 a prebuilt RPM from the official vendor's CDN (change-vision.com) to extract and repackage files; while the host is not on a standard whitelist, it is the legitimate source for the software, and no code execution or obfuscation occurs during installation.
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://cdn.change-vision.com/files/astah-viewer-${_pkgver}.noarch.rpm")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Diego Cirilo <dvcirilo at gmail dot com>
2
# Contributor: Willem Albeda <willem at albeda dot net>
3
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
4
5
pkgname=astah-viewer
6
pkgver=9.2.0.0248cd_0
7
_pkgver=9.2.0.0248cd-0
8
pkgrel=1
9
url='https://astah.net/products/astah-viewer'
10
pkgdesc='Free tool to view .astah files'
11
arch=(any)
12
license=('LicenseRef-Custom')
13
depends=('java-runtime=8' 'hicolor-icon-theme' 'bash')
14
options=('!emptydirs' '!strip')
15
source=("http://cdn.change-vision.com/files/astah-viewer-${_pkgver}.noarch.rpm")
16
md5sums=('5add9d83c8721fe3edc94e7d36d1c43d')
17
18
package() {
19
cp -aR "${srcdir}/usr" "${pkgdir}"
20
mkdir -p "${pkgdir}/opt/"
21
mv "${pkgdir}/usr/lib/astah_viewer" "${pkgdir}/opt/astah-viewer"
22
mkdir -p "${pkgdir}/usr/share/doc/astah-viewer/"
23
mv "${pkgdir}/opt/astah-viewer"/ReferenceManual-* "${pkgdir}/usr/share/doc/astah-viewer/"
24
mkdir -p "${pkgdir}/usr/share/licenses/astah-viewer"
25
mv "${pkgdir}/opt/astah-viewer"/AstahLicenseAgreement-e.txt "${pkgdir}/usr/share/licenses/astah-viewer/LICENSE"
26
rm "${pkgdir}/usr/bin/astah-vwr"
27
ln -s /opt/astah-viewer/astah-vwr "${pkgdir}/usr/bin/astah-viewer"
28
install -Dm644 "${pkgdir}/opt/astah-viewer"/mime-astah_viewer.xml "${pkgdir}/usr/share/mime/packages/astah_viewer.xml"
29
install -Dm644 "${pkgdir}/opt/astah-viewer"/astah_viewer.desktop -t \
30
"${pkgdir}/usr/share/applications"
31
install -Dm644 "${pkgdir}/opt/astah-viewer"/astah_viewer.png -t \
32
"${pkgdir}/usr/share/pixmamps"
33
install -Dm644 "${pkgdir}/opt/astah-viewer"/astah_viewer-doc.png -t \
34
"${pkgdir}/usr/share/icons/hicolor/32x32/mimetypes/"
35
rm "${pkgdir}/opt/astah-viewer"/mime-astah_viewer.xml
36
rm "${pkgdir}/opt/astah-viewer"/astah_viewer.desktop
37
rm "${pkgdir}/opt/astah-viewer"/astah_viewer-doc.png
38
sed -i '/#!\/bin\/sh/a export PATH="\$JAVA_HOME\/bin:\$PATH"' "${pkgdir}/opt/astah-viewer/astah-vwr"
39
sed -i '/#!\/bin\/sh/a export JAVA_HOME=\/usr\/lib\/jvm\/java-8-openjdk\/jre' "${pkgdir}/opt/astah-viewer/astah-vwr"
40
}
41
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 |