imagej
maintainer mschu
· 67 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The package downloads source files from a non-whitelisted but project-related host (wsr.imagej.net) and Maven Central; the files are part of the official ImageJ distribution, used for building the package, and no unverified or executable payloads are run during install.
Triggered rules
LOW
AI review downgraded a static finding
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 source files from a non-whitelisted but project-related host (wsr.imagej.net) and Maven Central; the files are part of the official ImageJ distribution, used for building the package, and no unverified or executable payloads are run during install.
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:16
source=("http://wsr.imagej.net/distros/cross-platform/ij$_pkgver.zip" -
PKGBUILD:17
"https://repo1.maven.org/maven2/net/imagej/ij/$pkgver/$_jar"
PKGBUILD
2 offending line(s) highlighted
1
# Maintainer: Michael Schubert <mschu.dev at gmail>
2
# Contributor: Giulio Guzzinati <guzzinati.giulio at gmail>
3
pkgname=imagej
4
pkgver=1.54p
5
_pkgver=154
6
_jar=ij-$pkgver.jar
7
pkgrel=1
8
epoch=2
9
pkgdesc="Image manipulation software for scientists"
10
arch=('any')
11
url="https://imagej.net"
12
license=('Public Domain')
13
depends=('java-runtime')
14
makedepends=('unzip')
15
optdepends=('java-environment-common')
16
source=("http://wsr.imagej.net/distros/cross-platform/ij$_pkgver.zip"
17
"https://repo1.maven.org/maven2/net/imagej/ij/$pkgver/$_jar"
18
"imagej.sh"
19
"imagej.desktop"
20
"microscope.xpm")
21
noextract=("ij$_pkgver.zip")
22
sha256sums=('f13e6d39ae0ac1e2635347e47d597df43716f68608221b819226559b8efa2450'
23
'2e1a09961dfb41cee66ddc821b2577a41a072566ce45a49bae69267099741e20'
24
'c223a3b2437501edd92176f87bbea75d994104e1545eea6c120ef8c774c7114e'
25
'799188b0b2cf1dc684dc2f029dbd31a4b44b691b51fd5e42027a994452bc038e'
26
'fd1479568b116a276ca1f645589a8e37ccaf767736c6cc0dcec9672225a82572')
27
28
package() {
29
cd "$pkgdir"
30
unzip -d "$pkgdir" "$srcdir/ij$_pkgver.zip"
31
rm -rf ImageJ/ImageJ.exe ImageJ/ImageJ.app ImageJ/run
32
33
mkdir -p "$pkgdir"/usr/share
34
mv ImageJ "$pkgdir"/usr/share/imagej
35
install -m644 "$srcdir"/$_jar "$pkgdir"/usr/share/imagej/ij.jar
36
37
find "$pkgdir" -type d -exec chmod 755 {} \; -o -exec chmod 644 {} \;
38
39
cd "$srcdir"
40
install -Dm755 imagej.sh "$pkgdir"/usr/bin/imagej
41
install -Dm644 imagej.desktop "$pkgdir"/usr/share/applications/imagej.desktop
42
install -Dm644 microscope.xpm "$pkgdir"/usr/share/pixmaps/microscope.xpm
43
}
44
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 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 |