tricks-bin
Triggered rules
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"
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# Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
pkgname=tricks-bin
pkgver=1.0.0
pkgrel=1
pkgdesc="The social network for programmers!"
arch=('x86_64')
url="https://tricks.aseman.io/"
license=('GPL3')
conflicts=('tricks')
provides=('tricks')
options=('!emptydirs' '!strip')
source=("https://tricks.aseman.io/tricks/static/downloads/Tricks-${pkgver}_linux.AppImage"
"https://raw.githubusercontent.com/Aseman-Land/Tricks/main/LICENSE")
sha256sums=('b40ac37ad95179f91a76d4ae65802504df34dfa3f0d64996ab3a6b2092b77162'
'2ca9503d76d1ffab14f599b4741382eec11face60ad1f0d7a41897809003a286')
_filename="Tricks-${pkgver}_linux.AppImage"
_squashfs_desktop_file="Tricks.desktop"
_desktop_file="/usr/share/applications/tricks.desktop"
_appimage_name=$(echo "${_filename}"|sed -E 's/-[0-9]*.[0-9]*.[0-9]*//')
_install_path="/opt/tricks-bin/${_appimage_name}"
package() {
chmod +x "${_filename}"
mkdir -p squashfs-root/usr/share/icons/hicolor/{72x72,16x16}/apps
./${_filename} --appimage-extract "tricks.png" > /dev/null 2>&1
./${_filename} --appimage-extract ${_squashfs_desktop_file} > /dev/null 2>&1
echo "Exec=${_install_path} --no-check-desktop-installation" >> "squashfs-root/${_squashfs_desktop_file}"
install -dm755 "${pkgdir}/usr/share/icons"
cp -dpr --no-preserve=ownership "squashfs-root/tricks.png" "${pkgdir}/usr/share/icons/"
chmod -R 755 "${pkgdir}/usr/share/icons"
find "${pkgdir}/usr/share/icons" -type f -name "tricks.png" -exec chmod 644 {} \;
install -Dm644 "squashfs-root/${_squashfs_desktop_file}" "${pkgdir}/${_desktop_file}"
install -Dm755 "${_filename}" "${pkgdir}/${_install_path}"
mkdir "${pkgdir}/usr/bin/" && chmod 755 "${pkgdir}/usr/bin/"
ln -s "${_install_path}" "${pkgdir}/usr/bin/tricks"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/tricks-bin/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |