longbridge-pro
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:14
"https://assets.lbctrl.com/github/release/longbridge-desktop/stable/longbridge-v${pkgver}-linux-x86_64.deb" -
PKGBUILD:15
"https://pub.lbkrs.com/static/offline/202508/FN9DnQt1WuLR5Wmz/LBPL_Platform_TnCs_3_December_2024.pdf"
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 x86_64 binary (.deb) from assets.lbctrl.com, which is a CDN/asset host associated with Longbridge (lbctrl.com appears to be Longbridge's infrastructure domain, and lbkrs.com is also a Longbridge-related domain). This is a proprietary trading platform distributed as a prebuilt binary — not compiled from source — which is a common pattern for commercial desktop apps in the AUR. The sha256sums are present and pin the download. The host (assets.lbctrl.com) is not GitHub releases or a well-known official mirror, but it appears to be the vendor's own CDN infrastructure rather than a random personal host. The main concern is that this is an executed prebuilt binary from a host that cannot be independently verified as the canonical upstream, and if the CDN were compromised or the URL repointed, the checksum would be the only protection. This is a standard medium-risk pattern for proprietary binary repacks in the AUR: not clearly malicious, but not source-built either. No obfuscation, no exfiltration indicators, no piracy concerns (it's the vendor's own software with their EULA bundled).
PKGBUILD
2 offending line(s) highlighted# Maintainer: Spark Xia <legion_REMOVE_THIS_20220808@gmail.com>
pkgname=longbridge-pro
pkgver=0.7.0 # upstream "v0.6.0"
pkgrel=1
pkgdesc="Longbridge Pro – professional trading platform"
arch=('x86_64')
options=('!emptydirs' '!debug')
license=('LicenseRef-Longbridge-Proprietary')
url="https://longbridge.com/desktop"
depends=(
'webkit2gtk-4.1' 'alsa-lib'
)
source=(
"https://assets.lbctrl.com/github/release/longbridge-desktop/stable/longbridge-v${pkgver}-linux-x86_64.deb"
"https://pub.lbkrs.com/static/offline/202508/FN9DnQt1WuLR5Wmz/LBPL_Platform_TnCs_3_December_2024.pdf"
)
sha256sums=(
'9d746e9ce96100255d2e570c8c7e3006614501d1c732c610ec6b8234501f80f4' # .deb
'c7ed0deafa4570da6fd7d173f8be759645673ee55d3a41ef9473e0d6658ad231' # EULA
)
prepare() {
bsdtar -xf "longbridge-v${pkgver}-linux-x86_64.deb"
bsdtar -xf data.tar.zst
}
package() {
install -Dm755 usr/local/bin/longbridge \
"${pkgdir}/usr/bin/longbridge"
# # Symlink launcher
# install -d "${pkgdir}/usr/bin"
# ln -s "/opt/${pkgname}/bin/longbridge" "${pkgdir}/usr/bin/longbridge-pro"
# Desktop entry & icons
install -Dm644 usr/share/applications/longbridge.desktop \
"${pkgdir}/usr/share/applications/longbridge.desktop"
install -Dm644 usr/share/icons/hicolor/512x512/apps/longbridge.png \
"${pkgdir}/usr/share/icons/hicolor/512x512/apps/longbridge.png"
install -Dm644 usr/share/icons/hicolor/1024x1024/apps/longbridge.png \
"${pkgdir}/usr/share/icons/hicolor/1024x1024/apps/longbridge.png"
install -Dm644 ./LBPL_Platform_TnCs_3_December_2024.pdf \
"${pkgdir}/usr/share/licenses/${pkgname}/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 |