tortoisehg

maintainer Misery · 123 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged 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

LOW AI review 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)
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: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
1# Contributor: Bernhard Walle <bernhard@bwalle.de>
2# Contributor: Clovis Fabricio <arch.nosklo@0sg.net>
3# Contributor: Christopher Krooß <c.krooss@gmail.com>
4# Maintainer: Andre Klitzing <aklitzing () gmail () com>
5# AUR Category: devel
6pkgname=tortoisehg
7pkgver=7.2.2
8pkgrel=2
9pkgdesc="Graphical tools for Mercurial"
10arch=('any')
11url="https://foss.heptapod.net/mercurial/tortoisehg/thg"
12license=("GPL")
13makedepends=(python-build python-installer python-wheel python-setuptools)
14depends=('python' 'mercurial>=6.0' 'python-qscintilla-qt6' 'python-iniparse' 'qt6-svg' 'python-pyqt6')
15optdepends=('python-pygments: syntax highlighting'
16 'python-nautilus: Python binding for Nautilus components')
17source=("https://www.mercurial-scm.org/release/tortoisehg/targz/tortoisehg-$pkgver.tar.gz"
18 "https://foss.heptapod.net/mercurial/tortoisehg/thg/-/commit/ff01aa72ea781c0dc689a9fa82931b15afccedb8.diff"
19 )
20
21prepare() {
22 cd "${srcdir}/${pkgname}-${pkgver}"
23 patch -p1 -i "$srcdir"/ff01aa72ea781c0dc689a9fa82931b15afccedb8.diff
24}
25
26build() {
27 cd "${srcdir}/${pkgname}-${pkgver}"
28 python -m build --wheel --no-isolation
29}
30
31package() {
32 cd "${srcdir}/${pkgname}-${pkgver}"
33 python -m installer --destdir="$pkgdir" dist/*.whl
34 install -Dm 644 "contrib/mergetools.rc" "${pkgdir}/etc/mercurial/hgrc.d/thgmergetools.rc"
35 install -Dm 644 "contrib/thg.desktop" "${pkgdir}/usr/share/applications/thg.desktop"
36 install -Dm 644 "icons/svg/thg_logo.svg" "${pkgdir}/usr/share/pixmaps/thg_logo.svg"
37
38 # already provided by hg
39 cd "$pkgdir/usr/lib/"
40 rm -f python*/site-packages/hgext3rd/__init__.py
41 rm -f python*/site-packages/hgext3rd/__init__.pyc
42 rm -rf python*/site-packages/hgext3rd/__pycache__/
43}
44
45sha256sums=('2812d76e2436a7e9af30cd3f536d844304a3d8d20eda2daf234661985f207383'
46 'afb421b452fc7b6aad6ffea4da4f51d29f1ffe5a86c3fa1e18e25f2830e3ae95')
47

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion