imjtool-bin

maintainer kleintux · 4 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt ELF64 binary (imjtool.ELF64) from newandroidbook.com, which is Jonathan Levin's personal/unofficial site rather than a major trusted platform like GitHub releases or a distro mirror. The binary is installed directly to /usr/bin and executed with full user privileges. While newandroidbook.com is a known site for Android reverse-engineering tools by a recognized author, it is still a personal host with no independent code-review trail, no reproducible build, and the source URL points to a mutable .tgz (no version pinning in the URL path — 'imjtool.tgz' could be silently replaced). The sha512sum provides some integrity protection against in-transit tampering but does not protect against the host owner replacing the file and updating the checksum, nor does it verify the binary's provenance. This is a classic medium-severity supply-chain concern: an executed binary from an unofficial personal host.

Triggered rules

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:12 "${_pkgname}-${pkgver}.tgz::http://newandroidbook.com/tools/imjtool.tgz"
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt ELF64 binary (imjtool.ELF64) from newandroidbook.com, which is Jonathan Levin's personal/unofficial site rather than a major trusted platform like GitHub releases or a distro mirror. The binary is installed directly to /usr/bin and executed with full user privileges. While newandroidbook.com is a known site for Android reverse-engineering tools by a recognized author, it is still a personal host with no independent code-review trail, no reproducible build, and the source URL points to a mutable .tgz (no version pinning in the URL path — 'imjtool.tgz' could be silently replaced). The sha512sum provides some integrity protection against in-transit tampering but does not protect against the host owner replacing the file and updating the checksum, nor does it verify the binary's provenance. This is a classic medium-severity supply-chain concern: an executed binary from an unofficial personal host.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch>
2_pkgname=imjtool
3pkgname=${_pkgname}-bin
4pkgver=2.0
5pkgrel=1
6pkgdesc="Rudimentary Android image and partition unpacking tool."
7 arch=('x86_64')
8url="http://newandroidbook.com/tools/imjtool.html"
9license=('BSD')
10provides=(${_pkgname})
11source=(
12 "${_pkgname}-${pkgver}.tgz::http://newandroidbook.com/tools/imjtool.tgz"
13)
14sha512sums=('1e941f26f742c9ec7491f56351bb973e1fe6c70aff78ff2814e07ef8c10dae98c9acdbfc32aa89811a97cdec96b5c004cf3fb0cb98b20e66dd88f322912d9649')
15
16package() {
17 cd "${srcdir}"
18 install -Dm755 "${_pkgname}.ELF64" "${pkgdir}/usr/bin/${_pkgname}"
19 install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
20}
21

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion