x3270-git
The non-standard host is used only for fetching a license file, which is non-executable data; the actual source code is securely fetched via git from a project-owned SourceForge repository, and the package builds from source, posing no significant risk.
Triggered rules
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 90%): The non-standard host is used only for fetching a license file, which is non-executable data; the actual source code is securely fetched via git from a project-owned SourceForge repository, and the package builds from source, posing no significant risk.
1 higher static finding superseded - not the current verdict (shown for transparency)
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=("$pkgname::git+https://git.code.sf.net/p/x3270/code" -
PKGBUILD:20
$pkgname.license::'https://x3270.miraheze.org/w/api.php?action=parse&format=json&page=X3270_license&utf8=1')
PKGBUILD
2 offending line(s) highlighted# Maintainer: sardo <sardonimous@hotmail.com>
# Parts copied from x3270 package by tuftedocelot <tuftedocelot@fastmail.fm>
pkgname=x3270-git
pkgver=4.2pre1.r2775
pkgrel=1
pkgdesc="IBM 3270 terminal emulator for the X Window System"
arch=('x86_64')
url="http://x3270.bgp.nu/"
license=('custom' 'MIT')
depends=('libxaw' 'openssl' 'bash')
makedepends=('imake' 'openssl' 'libx11' 'libxaw' 'libxt' 'xbitmaps' 'xorg-bdftopcf')
provides=("x3270")
conflicts=("x3270")
backup=(etc/x3270/ibm_hosts)
install=x3270.install
source=("$pkgname::git+https://git.code.sf.net/p/x3270/code"
x3270.install
x3270.fontpath
x3270.desktop
$pkgname.license::'https://x3270.miraheze.org/w/api.php?action=parse&format=json&page=X3270_license&utf8=1')
sha256sums=('SKIP'
'1007f7a7a5ad41749dbc70cc7ca6e259ec7c272dd82d210d2dd0f2fca6c18444'
'3cbd44463bf70a5a5983f4fa2ef51adaf4d3e0217638fc1f7fc12c1566c31d2b'
'c45ded78fe9a2fe2acff1a5df53366647310165931b39bab942ab06296e13b1c'
'17850aa5153b728844af4f251d56301281678a701fe32e52f521b45f2dbac9c3')
pkgver() {
cd "${srcdir}/${pkgbase}"
printf "%s.r%s" "$(sed -n 's/^version=\"\([^\"]*\)\"/\1/p' Common/version.txt)" "$(git rev-list --count HEAD)"
}
build() {
sed -e 's/<[^>]*>//g' -e 's/\\n/\n/g' $pkgname.license | sed -e 's/\[edit\]//g' -e 's/\\\"/\"/g' -e '/^License for.*$/,$!d' | head --lines -2 > ${pkgname}/LICENSE
cd "${pkgname}"
./configure --prefix=/usr --sysconfdir=/etc --with-fontdir=/usr/share/fonts/3270
make || return 1
}
package() {
cd ${pkgname}
make DESTDIR="${pkgdir}" install || return 1
chmod 644 "${pkgdir}"/etc/x3270/ibm_hosts
mkdir -pm755 "${pkgdir}/etc/X11/xorg.conf.d"
mkdir -pm755 "${pkgdir}/usr/share/fonts/3270"
mkdir -pm755 "${pkgdir}/usr/share/applications"
mkdir -pm755 "${pkgdir}/usr/share/pixmaps"
mkdir -pm755 "${pkgdir}/usr/share/licenses/${pkgname}"
install -m644 "${srcdir}/x3270.fontpath" "${pkgdir}/etc/X11/xorg.conf.d/60-${pkgname}.conf"
install -m644 "${srcdir}/x3270.desktop" "${pkgdir}/usr/share/applications/"
install -m644 "${srcdir}/${pkgname}/x3270/x3270-icon2.xpm" "${pkgdir}/usr/share/pixmaps/"
install -m644 "${srcdir}/${pkgname}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |