mangal5-git
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-08-03 00:08:14 | LOW | 3 |
| 2026-08-02 00:16:08 | LOW | 3 |
| 2026-08-01 00:11:18 | LOW | 3 |
| 2026-07-31 00:14:10 | LOW | 3 |
| 2026-07-30 00:17:23 | LOW | 3 |
| 2026-07-29 00:25:53 | LOW | 3 |
| 2026-07-28 00:07:28 | LOW | 3 |
| 2026-07-27 00:24:32 | LOW | 3 |
| 2026-07-26 00:07:32 | LOW | 3 |
| 2026-07-25 00:13:44 | LOW | 3 |
| 2026-07-24 00:02:28 | LOW | 3 |
| 2026-07-23 00:14:47 | LOW | 3 |
| 2026-07-22 00:29:32 | LOW | 3 |
| 2026-07-21 00:24:15 | LOW | 3 |
| 2026-07-20 00:19:49 | LOW | 3 |
| 2026-07-19 00:17:08 | LOW | 3 |
| 2026-07-18 00:14:48 | LOW | 3 |
| 2026-07-17 00:06:16 | LOW | 3 |
| 2026-07-16 00:05:41 | LOW | 3 |
| 2026-07-15 00:09:25 | LOW | 3 |