tradingview-bin-latest

LOW
maintainer 999ivan 1 votes scanned 2026-09-17 00:27:14.276658
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-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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion