tradingview-bin-latest

maintainer 999ivan · 1 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review downgraded a static finding 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)
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:9 source=("https://tvd-packages.tradingview.com/ubuntu/stable/latest/jammy/tradingview_amd64.deb")

PKGBUILD

1 offending line(s) highlighted
1pkgname=tradingview-bin-latest
2pkgver=2.14.0_1
3pkgrel=1
4pkgdesc="TradingView desktop client (prebuilt .deb, minimal installation, symlinked binary)"
5arch=('x86_64')
6url="https://www.tradingview.com"
7license=('LicenseRef-TradingView')
8depends=('gtk3' 'nss')
9source=("https://tvd-packages.tradingview.com/ubuntu/stable/latest/jammy/tradingview_amd64.deb")
10sha256sums=('SKIP')
11options=(!debug)
12
13pkgver() {
14 cd "$srcdir"
15 # Extract version from the .deb control info
16 bsdtar -xf tradingview_amd64.deb control.tar.gz
17 version=$(bsdtar -xOf control.tar.gz ./control | grep ^Version: | awk '{print $2}')
18 version="${version//-/_}"
19 echo "${version}"
20}
21
22package() {
23 # Extract the .deb
24 bsdtar -xf "${srcdir}/tradingview_amd64.deb" -C "${srcdir}"
25
26 # Extract the tarball
27 if [[ -f "${srcdir}/data.tar.xz" ]]; then
28 bsdtar -xf "${srcdir}/data.tar.xz" -C "${pkgdir}"
29 elif [[ -f "${srcdir}/data.tar.gz" ]]; then
30 bsdtar -xf "${srcdir}/data.tar.gz" -C "${pkgdir}"
31 else
32 echo "ERROR: No data.tar.* found"
33 exit 1
34 fi
35
36 # Remove debug folder
37 rm -rf "${pkgdir}/opt/TradingView/debug"
38
39 # Create symlink in path
40 install -d "${pkgdir}/usr/bin"
41 ln -s "/opt/TradingView/tradingview" "${pkgdir}/usr/bin/tradingview"
42
43 # Fix directory permissions
44 find "${pkgdir}" -type d -exec chmod 755 {} \;
45}
46
47

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 LOW 2
2026-08-02 00:16:08 LOW 2
2026-08-01 00:11:18 LOW 2
2026-07-31 00:14:10 LOW 2
2026-07-30 00:17:23 LOW 2
2026-07-29 00:25:53 LOW 2
2026-07-28 00:07:28 LOW 2
2026-07-27 00:24:32 LOW 2
2026-07-26 00:07:32 LOW 2
2026-07-25 00:13:44 LOW 2
2026-07-24 00:02:28 LOW 2
2026-07-23 00:14:47 LOW 2
2026-07-22 00:29:32 LOW 2
2026-07-21 00:24:15 LOW 2
2026-07-20 00:19:49 LOW 2
2026-07-19 00:17:08 LOW 2
2026-07-18 00:14:48 LOW 2
2026-07-17 00:06:16 LOW 2
2026-07-16 00:05:41 LOW 2
2026-07-15 00:09:25 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