astah-uml
maintainer roldanantunez
· 6 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), which is plausibly the project's own infrastructure; while the host is not whitelisted, the content is a legitimate software distribution artifact, not an obfuscated payload or remote code execution, and the build process only extracts and relocates files without executing arbitrary code.
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), which is plausibly the project's own infrastructure; while the host is not whitelisted, the content is a legitimate software distribution artifact, not an obfuscated payload or remote code execution, and the build process only extracts and relocates files without executing arbitrary code.
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-uml-${_pkgver}.noarch.rpm")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Willem Albeda <willem at albeda dot net>
2
# Contributor: Dimitris Kiziridis <ragouel at outlook dot com>
3
4
pkgname=astah-uml
5
pkgver=9.2.0.0248cd.0
6
_pkgver=9.2.0.0248cd-0
7
pkgrel=1
8
url='https://astah.net/products/astah-uml'
9
pkgdesc='Lightweight and easy-to-use UML2.x modeler (With trial)'
10
arch=('i686' 'x86_64')
11
license=('custom')
12
depends=('java-runtime=8' 'lib32-glibc' 'hicolor-icon-theme' 'bash')
13
conflicts=('astah-community' 'astah-professional')
14
options=('!emptydirs' '!strip')
15
source=("http://cdn.change-vision.com/files/astah-uml-${_pkgver}.noarch.rpm")
16
sha256sums=('2783399f4a45bc3060a46bbde9eb3aa8c57484f857871e6894f34c23057287f4')
17
18
package() {
19
cp -aR "${srcdir}/usr" "${pkgdir}"
20
mkdir -p "${pkgdir}/opt/"
21
mv "${pkgdir}/usr/lib/astah_uml" "${pkgdir}/opt/astah-uml"
22
mkdir -p "${pkgdir}/usr/share/doc/astah-uml/"
23
mv "${pkgdir}/opt/astah-uml"/ReferenceManual-* "${pkgdir}/usr/share/doc/astah-uml/"
24
mkdir -p "${pkgdir}/usr/share/licenses/astah-uml"
25
mv "${pkgdir}/opt/astah-uml"/AstahLicenseAgreement-e.txt "${pkgdir}/usr/share/licenses/astah-uml/LICENSE"
26
mv "${pkgdir}/opt/astah-uml"/Astah_API_sample_program_license_agreement.txt "${pkgdir}/usr/share/licenses/astah-uml/LICENSE-API"
27
rm "${pkgdir}/usr/bin/astah-uml"
28
ln -s /opt/astah-uml/astah-uml "${pkgdir}/usr/bin"
29
install -Dm644 "${pkgdir}/opt/astah-uml"/mime-astah_uml.xml "${pkgdir}/usr/share/mime/packages/astah_uml.xml"
30
install -Dm644 "${pkgdir}/opt/astah-uml"/astah_uml.desktop -t \
31
"${pkgdir}/usr/share/applications"
32
install -Dm644 "${pkgdir}/opt/astah-uml"/astah_uml.png -t \
33
"${pkgdir}/usr/share/pixmamps"
34
install -Dm644 "${pkgdir}/opt/astah-uml"/astah_uml-doc.png -t \
35
"${pkgdir}/usr/share/icons/hicolor/32x32/mimetypes/"
36
rm "${pkgdir}/opt/astah-uml"/mime-astah_uml.xml
37
rm "${pkgdir}/opt/astah-uml"/astah_uml.desktop
38
rm "${pkgdir}/opt/astah-uml"/astah_uml-doc.png
39
sed -i '/#!\/bin\/sh/a export PATH="\$JAVA_HOME\/bin:\$PATH"' "${pkgdir}/opt/astah-uml/astah-uml"
40
sed -i '/#!\/bin\/sh/a export JAVA_HOME=\/usr\/lib\/jvm\/java-8-openjdk\/jre' "${pkgdir}/opt/astah-uml/astah-uml"
41
}
42
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 |