trae-bin
maintainer yahyatoubali
· 5 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt .deb from the official project's CDN (trae.ai) and extracts it; while the host is not a common forge, it is the project's own domain, and the binary is verified via fixed checksum, making this a standard distribution method for the software with low supply-chain risk.
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 .deb from the official project's CDN (trae.ai) and extracts it; while the host is not a common forge, it is the project's own domain, and the binary is verified via fixed checksum, making this a standard distribution method for the software with low supply-chain risk.
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:16
source_x86_64=("Trae-linux-x64.deb::https://lf-cdn.trae.ai/obj/trae-ai-us/pkg/app/releases/stable/2.3.33256/linux/Trae-linux-x64.deb")
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Yahya Toubali <me@yahyatoubali.me>
2
3
pkgname=trae-bin
4
pkgver=2.3.33256
5
pkgrel=1
6
pkgdesc="AI-powered IDE by ByteDance - The Real AI Engine for code development"
7
arch=('x86_64' 'aarch64')
8
url="https://trae.ai"
9
license=('MIT')
10
depends=('gtk3' 'libxss' 'nss' 'alsa-lib' 'libxtst' 'libdrm' 'mesa' 'libxkbcommon' 'xcb-util-keysyms' 'libxcrypt-compat')
11
optdepends=('vulkan-icd-loader: Vulkan support')
12
provides=('trae')
13
conflicts=('trae')
14
install=trae-bin.install
15
16
source_x86_64=("Trae-linux-x64.deb::https://lf-cdn.trae.ai/obj/trae-ai-us/pkg/app/releases/stable/2.3.33256/linux/Trae-linux-x64.deb")
17
source_aarch64=("Trae-linux-arm64.deb::https://lf-cdn.trae.ai/obj/trae-ai-us/pkg/app/releases/stable/2.3.33256/linux/Trae-linux-arm64.deb")
18
19
sha256sums_x86_64=('d76198b99458a224b285de018f906077acdae9f68899db457a91348fb69983a3')
20
sha256sums_aarch64=('ffc8318b9d78e42cc4d1262e3be33f1dee2a5a85b8f812a879c4dd4b88a2de3a')
21
22
prepare() {
23
mkdir -p src
24
ar -x *.deb
25
bsdtar -xf data.tar.xz -C src
26
}
27
28
package() {
29
cp -r src/usr "$pkgdir/"
30
31
mkdir -p "$pkgdir/usr/bin"
32
ln -sf /usr/share/trae/bin/trae "$pkgdir/usr/bin/trae"
33
34
if [ -f "$pkgdir/usr/share/trae/resources/app/LICENSE.txt" ]; then
35
install -Dm644 "$pkgdir/usr/share/trae/resources/app/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
36
fi
37
}
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 |