ruby-docs-rdocs

maintainer tjbp · 3 votes · scanned 2026-08-03 00:08:14.047287
LOW
View on AUR ↗
Why flagged The package downloads documentation tarballs from a non-whitelisted but plausibly official host; the content is non-executable documentation, so the worst case is data tampering, not code execution.

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 package downloads documentation tarballs from a non-whitelisted but plausibly official host; the content is non-executable documentation, so the worst case is data tampering, not code execution.

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:13 source=("http://www.ruby-doc.org/downloads/$_core_filename" "http://www.ruby-doc.org/downloads/$_stdlib_filename")

PKGBUILD

1 offending line(s) highlighted
1# Contributor: Ondrej Kucera <ondrej.kucera@centrum.cz>
2
3pkgname=ruby-docs-rdocs
4pkgver=2.6.5
5pkgrel=1
6pkgdesc="Documentation for the Ruby programming language"
7arch=('any')
8url="http://www.ruby-doc.org/"
9license=('BSD' 'custom')
10options=('!strip' 'docs' 'libtool' 'staticlibs' '!zipman')
11_core_filename='ruby_2_6_5_core_rdocs.tgz'
12_stdlib_filename='ruby_2_6_5_stdlib_rdocs.tgz'
13source=("http://www.ruby-doc.org/downloads/$_core_filename" "http://www.ruby-doc.org/downloads/$_stdlib_filename")
14sha512sums=('4cd09e7aa560d19955af54b3bce2e2d0491994698b3a1df2997d8c0f39e55fa015788189450b432c9679ae34261bbee21ed68cbad45f492142e80960240d7d6a'
15 '09850cb11f74ceb4885baba6599ca8d9ee4ea86c75ac6aa501f3b7d54e9b70519cb345602da2e329f0746d825e4e682d8d72f0707c819e2b484a348d61084525')
16noextract=($_core_filename $_stdlib_filename)
17
18package(){
19 mkdir -p "$pkgdir/usr/share/doc/ruby"
20 cd "$pkgdir/usr/share/doc/ruby"
21 tar -xzf "$srcdir/$_core_filename"
22 tar -xzf "$srcdir/$_stdlib_filename"
23}
24

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