nextcloud-app-passwords
maintainer TrialnError
· 0 votes
· scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged
The source is a tarball from a non-whitelisted but plausibly project-owned GitLab instance (git.mdns.eu) used for official releases; it is not a prebuilt executable or unverifiable binary, and the checksum is provided, making this a normal build-from-source scenario despite the non-standard host.
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 90%): The source is a tarball from a non-whitelisted but plausibly project-owned GitLab instance (git.mdns.eu) used for official releases; it is not a prebuilt executable or unverifiable binary, and the checksum is provided, making this a normal build-from-source scenario despite the non-standard host.
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=("${pkgname}-${pkgver}.tar.gz::https://git.mdns.eu/api/v4/projects/45/packages/generic/${_name}/${_pkgver}/passwords-lsr-81.tar.gz")
PKGBUILD
1 offending line(s) highlighted
1
# Contributor: Lex Black <autumn-wind@web.de>
2
# Contributor: Anty0 <anty150 at gmail dot com>
3
4
_name=passwords
5
pkgname=nextcloud-app-passwords
6
pkgver=2026.6.10
7
_pkgver=2026.6.0
8
pkgrel=1
9
pkgdesc='Easy to use yet feature-rich and secure password manager for Nextcloud'
10
arch=('any')
11
url="https://apps.nextcloud.com/apps/passwords"
12
license=('AGPL3')
13
makedepends=('nextcloud' 'yq')
14
options=('!strip')
15
source=("${pkgname}-${pkgver}.tar.gz::https://git.mdns.eu/api/v4/projects/45/packages/generic/${_name}/${_pkgver}/passwords-lsr-81.tar.gz")
16
sha512sums=('6d5d7a360aa342d93efdde5d220bf9ef9eb08bd5b64778a0715c1d9f58fb00a0dc71393b83b528363b5e52ec16c724ed366ccabc35dddbff7c5f64ef07d05eff')
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
54
check() {
55
cd $_name
56
_nextcloud_app_check
57
}
58
59
package() {
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) | 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 |