trae

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

One or more source=() URLs point to a host outside the trusted allowlist (github.com, gitlab.com, codeberg.org, pypi.org, …).

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

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
-pkgver=2.3.90453
+pkgver=2.3.91093
pkgrel=1
pkgdesc="AI-powered IDE by ByteDance"
arch=('x86_64' 'aarch64')
@@ -17,12 +17,12 @@
options=('!strip' '!debug')
install=${pkgname}.install
source=("trae.sh" "trae.desktop")
-source_x86_64=("Trae-linux-x64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.com.cn/obj/trae-com-cn/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.com.cn/obj/trae-com-cn/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.com.cn/obj/trae-com-cn/pkg/app/releases/stable/2.3.91093/linux/TRAE-linux-x64.tar.gz")
+source_aarch64=("Trae-linux-arm64-${pkgver}-${pkgrel}.tar.gz::https://lf-cdn.trae.com.cn/obj/trae-com-cn/pkg/app/releases/stable/2.3.91093/linux/TRAE-linux-arm64.tar.gz")
b2sums=('2331b0d37fff8478ea37cbf9e5c2e70a59631aae6efb44741fc6c1a8dce65557098e9dffa8c30148ef27432802bec3d1eda279021421e5d3f979e80900662726'
'656c5d6bea6ef15185e0d8ee0181276f6de3bfae8e66a2c65772a5f1354727952dd020dca057246139a2bab8f4805057fa2db367a6ba0a1b90d9ffd7fcab8412')
-b2sums_x86_64=('5b4549bdb234992a3d57e56cc2eb3d37f794ef877814fe984660bb654d0637971bc67c9a6ece8d4867c6a5807470a9100a731bbce724bac25a8a9255f6d6a207')
-b2sums_aarch64=('8bb560dcba43a03f634707796670f6e43afd4d12cc78d10bca374d6c2b1dd3124addd8cbf40232dbb570060298fa2272e25770a98a98124837b5e6bcec8ffc3b')
+b2sums_x86_64=('c025f9bfdaac43b95d58bf3f4abe5eb11d57258f403977f7f6839ceba662fee10e77b318ff28b23a4d57c76715d8749d647083fc39f7e02433b09835d4582805')
+b2sums_aarch64=('4dc4cba3fedd33cfd9dde2e14ac9a5701376a784edd60f5959400962f37848b577ee2ee08edd50c221586a51f2630cc12259de8882e9c80bd2d00e2219b6bcb5')
package() {
install -d "${pkgdir}/opt/trae"

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Medium 1
2026-10-31 00:07:41 Medium 1
2026-10-30 00:29:30 Medium 1
2026-10-29 00:13:55 Medium 1
2026-10-28 00:06:54 Medium 1
2026-10-27 00:23:28 Medium 1
2026-10-26 00:12:40 Medium 1
2026-10-25 00:20:48 Medium 1
2026-10-24 00:14:55 Medium 1
2026-10-23 00:02:19 Medium 1
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