postgresql-jdbc
maintainer tastedcheese
· 54 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads a prebuilt JAR from Maven Central, which is a standard and trusted repository for Java artifacts; while not on a whitelist, it is a legitimate source for this type of package, and the JAR is not executed during build but installed as-is.
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 package downloads a prebuilt JAR from Maven Central, which is a standard and trusted repository for Java artifacts; while not on a whitelist, it is a legitimate source for this type of package, and the JAR is not executed during build but installed as-is.
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:14
https://repo1.maven.org/maven2/org/postgresql/postgresql/${pkgver}/postgresql-${pkgver}.jar{,.asc})
PKGBUILD
1 offending line(s) highlighted
1
# Maintainer: Gleb Pavliuk <pglebr@gmail.com>
2
# Contributor: Mustafa Siam Ur Rafique <outlook.com: siam11651>
3
# Contributor: Jesse Jaara <gmail.com: jesse.jaara>
4
5
pkgname=postgresql-jdbc
6
pkgver=42.7.13
7
pkgrel=1
8
pkgdesc='The official JDBC driver for PostgreSQL. Contains JDBC 4.2 drivers.'
9
arch=('any')
10
url='https://jdbc.postgresql.org/'
11
license=('BSD-2-Clause')
12
depends=('java-runtime-headless')
13
source=(LICENSE
14
https://repo1.maven.org/maven2/org/postgresql/postgresql/${pkgver}/postgresql-${pkgver}.jar{,.asc})
15
sha1sums=('98ca35c08254ed04b2f40e01aa5b1d29c2920665'
16
'a6e1bd21b412d6ffb3df23cd13d507bc2cc9e37d'
17
'SKIP')
18
19
noextract=(postgresql-${pkgver}.jar)
20
21
validpgpkeys=('86C0144909739E0EE3D1B545305F296EAC47556B')
22
23
package() {
24
install -d -m755 "${pkgdir}/usr/share/java/${pkgname}"
25
install -d -m755 "${pkgdir}/usr/share/licenses/${pkgname}"
26
27
install -m644 "${srcdir}/postgresql-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}/"
28
29
ln -s postgresql-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc42.jar"
30
ln -s postgresql-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql-jdbc.jar"
31
ln -s postgresql-${pkgver}.jar "${pkgdir}/usr/share/java/${pkgname}/postgresql.jar"
32
33
install -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
34
}
35
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 |