tradingview-bin-latest
The package downloads a prebuilt .deb from TradingView's official domain and extracts it; while the host is not whitelisted, it is plausibly the project's own release infrastructure, and the binary is not executed during build.
Triggered rules
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 TradingView's official domain and extracts it; while the host is not whitelisted, it is plausibly the project's own release infrastructure, and the binary is not executed during build.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:9
source=("https://tvd-packages.tradingview.com/ubuntu/stable/latest/jammy/tradingview_amd64.deb")
PKGBUILD
1 offending line(s) highlightedpkgname=tradingview-bin-latest
pkgver=2.14.0_1
pkgrel=1
pkgdesc="TradingView desktop client (prebuilt .deb, minimal installation, symlinked binary)"
arch=('x86_64')
url="https://www.tradingview.com"
license=('LicenseRef-TradingView')
depends=('gtk3' 'nss')
source=("https://tvd-packages.tradingview.com/ubuntu/stable/latest/jammy/tradingview_amd64.deb")
sha256sums=('SKIP')
options=(!debug)
pkgver() {
cd "$srcdir"
# Extract version from the .deb control info
bsdtar -xf tradingview_amd64.deb control.tar.gz
version=$(bsdtar -xOf control.tar.gz ./control | grep ^Version: | awk '{print $2}')
version="${version//-/_}"
echo "${version}"
}
package() {
# Extract the .deb
bsdtar -xf "${srcdir}/tradingview_amd64.deb" -C "${srcdir}"
# Extract the tarball
if [[ -f "${srcdir}/data.tar.xz" ]]; then
bsdtar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
elif [[ -f "${srcdir}/data.tar.gz" ]]; then
bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}"
else
echo "ERROR: No data.tar.* found"
exit 1
fi
# Remove debug folder
rm -rf "${pkgdir}/opt/TradingView/debug"
# Create symlink in path
install -d "${pkgdir}/usr/bin"
ln -s "/opt/TradingView/tradingview" "${pkgdir}/usr/bin/tradingview"
# Fix directory permissions
find "${pkgdir}" -type d -exec chmod 755 {} \;
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |