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-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 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 |
| 2026-10-13 00:23:45 | Low | 2 |