trae-sg

LOW
maintainer logan_reed 0 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a prebuilt binary from a CDN domain (lf-cdn.trae.ai) associated with the official project, which is normal for AUR packages distributing vendor-built software; the source is not obfuscated, and the checksums are provided and verifiable, reducing 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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a prebuilt binary from a CDN domain (lf-cdn.trae.ai) associated with the official project, which is normal for AUR packages distributing vendor-built software; the source is not obfuscated, and the checksums are provided and verifiable, reducing 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:21 source_x86_64=("Trae-linux-x64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.ai/obj/trae-ai-sg/pkg/app/releases/stable/2.3.93439/linux/TRAE-linux-x64.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: logan_reed <liulingzhang.work@icloud.com>
2# Contributor: springtwr <springtwr@outlook.com>
3
4pkgname=trae-sg
5pkgver=2.3.93439
6pkgrel=1
7pkgdesc="AI-powered IDE by ByteDance (Singapore CDN)"
8arch=('x86_64' 'aarch64')
9url="https://www.trae.cn/"
10license=('LicenseRef-Trae')
11provides=("trae=$pkgver")
12conflicts=('trae' 'trae-bin')
13depends=('nss' 'alsa-lib' 'gtk3' 'at-spi2-core' 'libsecret' 'libxkbfile' 'zeromq')
14optdepends=('libappindicator-gtk3: System tray support'
15 'xdg-utils: Open URLs and files with default applications'
16 'python: Python extension support'
17 'nodejs: Node.js extension scripts')
18options=('!strip' '!debug')
19install=trae.install
20source=("trae.sh" "trae.desktop")
21source_x86_64=("Trae-linux-x64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.ai/obj/trae-ai-sg/pkg/app/releases/stable/2.3.93439/linux/TRAE-linux-x64.tar.gz")
22source_aarch64=("Trae-linux-arm64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.ai/obj/trae-ai-sg/pkg/app/releases/stable/2.3.93439/linux/TRAE-linux-arm64.tar.gz")
23b2sums=('2331b0d37fff8478ea37cbf9e5c2e70a59631aae6efb44741fc6c1a8dce65557098e9dffa8c30148ef27432802bec3d1eda279021421e5d3f979e80900662726'
24 '656c5d6bea6ef15185e0d8ee0181276f6de3bfae8e66a2c65772a5f1354727952dd020dca057246139a2bab8f4805057fa2db367a6ba0a1b90d9ffd7fcab8412')
25b2sums_x86_64=('bd22a253b100b0f062fe7bb96efd6afead437e1f78d18be9146c2cb0d2d87ab53b9dc689c7855410ac2ea2f9252d415d415e906614473a5895d713e6b230918b')
26b2sums_aarch64=('67e549814e5d9ecc5429eef63deead3ad8264b94debd635e5b3e3ed14c3d6c3a723117ba0eb72d5525aa1302369542d2bd1fd437685f2399ecedb6fd0ac5a20e')
27
28package() {
29 install -d "${pkgdir}/opt/trae"
30
31 for f in "${srcdir}"/*; do
32 case "${f##*/}" in
33 trae.sh|trae.desktop|*.tar.*) continue ;;
34 esac
35 cp -a "$f" "${pkgdir}/opt/trae/"
36 done
37
38 # SUID sandbox
39 chmod 4755 "${pkgdir}/opt/trae/chrome-sandbox"
40
41 # Launcher
42 install -Dm755 "${srcdir}/trae.sh" "${pkgdir}/usr/bin/trae"
43
44 # Desktop entry
45 install -Dm644 "${srcdir}/trae.desktop" "${pkgdir}/usr/share/applications/trae.desktop"
46
47 # Icon
48 install -Dm644 "${pkgdir}/opt/trae/resources/app/resources/linux/code.png" "${pkgdir}/usr/share/icons/hicolor/512x512/apps/trae.png"
49
50 # License
51 install -Dm644 "${pkgdir}/opt/trae/resources/app/LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
52 install -Dm644 "${pkgdir}/opt/trae/resources/app/ThirdPartyNotices.txt" "${pkgdir}/usr/share/licenses/${pkgname}/ThirdPartyNotices"
53 install -Dm644 "${pkgdir}/opt/trae/LICENSES.chromium.html" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSES.chromium.html"
54
55 # Shell completions
56 install -Dm644 "${pkgdir}/opt/trae/resources/completions/bash/trae" "${pkgdir}/usr/share/bash-completion/completions/trae"
57 install -Dm644 "${pkgdir}/opt/trae/resources/completions/zsh/_trae" "${pkgdir}/usr/share/zsh/site-functions/_trae"
58
59 # Remove unnecessary files
60 rm -rf "${pkgdir}/opt/trae/node_modules"
61 find "${pkgdir}/opt/trae" -name "*.asc" -delete
62 find "${pkgdir}/opt/trae" -name "*.bat" -delete
63 find "${pkgdir}/opt/trae" -type d -name "rush-logs" -exec rm -rf {} +
64
65 # Remove bundled GCC runtime libraries (conflict with system gcc-libs, breaks ckg indexing)
66 rm -fv "${pkgdir}/opt/trae/resources/app/modules/ckg/binary/libstdc++.so.6"
67 rm -fv "${pkgdir}/opt/trae/resources/app/modules/ckg/binary/libgcc_s.so.1"
68}
69

Changes since previous scan

--- PKGBUILD @ 2026-10-22 00:13
+++ PKGBUILD @ 2026-11-01 00:21
@@ -2,7 +2,7 @@
# Contributor: springtwr <springtwr@outlook.com>
pkgname=trae-sg
-pkgver=2.3.90453
+pkgver=2.3.93439
pkgrel=1
pkgdesc="AI-powered IDE by ByteDance (Singapore CDN)"
arch=('x86_64' 'aarch64')
@@ -18,12 +18,12 @@
options=('!strip' '!debug')
install=trae.install
source=("trae.sh" "trae.desktop")
-source_x86_64=("Trae-linux-x64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.ai/obj/trae-ai-sg/pkg/app/releases/stable/2.3.90453/linux/TRAE-linux-x64.tar.gz")
-source_aarch64=("Trae-linux-arm64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.ai/obj/trae-ai-sg/pkg/app/releases/stable/2.3.90453/linux/TRAE-linux-arm64.tar.gz")
+source_x86_64=("Trae-linux-x64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.ai/obj/trae-ai-sg/pkg/app/releases/stable/2.3.93439/linux/TRAE-linux-x64.tar.gz")
+source_aarch64=("Trae-linux-arm64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.ai/obj/trae-ai-sg/pkg/app/releases/stable/2.3.93439/linux/TRAE-linux-arm64.tar.gz")
b2sums=('2331b0d37fff8478ea37cbf9e5c2e70a59631aae6efb44741fc6c1a8dce65557098e9dffa8c30148ef27432802bec3d1eda279021421e5d3f979e80900662726'
'656c5d6bea6ef15185e0d8ee0181276f6de3bfae8e66a2c65772a5f1354727952dd020dca057246139a2bab8f4805057fa2db367a6ba0a1b90d9ffd7fcab8412')
-b2sums_x86_64=('5b4549bdb234992a3d57e56cc2eb3d37f794ef877814fe984660bb654d0637971bc67c9a6ece8d4867c6a5807470a9100a731bbce724bac25a8a9255f6d6a207')
-b2sums_aarch64=('8bb560dcba43a03f634707796670f6e43afd4d12cc78d10bca374d6c2b1dd3124addd8cbf40232dbb570060298fa2272e25770a98a98124837b5e6bcec8ffc3b')
+b2sums_x86_64=('bd22a253b100b0f062fe7bb96efd6afead437e1f78d18be9146c2cb0d2d87ab53b9dc689c7855410ac2ea2f9252d415d415e906614473a5895d713e6b230918b')
+b2sums_aarch64=('67e549814e5d9ecc5429eef63deead3ad8264b94debd635e5b3e3ed14c3d6c3a723117ba0eb72d5525aa1302369542d2bd1fd437685f2399ecedb6fd0ac5a20e')
package() {
install -d "${pkgdir}/opt/trae"

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 03:33:54 Medium 1
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2

Report a package

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

0 / 4000
Your suggestion