polytope-cli-bin

MEDIUM
maintainer shrimpsizemoose 0 votes scanned 2026-11-01 00:21:48.120785
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-11-01 00:21:48 Medium 2
2026-10-31 00:07:41 Medium 2
2026-10-30 00:29:30 Medium 2
2026-10-29 00:13:55 Medium 2
2026-10-28 00:06:54 Medium 2
2026-10-27 00:23:28 Medium 2
2026-10-26 00:12:40 Medium 2
2026-10-25 00:20:48 Medium 2
2026-10-24 00:14:55 Medium 2
2026-10-23 00:02:19 Medium 2
2026-10-22 00:13:10 Medium 2
2026-10-21 00:12:50 Medium 2
2026-10-20 00:10:31 Medium 2
2026-10-19 00:03:55 Medium 2
2026-10-18 00:06:55 Medium 2
2026-10-17 00:21:55 Medium 2
2026-10-16 00:12:47 Medium 2
2026-10-15 00:28:05 Medium 2
2026-10-14 00:06:47 Medium 2
2026-10-13 00:23:45 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