astah-viewer

LOW
maintainer dvcirilo 0 votes scanned 2026-11-01 00:21:48.120785
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
5pkgname=astah-viewer
6pkgver=9.2.0.0248cd_0
7_pkgver=9.2.0.0248cd-0
8pkgrel=1
9url='https://astah.net/products/astah-viewer'
10pkgdesc='Free tool to view .astah files'
11arch=(any)
12license=('LicenseRef-Custom')
13depends=('java-runtime=8' 'hicolor-icon-theme' 'bash')
14options=('!emptydirs' '!strip')
15source=("http://cdn.change-vision.com/files/astah-viewer-${_pkgver}.noarch.rpm")
16md5sums=('5add9d83c8721fe3edc94e7d36d1c43d')
17
18package() {
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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion