nextcloud-app-passman

maintainer TrialnError · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The source is a prebuilt tarball from the project's own release domain (releases.passman.cc), which is plausibly official; the package installs a Nextcloud app, and the build process is standard, with no execution of unreviewed remote code or obfuscated payloads.

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 prebuilt tarball from the project's own release domain (releases.passman.cc), which is plausibly official; the package installs a Nextcloud app, and the build process is standard, with no execution of unreviewed remote code or obfuscated payloads.

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:15 source=("nextcloud-app-passman-${pkgver}.tar.gz::https://releases.passman.cc/passman_${pkgver}.tar.gz")

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Lex Black <autumn-wind@web.de>
2# Contributor: Jonas Frei <freijon@gmail.com>
3# Contributor: Jonas Heinrich <onny@project-insanity.org>
4
5_name=passman
6pkgname=nextcloud-app-passman
7pkgver=2.6.0
8pkgrel=1
9pkgdesc="Passman is a full featured password manager"
10arch=('any')
11url="https://github.com/nextcloud/passman"
12license=('GPL3')
13makedepends=('nextcloud' 'yq')
14options=('!strip')
15source=("nextcloud-app-passman-${pkgver}.tar.gz::https://releases.passman.cc/passman_${pkgver}.tar.gz")
16sha512sums=('b1f5684f510556b7f8e9f923af8b55950687837dc5d399e1024537d99e5df76ce27865e9ee1971d7971e07b804a90a77bfd12dca1443a37b91f7f979266812ef')
17
18
19# BEGIN boilerplate nextcloud app version clamping, see also other packages in group
20# 1. Call respective function helpers in check() and package() *after* cd'ing to the source directory
21# 2. Add makedepends+=(nextcloud yq)
22_phps=(php7 php php-legacy)
23_get_supported_ranges() {
24 _app_min_nextcloud="$(< appinfo/info.xml xq -r '.info.dependencies.nextcloud["@min-version"] | values')"
25 _app_max_nextcloud="$(< appinfo/info.xml xq -r '.info.dependencies.nextcloud["@max-version"] | values | tonumber | .+1')"
26 _app_min_php="$(< appinfo/info.xml xq -r '.info.dependencies.php["@min-version"] | values')"
27 _app_max_php="$(< appinfo/info.xml xq -r '.info.dependencies.php["@max-version"] | values | tonumber | .+0.1')"
28}
29_unsupported_range() {
30 printf "%s requires %s %s, but %s %s is provided.\n" "$pkgname" "$1" "$2" "$1" "$3"
31 exit 1
32}
33_nextcloud_app_check() {
34 _get_supported_ranges
35 for _php in "${_phps[@]}"; do command -v "$_php" > /dev/null && break; done
36 local _nextcloud_ver="$("$_php" <(cat /usr/share/webapps/nextcloud/version.php; echo 'print($OC_VersionString);'))"
37 local _php_ver="$("$_php" -r 'print(phpversion());')"
38 [[ "$(vercmp "${_app_min_nextcloud:-0}" "$_nextcloud_ver")" -le 0 ]] || \
39 _unsupported_range nextcloud "=> $_app_min_nextcloud" "$_nextcloud_ver"
40 [[ "$(vercmp "${_app_max_nextcloud:-999}" "$_nextcloud_ver")" -gt 0 ]] || \
41 _unsupported_range nextcloud "< $_app_max_nextcloud" "$_nextcloud_ver"
42 [[ "$(vercmp "${_app_min_php:-0}" "$_php_ver")" -le 0 ]] || \
43 _unsupported_range php ">= $_app_min_php" "$_php_ver"
44 [[ "$(vercmp "${_app_max_php:-999}" "$_php_ver")" -gt 0 ]] || \
45 _unsupported_range php "< $_app_max_php" "$_php_ver"
46}
47_nextcloud_app_package() {
48 _get_supported_ranges
49 depends+=("nextcloud>=${_app_min_nextcloud:-0}" "nextcloud<${_app_max_nextcloud:-999}")
50 depends+=("php-interpreter${_app_min_php:+>=$_app_min_php}" ${_app_max_php:+"php-interpreter<$_app_max_php"})
51}
52# END boilerplate nextcloud app version clamping
53
54check() {
55 cd $_name
56 _nextcloud_app_check
57}
58
59package() {
60 install -vdm 755 "$pkgdir/usr/share/webapps/nextcloud/apps/"
61 cp -av $_name "$pkgdir/usr/share/webapps/nextcloud/apps/"
62 cd $_name
63 _nextcloud_app_package
64}
65

Scan history

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

Report a package

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

0 / 4000
Your suggestion