mangal5-git
The package builds from source and installs Go tools temporarily for code generation, which is a legitimate build requirement; no untrusted prebuilt binaries or remote code execution are involved.
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 builds from source and installs Go tools temporarily for code generation, which is a legitimate build requirement; no untrusted prebuilt binaries or remote code execution are involved.
2 higher static findings superseded - not the current verdict (shown for transparency)
npm_install_external
Runs `npm/yarn/pnpm install <package>` for a package not in source=(), pulling unpinned, unreviewed code at build time. Severity downgraded: the package declares/looks like a Node.js consumer, where build-time installs are expected.
-
PKGBUILD:28
npm i -D openapi-typescript
alt_pkg_manager_install
A non-pip/npm package manager (pipx, uv, poetry, cargo install, go install, gem, conda…) fetches and builds an external package at build time, outside source=() and makepkg's checksums.
-
PKGBUILD:42
go install "github.com/dmarkham/enumer@latest" -
PKGBUILD:48
go install "github.com/deepmap/oapi-codegen/cmd/oapi-codegen@latest"
PKGBUILD
3 offending line(s) highlighted# Maintaner: Darkgeem <darkgeem at pyrokinesis dot fr>
pkgname=mangal5-git
_pkgname=mangal
pkgver=5.11.4.r0.g674ef51
pkgrel=1
pkgdesc='The most advanced cli manga downloader. (luevano fork / v5 branch)'
url='https://github.com/luevano/mangal'
makedepends=('git' 'go' 'just' 'npm')
license=('MIT')
arch=('any')
source=("${_pkgname}::git+${url}.git")
sha256sums=('SKIP')
provides=('mangal')
conflicts=('mangal' 'mangal-bin' 'mangal-git')
pkgver() {
cd "${srcdir}/${_pkgname}"
# set version to [major].[minor].[patch].r[rel].g[commit]
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "${srcdir}/${_pkgname}"
just update
# move to webui folder and install the dependencies
cd web/ui
npm i -D openapi-typescript
npm audit fix || true
# go back to main folder
cd "${srcdir}/${_pkgname}"
# enumer and oapi-codegen can't be found in aur nor repos...?
# installing them in the build directory so they don't leave anything more
# than mangal
_go_path="${srcdir}/gobuild"
_go_bin_path="${_go_path}/bin"
# only download enumer if not already in the temp gopath
if ! test -f "${_go_bin_path}/enumer"; then
env GOPATH="${_go_path}" \
go install "github.com/dmarkham/enumer@latest"
fi
# only download oapi-codegen if not already in the temp gopath
if ! test -f "${_go_bin_path}/oapi-codegen"; then
env GOPATH="${_go_path}" \
go install "github.com/deepmap/oapi-codegen/cmd/oapi-codegen@latest"
fi
# this step requires the enumer and oapi-codegen binaries
env PATH="${PATH}:${_go_bin_path}" just generate
# builds the binary
just build
}
package() {
cd "${srcdir}/${_pkgname}"
mkdir -p ${pkgdir}/usr/bin/
mv mangal ${pkgdir}/usr/bin/
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-09-17 00:27:14 | Low | 3 |
| 2026-09-16 00:03:17 | Low | 3 |
| 2026-09-15 00:25:31 | Low | 3 |
| 2026-09-14 00:27:57 | Low | 3 |
| 2026-09-13 00:19:54 | Low | 3 |
| 2026-09-12 00:25:17 | Low | 3 |
| 2026-09-11 00:19:22 | Low | 3 |
| 2026-09-10 00:22:44 | Low | 3 |
| 2026-09-09 00:04:09 | Low | 3 |
| 2026-09-08 00:18:08 | Low | 3 |
| 2026-09-07 00:30:15 | Low | 3 |
| 2026-09-06 00:17:06 | Low | 3 |
| 2026-09-05 00:16:27 | Low | 3 |
| 2026-09-04 00:03:13 | Low | 3 |
| 2026-09-03 00:15:47 | Low | 3 |
| 2026-09-02 00:02:31 | Low | 3 |
| 2026-09-01 00:11:19 | Low | 3 |
| 2026-08-31 00:19:57 | Low | 3 |
| 2026-08-30 00:04:14 | Low | 3 |
| 2026-08-29 00:29:17 | Low | 3 |