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-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 |