avast-rest

LOW
maintainer tfi 0 votes scanned 2026-09-17 00:27:14.276658
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>
2pkgname=avast-rest
3pkgver=4.1.0
4_pkgverbuild='1~debian11'
5pkgrel=5
6arch=('x86_64')
7pkgdesc='Avast Antivirus REST API. Provides a REST API for the avast scanner.'
8url='https://www.avast.com/business/products/linux-antivirus'
9license=('custom')
10noextract=("avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb" )
11options=("!strip")
12install=${pkgname}.install
13depends=("avast=${pkgver}")
14backup=('etc/avast/rest.conf')
15# Ubuntu Jammy depends on OpenSSL v3 (alpha) and I dont want to depend on openssl3-git here. so.. bullseye
16source=(
17 "https://repo.avcdn.net/linux-av/deb/pool/debian-bullseye/avast-rest_${pkgver}-${_pkgverbuild}_amd64.deb"
18 "${pkgname}.install"
19 )
20sha256sums=('ed4d2138f8d85105ff562f7060d08c02b06b8ce1a59fad37027c1c6f8ea1d0c3'
21 'd8b5d7a89e84332cd0f0344ce71e34f2460a1d3b5312f9f36ce35a8e6940c249')
22validpgpkeys=('6AFE173577C4CBD621DF217FD093435AA3ED2C4A')
23
24package() {
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)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion