resource-hacker
The package downloads a prebuilt Windows executable from the project's official website, which is not on a standard code hosting platform but is plausibly the legitimate source; the binary is not executed directly on the host and is intended to run under Wine, with no obfuscated scripts or remote code execution.
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 95%): The package downloads a prebuilt Windows executable from the project's official website, which is not on a standard code hosting platform but is plausibly the legitimate source; the binary is not executed directly on the host and is intended to run under Wine, with no obfuscated scripts or remote code execution.
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=("${pkgname}-${pkgver}.zip::https://www.angusj.com/resourcehacker/resource_hacker.zip" "resource-hacker" "LICENSE.resource-hacker")
PKGBUILD
1 offending line(s) highlighted# Maintainer: bemxio <bemxiov at protonmail dot com>
pkgname="resource-hacker"
pkgdesc="A freeware resource compiler & decompiler for Windows applications"
pkgver=5.2.8
pkgrel=3
arch=(any)
url="https://www.angusj.com/resourcehacker"
license=("LicenseRef-ResourceHacker")
depends=(wine)
makedepends=(gendesk icoutils)
source=("${pkgname}-${pkgver}.zip::https://www.angusj.com/resourcehacker/resource_hacker.zip" "resource-hacker" "LICENSE.resource-hacker")
md5sums=("5049d2d44a5b378c6dd92524b902c4e7" "01748cf604897644bb6bdb410cffba19" "74ac74cfc24b7b4561f3be670c63da24")
prepare() {
# extract icon out of executable
wrestool -x -n MAINICON ResourceHacker.exe -o ResourceHacker.ico
# get highest quality PNG from icon file
icotool -x ResourceHacker.ico -i 1 -o ResourceHacker.png
# generate .desktop file
gendesk -f -n \
--pkgname "Resource Hacker" \
--pkgdesc "${pkgdesc}" \
--exec resource-hacker \
--icon resource-hacker \
--categories "Development;Utility"
}
package() {
# copy all program files
install -Dm755 ResourceHacker.exe "${pkgdir}/usr/share/${pkgname}/ResourceHacker.exe"
install -Dm644 ReadMe.txt "${pkgdir}/usr/share/doc/${pkgname}/ReadMe.txt"
install -Dm644 changes.txt "${pkgdir}/usr/share/doc/${pkgname}/changes.txt"
find help -type f -exec install -Dm644 {} "${pkgdir}/usr/share/${pkgname}/{}" \;
find samples -type f -exec install -Dm644 {} "${pkgdir}/usr/share/${pkgname}/{}" \;
# copy executable script
install -Dm755 resource-hacker "${pkgdir}/usr/bin/${pkgname}"
# copy extracted icon and generated .desktop file
install -Dm644 ResourceHacker.png "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
install -Dm644 "Resource Hacker.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
# copy license file
install -Dm644 LICENSE.resource-hacker "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
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 |