shntool

LOW
maintainer envolution 33 votes scanned 2026-11-01 00:21:48.120785
View on AUR
Why flagged

The source is a tarball from the project's official host (freeshell.org) used for building the software from source; the host is not whitelisted but is plausibly legitimate and the package does not execute untrusted prebuilt binaries or remote code.

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 source is a tarball from the project's official host (freeshell.org) used for building the software from source; the host is not whitelisted but is plausibly legitimate and the package does not execute untrusted prebuilt binaries or remote code.

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:18 source=("http://shnutils.freeshell.org/shntool/dist/src/${pkgname}-${pkgver}.tar.gz"

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: envolution
2# Contributor: schuay <jakob.gruber@gmail.com>
3# Contributor: Michal Hybner <dta081@gmail.com>
4# shellcheck shell=bash disable=SC2034,SC2154
5
6pkgname=shntool
7pkgver=3.0.10
8pkgrel=8
9pkgdesc="A multi-purpose WAVE data processing and reporting utility"
10arch=('x86_64')
11url="http://shnutils.freeshell.org/shntool/"
12license=('GPL-2.0-only')
13options=(!emptydirs)
14depends=('glibc')
15optdepends=('mac: support for ape format'
16 'flac: support for flac format'
17 'wavpack: support for wv format')
18source=("http://shnutils.freeshell.org/shntool/dist/src/${pkgname}-${pkgver}.tar.gz"
19 'debian_patches_950803.patch'
20 'debian_patches_no-cdquality-check.patch'
21 'shntool-3.0.10-large-size.diff'
22 'shntool-3.0.10-large-times.diff')
23sha256sums=('74302eac477ca08fb2b42b9f154cc870593aec8beab308676e4373a5e4ca2102'
24 '2982c4c030409f2de035b7a833048692440ec9f3445b42326e7e386caa5c9e66'
25 'fc5b6b0138cb2ff492f074d8c58c1bd8f562d8dee2e536d45d9098bffc0f44e3'
26 '605f2030112e1ed6b68001d97a2ea839b00328995bbd795850fb2595f5797c68'
27 '418f9cc575e9d9964ee85819b5db7b38108d2b19a32459ad5e9b5c19d5296292')
28
29
30# Patches taken from https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684600
31# https://salsa.debian.org/debian/shntool/-/tree/master/debian/patches
32
33prepare() {
34 cd "${srcdir}"/${pkgname}-${pkgver}
35 patch -Np1 < "${srcdir}/debian_patches_950803.patch"
36 patch -Np1 < "${srcdir}/shntool-3.0.10-large-size.diff"
37 patch -Np1 < "${srcdir}/shntool-3.0.10-large-times.diff"
38 patch -Np1 < "${srcdir}/debian_patches_no-cdquality-check.patch"
39}
40
41build() {
42 export CFLAGS="$CFLAGS -std=gnu99"
43 cd "${srcdir}"/${pkgname}-${pkgver}
44 ./configure --prefix=/usr
45 make
46}
47
48package() {
49 cd "${srcdir}"/${pkgname}-${pkgver}
50 make DESTDIR="${pkgdir}" install
51}
52
53# vim:set ts=2 sw=2 et:
54

Scan history

Scanned at (UTC)SeverityRules
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

Report a package

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

0 / 4000
Your suggestion