aladdin-2fa-desktop-bin

maintainer orphaned · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary .deb from aladdin-rd.ru, which is the official vendor website for Aladdin-RD, a Russian security hardware/software company (makers of JaCarta tokens). The URL pattern matches their standard download path structure. A sha512 checksum is present, providing integrity verification. However, this is still a prebuilt binary blob from a vendor host (not a distro mirror or well-known ecosystem registry), and the binary is executed directly on the user's system. The concern is not that the host is suspicious per se, but that prebuilt vendor binaries from any single-vendor host represent a supply-chain risk if that host is compromised or the binary contains undisclosed functionality. The package() function also has a minor issue: it calls 'tar -xz -f data.tar.gz' without first extracting data.tar.gz from the .deb archive (which would normally require 'ar x' first), suggesting the PKGBUILD may be broken or relies on a prepare() step that isn't shown. Overall this is a legitimate medium: an executed prebuilt binary from a non-standard (though plausibly official) vendor host with a checksum present.

Triggered rules

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=("https://www.aladdin-rd.ru/upload/downloads/aladdin-2fa/aladdin-2fa-desktop-x64-$pkgver.deb")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a prebuilt binary .deb from aladdin-rd.ru, which is the official vendor website for Aladdin-RD, a Russian security hardware/software company (makers of JaCarta tokens). The URL pattern matches their standard download path structure. A sha512 checksum is present, providing integrity verification. However, this is still a prebuilt binary blob from a vendor host (not a distro mirror or well-known ecosystem registry), and the binary is executed directly on the user's system. The concern is not that the host is suspicious per se, but that prebuilt vendor binaries from any single-vendor host represent a supply-chain risk if that host is compromised or the binary contains undisclosed functionality. The package() function also has a minor issue: it calls 'tar -xz -f data.tar.gz' without first extracting data.tar.gz from the .deb archive (which would normally require 'ar x' first), suggesting the PKGBUILD may be broken or relies on a prepare() step that isn't shown. Overall this is a legitimate medium: an executed prebuilt binary from a non-standard (though plausibly official) vendor host with a checksum present.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Andrew Shark <ashark linuxcomp ru>
2
3pkgname=aladdin-2fa-desktop-bin
4pkgver=1.2.0.23
5pkgrel=1
6pkgdesc="2FA Push and OTP authenticator for JaCarta Authentication Server (JAS)"
7arch=('x86_64')
8url="https://aladdin-rd.ru"
9license=('unknown')
10options=('!strip' '!emptydirs')
11source=("https://www.aladdin-rd.ru/upload/downloads/aladdin-2fa/aladdin-2fa-desktop-x64-$pkgver.deb")
12sha512sums=('c1c5e4dbdd6851a6a39e8bba5d710e262a31589ed90d8a60886887dc65724b8a087c0cd91c07a718a0a0471069991dee96c4519b0c599a78d22589da20bc2427')
13
14package() {
15 # Extract package data
16 tar -xz -f data.tar.gz -C "${pkgdir}"
17
18 # Fix directory structure differences
19 cd "${pkgdir}"
20
21 mkdir usr/bin 2> /dev/null; mv usr/sbin/* usr/bin; rm -rf usr/sbin
22 ls usr/share/applications/*.desktop | while read line; do
23 sed -i s'|^Exec=/usr/sbin/|Exec=/usr/bin/|g' "$line"
24 done
25
26 cd ..
27}
28

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion