viff-bin
The package downloads a prebuilt .deb from a GitHub release, which is an unverifiable binary executable from a potentially swappable host, posing a supply-chain risk if the source were compromised.
Triggered rules
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
llm_review
The static rules found a suspicious pattern they could not resolve, so an AI model (qwen/qwen3-235b-a22b-2507) reviewed it and judged it MEDIUM (confidence 85%): The package downloads a prebuilt .deb from a GitHub release, which is an unverifiable binary executable from a potentially swappable host, posing a supply-chain risk if the source were compromised.
PKGBUILD
# Maintainer: zxp19821005 <zxp19821005 at 163 dot com>
pkgname=viff-bin
_pkgname=Viff
pkgver=0.3.0
pkgrel=1
pkgdesc="A lightweight, native Git client, with a read-only project browser, an English/Chinese interface, and optional AI-written commit messages."
arch=('x86_64')
url="https://github.com/1lck/viff"
license=('MIT')
provides=("${pkgname%-bin}=${pkgver}")
conflicts=("${pkgname%-bin}")
depends=(
'glibc'
'hicolor-icon-theme'
)
source=("${pkgname%-bin}-${pkgver}.deb::${url}/releases/download/v${pkgver}/${pkgname%-bin}-v${pkgver}-linux-amd64.deb")
sha256sums=('aeacda73a2e14ce7025cbf9ed22cb7fe3481400bd233786d7f46f96ab6e31c74')
_install_icons() {
local _src="${1:-${srcdir}}" _name="${pkgname%-bin}" _icon _ext _size _dest
while IFS= read -r -d '' _icon; do
_ext="${_icon##*.}"
_size=$(echo "${_icon%/*}" | grep -oE '[0-9]+x[0-9]+|scalable' | head -1)
[[ -z "${_size}" ]] && _size=$([[ "${_ext}" == svg ]] && echo scalable || od -An -tu1 -j16 -N8 "${_icon}" 2>/dev/null | awk '{printf "%dx%d",$1*16777216+$2*65536+$3*256+$4,$5*16777216+$6*65536+$7*256+$8}')
[[ "${_size}" =~ ^[0-9]+x[0-9]+$ ]] || _size=scalable
_dest=$([[ "${_icon}" == */share/pixmaps/* ]] && echo pixmaps || echo "icons/hicolor/${_size}/apps")
install -Dm644 "${_icon}" "${pkgdir}/usr/share/${_dest}/${_name}.${_ext}"
done < <(find "${_src}" \( -path '*/share/icons/*' -o -path '*/share/pixmaps/*' -o -path '*entries/icons/*' \) -type f \( -name '*.png' -o -name '*.svg' \) -print0 2>/dev/null)
}
prepare() {
bsdtar -xf "${srcdir}/data."*
sed -i -e "
s/Name=${pkgname%-bin}/Name=${_pkgname}/g
s/Categories=Development/Categories=Utility/g
" "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop"
}
package() {
install -Dm755 "${srcdir}/usr/bin/${pkgname%-bin}" -t "${pkgdir}/usr/bin"
_install_icons
install -Dm644 "${srcdir}/usr/share/applications/${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
install -Dm644 "${srcdir}/usr/share/doc/${pkgname%-bin}/LICENSE" -t "${pkgdir}/usr/share/licenses/${pkgname}"
install -Dm644 "${srcdir}/usr/share/doc/${pkgname%-bin}/README"* -t "${pkgdir}/usr/share/doc/${pkgname}"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-11-06 12:12:41 | Medium | 2 |