asem51-bin
maintainer Sematre
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source tarballs from the project's official host (plit.de/asem-51/) which is not on the whitelist but is plausibly legitimate; the content consists of buildable source and data files, not prebuilt executables, and the build process is transparent and standard for AUR packages.
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 source tarballs from the project's official host (plit.de/asem-51/) which is not on the whitelist but is plausibly legitimate; the content consists of buildable source and data files, not prebuilt executables, and the build process is transparent and standard for AUR packages.
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:11
source=("${pkgname%-bin}-${pkgver}.tar.gz::http://plit.de/asem-51/${pkgname%-bin}-${pkgver}-ELF.tar.gz"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Sematre <sematre at gmx dot de>
2
pkgname=asem51-bin
3
pkgver=1.3
4
pkgrel=2
5
pkgdesc="A two-pass macro assembler for the Intel MCS-51 family of microcontrollers."
6
arch=('i386' 'x86_64')
7
url="http://plit.de/asem-51/"
8
license=('custom')
9
provides=("${pkgname%-bin}")
10
conflicts=("${pkgname%-bin}")
11
source=("${pkgname%-bin}-${pkgver}.tar.gz::http://plit.de/asem-51/${pkgname%-bin}-${pkgver}-ELF.tar.gz"
12
"mcufiles-20080923.zip::http://plit.de/asem-51/mcufiles.zip")
13
md5sums=('895fd5e6617f8b21b9f56484f9258c94'
14
'23eb370c4d674e190a05f33da5704519')
15
16
prepare() {
17
cd "${srcdir}"
18
ln -s ../setup-environment-variable.sh setup-environment-variable.sh
19
20
# Remove DOS line endings
21
sed -i 's/.$//' MCU/*
22
23
# Patch in the updated mcu files + docs
24
rm asem51/mcu/*
25
mv MCU/* asem51/mcu/
26
27
mv HTML/DERIVAT.HTM asem51/html/derivat.htm
28
}
29
30
package() {
31
cd "${srcdir}/asem51"
32
33
# Install the executables
34
find . -type f \( -not -name '*.sh' \) -executable -exec install -Dm755 "{}" -t "${pkgdir}/usr/bin" \;
35
36
# Install the device specifications
37
find mcu/ -type f -exec install -Dm644 "{}" -t "${pkgdir}/usr/share/${pkgname%-bin}/mcu" \;
38
install -Dm644 "../setup-environment-variable.sh" "${pkgdir}/etc/profile.d/asem51.sh"
39
40
# Install the man pages
41
find . -name '*.1' -exec install -Dm644 "{}" -t "${pkgdir}/usr/share/man/man1" \;
42
43
# Install the docs
44
find html/ -type f -exec install -Dm644 "{}" -t "${pkgdir}/usr/share/doc/${pkgname%-bin}/html" \;
45
46
install -Dm644 "asem_51.doc" "${pkgdir}/usr/share/doc/${pkgname%-bin}/asem.doc"
47
install -Dm644 "boot51.doc" -t "${pkgdir}/usr/share/doc/${pkgname%-bin}"
48
49
install -Dm644 "README.1ST" "${pkgdir}/usr/share/doc/${pkgname%-bin}/README"
50
install -Dm644 "support.doc" -t "${pkgdir}/usr/share/doc/${pkgname%-bin}"
51
install -Dm644 "license.doc" "${pkgdir}/usr/share/licenses/${pkgname%-bin}/LICENSE"
52
}
53
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 |