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