db2-odbc-cli

LOW
maintainer lkrms 0 votes scanned 2026-09-17 00:27:14.276658
View on AUR
Why flagged

The source is a legitimate IBM release from an official domain (ibm.com), despite not being on a standard host; it is a standard practice for AUR packages to fetch official binaries from vendor sites.

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 source is a legitimate IBM release from an official domain (ibm.com), despite not being on a standard host; it is a standard practice for AUR packages to fetch official binaries from vendor sites.

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:18 source=("linuxx64_odbc_cli-$pkgver.tar.gz::https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/v${pkgver%.0}/linuxx64_odbc_cli.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Luke Arms <luke@arms.to>
2
3pkgname=db2-odbc-cli
4# Mentioned in clidriver/include/sql.h
5pkgver=12.1.2.0
6pkgrel=1
7pkgdesc='IBM Data Server Driver for ODBC and CLI'
8arch=('x86_64')
9url='https://www.ibm.com/docs/en/db2/12.1?topic=installing-data-server-drivers-clients'
10license=('custom:IBM IPLA')
11# Derived from output of:
12#
13# readelf -d bin/* {lib,security64}/**/*.so* |
14# awk '/Shared library:/ { gsub(/\[|\]/, ""); if (!seen[$NF]++) { print "/usr/lib/" $NF } }' |
15# pacman -Qqo - |
16# sort -u
17depends=('gcc-libs' 'glibc' 'pam' 'libxml2-legacy' 'libxcrypt-compat' 'krb5')
18source=("linuxx64_odbc_cli-$pkgver.tar.gz::https://public.dhe.ibm.com/ibmdl/export/pub/software/data/db2/drivers/odbc_cli/v${pkgver%.0}/linuxx64_odbc_cli.tar.gz")
19sha256sums=('2c10efc71a638cd6b07a5b977b6dbe8aa0408e1dca825bea0d2b63318c9bba2f')
20
21package() {
22 local f
23 install -d "$pkgdir/opt"
24 install -d "$pkgdir/usr/share/licenses/$pkgname"
25 cd "$srcdir"
26 for f in clidriver/license/UNIX/odbc_LI_*; do
27 install -m 0644 "$f" "$pkgdir/usr/share/licenses/$pkgname/LICENSE-${f##*/odbc_LI_}.txt"
28 done
29 mv "$pkgdir/usr/share/licenses/$pkgname"/LICENSE{-en,}.txt
30 for f in clidriver/license/odbc_*; do
31 install -m 0644 "$f" "$pkgdir/usr/share/licenses/$pkgname/${f##*/odbc_}"
32 done
33 rm -rf clidriver/{license,db2dump}
34 mv -T clidriver "$pkgdir/opt/$pkgname"
35}
36

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