avast-rest
The package downloads a Debian package from Avast's official repository domain (avcdn.net), which is plausibly the project's own source; extracting and installing its contents is standard for converting .deb to Arch packages, and the checksums are provided and valid.
Triggered rules
llm_review
The static rules flagged this MEDIUM, but an AI model (qwen/qwen3-235b-a22b-07-25) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a Debian package from Avast's official repository domain (avcdn.net), which is plausibly the project's own source; extracting and installing its contents is standard for converting .deb to Arch packages, and the checksums are provided and valid.
1 higher static finding superseded - not the current verdict (shown for transparency)
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:17
"https://repo.avcdn.net/linux-av/deb/pool/debian-bullseye/avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb"
PKGBUILD
1 offending line(s) highlighted# Maintainer: TF <mail | at | sedi [DOT] one>
pkgname=avast-rest
pkgver=4.1.0
_pkgverbuild='1~debian11'
pkgrel=5
arch=('x86_64')
pkgdesc='Avast Antivirus REST API. Provides a REST API for the avast scanner.'
url='https://www.avast.com/business/products/linux-antivirus'
license=('custom')
noextract=("avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb" )
options=("!strip")
install=${pkgname}.install
depends=("avast=${pkgver}")
backup=('etc/avast/rest.conf')
# Ubuntu Jammy depends on OpenSSL v3 (alpha) and I dont want to depend on openssl3-git here. so.. bullseye
source=(
"https://repo.avcdn.net/linux-av/deb/pool/debian-bullseye/avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb"
"${pkgname}.install"
)
sha256sums=('ed4d2138f8d85105ff562f7060d08c02b06b8ce1a59fad37027c1c6f8ea1d0c3'
'd8b5d7a89e84332cd0f0344ce71e34f2460a1d3b5312f9f36ce35a8e6940c249')
validpgpkeys=('6AFE173577C4CBD621DF217FD093435AA3ED2C4A')
package() {
# uncompress base packages
bsdtar -xf avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb
bsdtar -xf data.tar.xz -C ${pkgdir}/
# install deb post/pre scripts
[ ! -d "${pkgdir}/usr/share/${pkgname}/pkgscripts" ] && mkdir -p ${pkgdir}/usr/share/${pkgname}/pkgscripts
bsdtar -xf control.tar.gz -C ${pkgdir}/usr/share/${pkgname}/pkgscripts
chmod -R 755 ${pkgdir}/usr/share/${pkgname}/pkgscripts
# install lic
mkdir -p $pkgdir/usr/share/licenses/$pkgname/
install -Dm644 $pkgdir/usr/share/doc/$pkgname/LICENSE $pkgdir/usr/share/licenses/$pkgname/
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 2 |
| 2026-09-16 00:03:17 | Low | 2 |
| 2026-09-15 00:25:31 | Low | 2 |
| 2026-09-14 00:27:57 | Low | 2 |
| 2026-09-13 00:19:54 | Low | 2 |
| 2026-09-12 00:25:17 | Low | 2 |
| 2026-09-11 00:19:22 | Low | 2 |
| 2026-09-10 00:22:44 | Low | 2 |
| 2026-09-09 00:04:09 | Low | 2 |
| 2026-09-08 00:18:08 | Low | 2 |
| 2026-09-07 00:30:15 | Low | 2 |
| 2026-09-06 00:17:06 | Low | 2 |
| 2026-09-05 00:16:27 | Low | 2 |
| 2026-09-04 00:03:13 | Low | 2 |
| 2026-09-03 00:15:47 | Low | 2 |
| 2026-09-02 00:02:31 | Low | 2 |
| 2026-09-01 00:11:19 | Low | 2 |
| 2026-08-31 00:19:57 | Low | 2 |
| 2026-08-30 00:04:14 | Low | 2 |
| 2026-08-29 00:29:17 | Low | 2 |