tricks-bin

maintainer orphaned · 1 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt AppImage binary from tricks.aseman.io, which is the official project website (matching the url= field) for the Tricks social network app by Aseman Land. The AppImage is executed during the package() function (chmod +x then ./${_filename} --appimage-extract) and installed as a setuid-755 binary. While the host appears to be the legitimate upstream vendor site (same domain as url=), it is still a personal/company-controlled host rather than a major distribution mirror, and AppImages are self-contained executables. A sha256sum is provided, which mitigates silent substitution risk somewhat. The main concern is that this is an opaque prebuilt binary from a small vendor host with no reproducibility guarantees — a classic medium-risk supply-chain pattern for AUR -bin packages. This is not clearly malicious, but the executed binary from a non-standard host warrants medium severity.

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:13 source=("https://tricks.aseman.io/tricks/static/downloads/Tricks-${pkgver}_linux.AppImage"
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 AppImage binary from tricks.aseman.io, which is the official project website (matching the url= field) for the Tricks social network app by Aseman Land. The AppImage is executed during the package() function (chmod +x then ./${_filename} --appimage-extract) and installed as a setuid-755 binary. While the host appears to be the legitimate upstream vendor site (same domain as url=), it is still a personal/company-controlled host rather than a major distribution mirror, and AppImages are self-contained executables. A sha256sum is provided, which mitigates silent substitution risk somewhat. The main concern is that this is an opaque prebuilt binary from a small vendor host with no reproducibility guarantees — a classic medium-risk supply-chain pattern for AUR -bin packages. This is not clearly malicious, but the executed binary from a non-standard host warrants medium severity.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
2
3pkgname=tricks-bin
4pkgver=1.0.0
5pkgrel=1
6pkgdesc="The social network for programmers!"
7arch=('x86_64')
8url="https://tricks.aseman.io/"
9license=('GPL3')
10conflicts=('tricks')
11provides=('tricks')
12options=('!emptydirs' '!strip')
13source=("https://tricks.aseman.io/tricks/static/downloads/Tricks-${pkgver}_linux.AppImage"
14 "https://raw.githubusercontent.com/Aseman-Land/Tricks/main/LICENSE")
15sha256sums=('b40ac37ad95179f91a76d4ae65802504df34dfa3f0d64996ab3a6b2092b77162'
16 '2ca9503d76d1ffab14f599b4741382eec11face60ad1f0d7a41897809003a286')
17
18
19_filename="Tricks-${pkgver}_linux.AppImage"
20_squashfs_desktop_file="Tricks.desktop"
21_desktop_file="/usr/share/applications/tricks.desktop"
22_appimage_name=$(echo "${_filename}"|sed -E 's/-[0-9]*.[0-9]*.[0-9]*//')
23_install_path="/opt/tricks-bin/${_appimage_name}"
24
25package() {
26 chmod +x "${_filename}"
27 mkdir -p squashfs-root/usr/share/icons/hicolor/{72x72,16x16}/apps
28 ./${_filename} --appimage-extract "tricks.png" > /dev/null 2>&1
29 ./${_filename} --appimage-extract ${_squashfs_desktop_file} > /dev/null 2>&1
30 echo "Exec=${_install_path} --no-check-desktop-installation" >> "squashfs-root/${_squashfs_desktop_file}"
31
32 install -dm755 "${pkgdir}/usr/share/icons"
33 cp -dpr --no-preserve=ownership "squashfs-root/tricks.png" "${pkgdir}/usr/share/icons/"
34 chmod -R 755 "${pkgdir}/usr/share/icons"
35 find "${pkgdir}/usr/share/icons" -type f -name "tricks.png" -exec chmod 644 {} \;
36
37 install -Dm644 "squashfs-root/${_squashfs_desktop_file}" "${pkgdir}/${_desktop_file}"
38 install -Dm755 "${_filename}" "${pkgdir}/${_install_path}"
39 mkdir "${pkgdir}/usr/bin/" && chmod 755 "${pkgdir}/usr/bin/"
40 ln -s "${_install_path}" "${pkgdir}/usr/bin/tricks"
41
42 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/tricks-bin/LICENSE"
43
44}
45

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