polytope-cli-bin

MEDIUM
maintainer shrimpsizemoose 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

This PKGBUILD downloads a prebuilt binary from polytope.com (the vendor's own domain, not GitHub releases or a recognized package mirror) and installs it directly as an executable. While polytope.com appears to be the official vendor domain (matching the GitHub org polytopelabs), the binary is not sourced from a verifiable, immutable release artifact (e.g., GitHub releases with a tagged commit). The sha256sum provides integrity checking against the current file, but the host can silently replace the binary at any time without changing the URL. This is a classic supply-chain risk: a prebuilt, closed-source binary from a personal/vendor web server with no reproducibility guarantee. The risk is real but not clearly malicious — consistent with a MEDIUM rating.

Triggered rules

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:10 source=("pt-$pkgver-linux-amd64.gz::https://polytope.com/releases/polytope-cli-$pkgver-linux-amd64.gz")
Medium AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): This PKGBUILD downloads a prebuilt binary from polytope.com (the vendor's own domain, not GitHub releases or a recognized package mirror) and installs it directly as an executable. While polytope.com appears to be the official vendor domain (matching the GitHub org polytopelabs), the binary is not sourced from a verifiable, immutable release artifact (e.g., GitHub releases with a tagged commit). The sha256sum provides integrity checking against the current file, but the host can silently replace the binary at any time without changing the URL. This is a classic supply-chain risk: a prebuilt, closed-source binary from a personal/vendor web server with no reproducibility guarantee. The risk is real but not clearly malicious — consistent with a MEDIUM rating.

PKGBUILD

1 offending line(s) highlighted
1pkgname=polytope-cli-bin
2pkgver=0.1.30
3pkgrel=1
4pkgdesc="Polytope is a programmable software development platform. This package installs CLI for managing polytope-managed services"
5arch=('x86_64')
6url="https://github.com/polytopelabs/homebrew-tap"
7license=('Unknown')
8depends=()
9options=('!strip' '!debug')
10source=("pt-$pkgver-linux-amd64.gz::https://polytope.com/releases/polytope-cli-$pkgver-linux-amd64.gz")
11sha256sums=('716bf2e7e97af4c7a8c9b31f517f3e72ef678fa912fe51e36582f5cf43338aca')
12
13package() {
14 cd "$srcdir"
15 gunzip -c "pt-$pkgver-linux-amd64.gz" > pt
16 chmod +x pt
17 install -Dm755 pt "$pkgdir/usr/bin/pt"
18}
19

Scan history

Scanned at (UTC)SeverityRules
2026-09-17 00:27:14 Medium 2
2026-09-16 00:03:17 Medium 2
2026-09-15 00:25:31 Medium 2
2026-09-14 00:27:57 Medium 2
2026-09-13 00:19:54 Medium 2
2026-09-12 00:25:17 Medium 2
2026-09-11 00:19:22 Medium 2
2026-09-10 00:22:44 Medium 2
2026-09-09 00:04:09 Medium 2
2026-09-08 00:18:08 Medium 2
2026-09-07 00:30:15 Medium 2
2026-09-06 00:17:06 Medium 2
2026-09-05 00:16:27 Medium 2
2026-09-04 00:03:13 Medium 2
2026-09-03 00:15:47 Medium 2
2026-09-02 00:02:31 Medium 2
2026-09-01 00:11:19 Medium 2
2026-08-31 00:19:57 Medium 2
2026-08-30 00:04:14 Medium 2
2026-08-29 00:29:17 Medium 2

Report a package

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

0 / 4000
Your suggestion