ca-certificates-icp_br

LOW
maintainer rafaelff 10 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The package downloads a certificate bundle from an official Brazilian government host for inclusion as trust anchors; the source is non-executable data, and while the host is not whitelisted, it is plausibly legitimate and the worst case is trust misconfiguration, not code execution.

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-2507) reviewed the full PKGBUILD and judged it LOW (confidence 95%): The package downloads a certificate bundle from an official Brazilian government host for inclusion as trust anchors; the source is non-executable data, and while the host is not whitelisted, it is plausibly legitimate and the worst case is trust misconfiguration, not code execution.

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:16 source=("$_source.zip::http://acraiz.icpbrasil.gov.br/credenciadas/CertificadosAC-ICP-Brasil/ACcompactado.zip")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Rafael Fontenelle <rafaelff@gnome.org>
2# Contributor: Tiago Brait <tiagobrait AT gmail DOT com>
3
4pkgname=ca-certificates-icp_br
5pkgver=20260828
6pkgrel=1
7pkgdesc="Brazilian government Certification Authorities"
8arch=('any')
9url="https://www.gov.br/iti/pt-br/assuntos/repositorio/repositorio-ac-raiz"
10license=('unknown')
11depends=('ca-certificates-utils')
12makedepends=('unzip')
13changelog=CHANGELOG.md
14
15_source="icpbr_certs-${pkgver}-${pkgrel}"
16source=("$_source.zip::http://acraiz.icpbrasil.gov.br/credenciadas/CertificadosAC-ICP-Brasil/ACcompactado.zip")
17noextract=("$_source.zip")
18sha512sums=('4585a99955607525e475cf22138302fe8ddce6ca8f0926cd1f01809f007d4bcddff5c1070369d29b1de99c0d2eb058ce0deb856bae0189469ba37e09a59d7985')
19 # This checksum must match: http://acraiz.icpbrasil.gov.br/credenciadas/CertificadosAC-ICP-Brasil/hashsha512.txt
20
21prepare() {
22 rm -rf "$_source" && mkdir "$_source"
23 unzip "$_source.zip" -d "$_source"
24}
25
26package() {
27 cd "$_source"
28
29 find . -type f -name '*.crt' -print0 |
30 while IFS= read -r -d '' cert; do
31 filename=${cert##*/}
32 mv -- "$cert" "icp_br.${filename//' '/'_'}"
33 done
34 install -d -m0755 "$pkgdir/usr/share/ca-certificates/trust-source/anchors"
35 install -m0644 *.crt "$pkgdir/usr/share/ca-certificates/trust-source/anchors"
36}
37

Scan history

Scanned at (UTC)SeverityRules
2026-11-01 00:21:48 Low 2
2026-10-31 00:07:41 Low 2
2026-10-30 00:29:30 Low 2
2026-10-29 00:13:55 Low 2
2026-10-28 00:06:54 Low 2
2026-10-27 00:23:28 Low 2
2026-10-26 00:12:40 Low 2
2026-10-25 00:20:48 Low 2
2026-10-24 00:14:55 Low 2
2026-10-23 00:02:19 Low 2
2026-10-22 00:13:10 Low 2
2026-10-21 00:12:50 Low 2
2026-10-20 00:10:31 Low 2
2026-10-19 00:03:55 Low 2
2026-10-18 00:06:55 Low 2
2026-10-17 00:21:55 Low 2
2026-10-16 00:12:47 Low 2
2026-10-15 00:28:05 Low 2
2026-10-14 00:06:47 Low 2
2026-10-13 00:23:45 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