gotohp-git
Triggered rules
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:37
go install github.com/wailsapp/wails/v3/cmd/wails3@latest
llm_review
An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD runs `go install github.com/wailsapp/wails/v3/cmd/wails3@latest` at build time, fetching and executing an unpinned (`@latest`) version of the Wails build tool from the internet with no checksum verification. While wailsapp/wails is a legitimate, well-known open-source project, using `@latest` means any future compromise or version bump of that module (or its transitive dependencies resolved at build time) would silently execute arbitrary code during the build. This is a genuine supply-chain concern: an executed build tool pulled at an unversioned, unverified reference. The main application source itself is cloned from the official GitHub repo (git+https, SKIP checksum is acceptable for -git packages), but the unbounded `@latest` go install is the real issue. This is a real medium-severity concern, not a false positive.
PKGBUILD
1 offending line(s) highlighted# Maintainer: Omansh Krishn <omansh@duck.com>
_pkgname=gotohp
pkgname=${_pkgname}-git
pkgver=0.7.0.r1.g5c26b8c
pkgrel=1
pkgdesc='Unofficial Google Photos Desktop GUI Client - git version'
arch=('x86_64')
url='https://github.com/xob0t/gotohp'
license=('MIT')
makedepends=(
git
go
nodejs
npm
pkgconf
)
depends=(
webkit2gtk-4.1
gtk3
)
provides=("${_pkgname}" "${_pkgname}=${pkgver}")
conflicts=("${_pkgname}" "${_pkgname}-bin")
options=(!debug)
source=("${_pkgname}"::"git+${url}.git")
sha256sums=('SKIP')
pkgver() {
git -C "${srcdir}/${_pkgname}" describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
export GOPATH="${srcdir}/go"
export PATH="${GOPATH}/bin:${PATH}"
go install github.com/wailsapp/wails/v3/cmd/wails3@latest
# go build -tags production -trimpath -buildvcs=false -ldflags="-w -s" -o bin/gotohp
wails3 task linux:build -- PRODUCTION=true
}
package() {
install -dm755 "${pkgdir}/usr/bin"
install -m755 "${srcdir}/${_pkgname}/bin/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
install -dm755 "${pkgdir}/usr/share/icons/hicolor/128x128/apps"
install -m644 "${srcdir}/${_pkgname}/build/appicon.png" "${pkgdir}/usr/share/icons/hicolor/128x128/apps/${_pkgname}.png"
install -dm755 "${pkgdir}/usr/share/applications"
sed -i "s|^Exec=.*|Exec=${_pkgname}|" "${srcdir}/${_pkgname}/build/linux/desktop"
install -Dm644 "${srcdir}/${_pkgname}/build/linux/desktop" "${pkgdir}/usr/share/applications/${_pkgname}.desktop"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |