ca-certificates-icp_br

LOW
maintainer rafaelff 10 votes scanned 2026-09-17 00:27:14.276658
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-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