polytope-cli-bin

maintainer shrimpsizemoose · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
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-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 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