tortoisehg
The source URLs, while on non-standard hosts, point to official project release and development infrastructure for TortoiseHg and Mercurial, making them legitimate sources for building the package; the worst case of a swapped source would be a compromised build, but the hosts are project-affiliated and not arbitrary untrusted servers.
Triggered rules
llm_review
An AI model (qwen/qwen3-235b-a22b-07-25) reviewed this and agrees it is LOW (confidence 95%): The source URLs, while on non-standard hosts, point to official project release and development infrastructure for TortoiseHg and Mercurial, making them legitimate sources for building the package; the worst case of a swapped source would be a compromised build, but the hosts are project-affiliated and not arbitrary untrusted servers.
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:17
source=("https://www.mercurial-scm.org/release/tortoisehg/targz/tortoisehg-$pkgver.tar.gz" -
PKGBUILD:18
"https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/ff01aa72ea781c0dc689a9fa82931b15afccedb8.diff"
PKGBUILD
2 offending line(s) highlighted# Contributor: Bernhard Walle <bernhard@bwalle.de>
# Contributor: Clovis Fabricio <arch.nosklo@0sg.net>
# Contributor: Christopher Krooß <c.krooss@gmail.com>
# Maintainer: Andre Klitzing <aklitzing () gmail () com>
# AUR Category: devel
pkgname=tortoisehg
pkgver=7.2.2
pkgrel=2
pkgdesc="Graphical tools for Mercurial"
arch=('any')
url="https://foss.heptapod.net/mercurial/tortoisehg/thg"
license=("GPL")
makedepends=(python-build python-installer python-wheel python-setuptools)
depends=('python' 'mercurial>=6.0' 'python-qscintilla-qt6' 'python-iniparse' 'qt6-svg' 'python-pyqt6')
optdepends=('python-pygments: syntax highlighting'
'python-nautilus: Python binding for Nautilus components')
source=("https://www.mercurial-scm.org/release/tortoisehg/targz/tortoisehg-$pkgver.tar.gz"
"https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/ff01aa72ea781c0dc689a9fa82931b15afccedb8.diff"
)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i "$srcdir"/ff01aa72ea781c0dc689a9fa82931b15afccedb8.diff
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
python -m build --wheel --no-isolation
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm 644 "contrib/mergetools.rc" "${pkgdir}/etc/mercurial/hgrc.d/thgmergetools.rc"
install -Dm 644 "contrib/thg.desktop" "${pkgdir}/usr/share/applications/thg.desktop"
install -Dm 644 "icons/svg/thg_logo.svg" "${pkgdir}/usr/share/pixmaps/thg_logo.svg"
# already provided by hg
cd "$pkgdir/usr/lib/"
rm -f python*/site-packages/hgext3rd/__init__.py
rm -f python*/site-packages/hgext3rd/__init__.pyc
rm -rf python*/site-packages/hgext3rd/__pycache__/
}
sha256sums=('2812d76e2436a7e9af30cd3f536d844304a3d8d20eda2daf234661985f207383'
'afb421b452fc7b6aad6ffea4da4f51d29f1ffe5a86c3fa1e18e25f2830e3ae95')
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |