db2-odbc-cli

LOW
maintainer lkrms 0 votes scanned 2026-11-01 00:21:48.120785
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-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