gear-bin

maintainer Booomeii · 0 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD installs a prebuilt x86_64 binary downloaded from an S3 bucket (gear-builds.s3.amazonaws.com) rather than from the official GitHub releases page (github.com/gear-tech/gear/releases). While the upstream project is legitimate (Gear Protocol / gear-tech), the S3 bucket is an unofficial/personal/CI host with no cryptographic provenance beyond a single SHA-256 checksum in the PKGBUILD itself. There is no GPG signature verification. If the S3 bucket is compromised, misconfigured, or controlled by a third party, an arbitrary binary could be substituted. The binary is directly installed to /usr/bin/gear and executed by users. This is a genuine supply-chain concern: executed binary from a non-canonical host without signature verification. The SHA-256 does provide some integrity guarantee against in-transit tampering, but does not protect against the bucket owner substituting a malicious binary and updating the PKGBUILD checksum. Medium severity is appropriate.

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:12 source=(https://gear-builds.s3.amazonaws.com/gear-v1.6.2-x86_64-unknown-linux-gnu.tar.xz)
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD installs a prebuilt x86_64 binary downloaded from an S3 bucket (gear-builds.s3.amazonaws.com) rather than from the official GitHub releases page (github.com/gear-tech/gear/releases). While the upstream project is legitimate (Gear Protocol / gear-tech), the S3 bucket is an unofficial/personal/CI host with no cryptographic provenance beyond a single SHA-256 checksum in the PKGBUILD itself. There is no GPG signature verification. If the S3 bucket is compromised, misconfigured, or controlled by a third party, an arbitrary binary could be substituted. The binary is directly installed to /usr/bin/gear and executed by users. This is a genuine supply-chain concern: executed binary from a non-canonical host without signature verification. The SHA-256 does provide some integrity guarantee against in-transit tampering, but does not protect against the bucket owner substituting a malicious binary and updating the PKGBUILD checksum. Medium severity is appropriate.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Booomeii <604772159@qq.com>
2
3pkgname=gear-bin
4pkgver=1.6.2
5pkgrel=1
6pkgdesc="Web3 Ultimate Execution Engine"
7arch=(x86_64)
8url="https://github.com/gear-tech/gear"
9licenses=(GPL3)
10provides=("gear")
11conflicts=("gear")
12source=(https://gear-builds.s3.amazonaws.com/gear-v1.6.2-x86_64-unknown-linux-gnu.tar.xz)
13sha256sums=('009476a3f6e96ba688bd8a0b5a78b09effa1340b46c05cd8287f8899347a2e1c')
14options=('!debug')
15
16package() {
17 install -Dm755 "${srcdir}/gear" "${pkgdir}/usr/bin/gear"
18}

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