avast-rest
maintainer tfi
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
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
LOW
AI review downgraded a static finding
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)
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:17
"https://repo.avcdn.net/linux-av/deb/pool/debian-bullseye/avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb"
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: TF <mail | at | sedi [DOT] one>
2
pkgname=avast-rest
3
pkgver=4.1.0
4
_pkgverbuild='1~debian11'
5
pkgrel=5
6
arch=('x86_64')
7
pkgdesc='Avast Antivirus REST API. Provides a REST API for the avast scanner.'
8
url='https://www.avast.com/business/products/linux-antivirus'
9
license=('custom')
10
noextract=("avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb" )
11
options=("!strip")
12
install=${pkgname}.install
13
depends=("avast=${pkgver}")
14
backup=('etc/avast/rest.conf')
15
# Ubuntu Jammy depends on OpenSSL v3 (alpha) and I dont want to depend on openssl3-git here. so.. bullseye
16
source=(
17
"https://repo.avcdn.net/linux-av/deb/pool/debian-bullseye/avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb"
18
"${pkgname}.install"
19
)
20
sha256sums=('ed4d2138f8d85105ff562f7060d08c02b06b8ce1a59fad37027c1c6f8ea1d0c3'
21
'd8b5d7a89e84332cd0f0344ce71e34f2460a1d3b5312f9f36ce35a8e6940c249')
22
validpgpkeys=('6AFE173577C4CBD621DF217FD093435AA3ED2C4A')
23
24
package() {
25
# uncompress base packages
26
bsdtar -xf avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb
27
bsdtar -xf data.tar.xz -C ${pkgdir}/
28
29
# install deb post/pre scripts
30
[ ! -d "${pkgdir}/usr/share/${pkgname}/pkgscripts" ] && mkdir -p ${pkgdir}/usr/share/${pkgname}/pkgscripts
31
bsdtar -xf control.tar.gz -C ${pkgdir}/usr/share/${pkgname}/pkgscripts
32
chmod -R 755 ${pkgdir}/usr/share/${pkgname}/pkgscripts
33
34
# install lic
35
mkdir -p $pkgdir/usr/share/licenses/$pkgname/
36
install -Dm644 $pkgdir/usr/share/doc/$pkgname/LICENSE $pkgdir/usr/share/licenses/$pkgname/
37
}
38
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |