db2-odbc-cli
maintainer lkrms
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
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
3
pkgname=db2-odbc-cli
4
# Mentioned in clidriver/include/sql.h
5
pkgver=12.1.2.0
6
pkgrel=1
7
pkgdesc='IBM Data Server Driver for ODBC and CLI'
8
arch=('x86_64')
9
url='https://www.ibm.com/docs/en/db2/12.1?topic=installing-data-server-drivers-clients'
10
license=('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
17
depends=('gcc-libs' 'glibc' 'pam' 'libxml2-legacy' 'libxcrypt-compat' 'krb5')
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")
19
sha256sums=('2c10efc71a638cd6b07a5b977b6dbe8aa0408e1dca825bea0d2b63318c9bba2f')
20
21
package() {
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) | Severity | Rules |
|---|---|---|
| 2026-08-03 00:08:14 | LOW | 2 |
| 2026-08-02 00:16:08 | LOW | 2 |
| 2026-08-01 00:11:18 | LOW | 2 |
| 2026-07-31 00:14:10 | LOW | 2 |
| 2026-07-30 00:17:23 | LOW | 2 |
| 2026-07-29 00:25:53 | LOW | 2 |
| 2026-07-28 00:07:28 | LOW | 2 |
| 2026-07-27 00:24:32 | LOW | 2 |
| 2026-07-26 00:07:32 | LOW | 2 |
| 2026-07-25 00:13:44 | LOW | 2 |
| 2026-07-24 00:02:28 | LOW | 2 |
| 2026-07-23 00:14:47 | LOW | 2 |
| 2026-07-22 00:29:32 | LOW | 2 |
| 2026-07-21 00:24:15 | LOW | 2 |
| 2026-07-20 00:19:49 | LOW | 2 |
| 2026-07-19 00:17:08 | LOW | 2 |
| 2026-07-18 00:14:48 | LOW | 2 |
| 2026-07-17 00:06:16 | LOW | 2 |
| 2026-07-16 00:05:41 | LOW | 2 |
| 2026-07-15 00:09:25 | LOW | 2 |