astah-viewer

LOW
maintainer dvcirilo 0 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

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

0 / 4000
Your suggestion