drupalconsole

maintainer sanduhrs · 2 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a PHP installer script from drupalconsole.com/installer — the official Drupal Console project website — and installs it as an executable binary at /usr/bin/drupal. While drupalconsole.com is the legitimate upstream vendor site (not a personal or unofficial host), the concern is real: this is a single-file executable script fetched directly from a live URL on a non-forge host with no versioned path (the URL is just /installer, not pinned to a specific release artifact). If the domain were compromised or the file silently replaced, the sha512sum would catch it — but only if the checksum itself was captured from a trustworthy state. The sha512sum is present and non-trivial, which mitigates the risk somewhat. The pattern (vendor-hosted installer script, executed directly) is a legitimate medium supply-chain concern: it's an executed artifact from a non-standard host with no versioned URL, even if the domain is the official project site. Not clearly malicious, but not clean either.

Triggered rules

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:14 source=("${_pkgname}-${pkgver//_/-}"::"https://drupalconsole.com/installer")
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 72%): The PKGBUILD downloads a PHP installer script from drupalconsole.com/installer — the official Drupal Console project website — and installs it as an executable binary at /usr/bin/drupal. While drupalconsole.com is the legitimate upstream vendor site (not a personal or unofficial host), the concern is real: this is a single-file executable script fetched directly from a live URL on a non-forge host with no versioned path (the URL is just /installer, not pinned to a specific release artifact). If the domain were compromised or the file silently replaced, the sha512sum would catch it — but only if the checksum itself was captured from a trustworthy state. The sha512sum is present and non-trivial, which mitigates the risk somewhat. The pattern (vendor-hosted installer script, executed directly) is a legitimate medium supply-chain concern: it's an executed artifact from a non-standard host with no versioned URL, even if the domain is the official project site. Not clearly malicious, but not clean either.

PKGBUILD

1 offending line(s) highlighted
1# Maintainer: Stefan Auditor <stefan.auditor@erdfisch.de>
2# Please report issues at https://github.com/sanduhrs/arch-aur-drupalconsole
3
4_pkgname=drupalconsole
5pkgname=${_pkgname}
6pkgver=1.9.10
7pkgrel=2
8pkgdesc="The Drupal Console is a suite of tools that you run on a command line interface (CLI) to generate boilerplate code and interact with a Drupal 8 installation."
9arch=('any')
10url="http://drupalconsole.com/"
11license=('GPL')
12depends=('php>=5.9.5')
13install="${_pkgname}.install"
14source=("${_pkgname}-${pkgver//_/-}"::"https://drupalconsole.com/installer")
15sha512sums=('a58e78621b9e1bccb181641682c2c66356b2559638ebe2272c0d8f9302e4f973b70a77d2ce5f7e83e346d475ad4ab95fc90a77c0b09c40908af0c8d1c9597147')
16
17package() {
18 install -D -m755 "${_pkgname}-${pkgver//_/-}" "${pkgdir}/usr/bin/drupal"
19}
20

Scan history

Scanned at (UTC)SeverityRules
2026-08-03 00:08:14 MEDIUM 2
2026-08-02 00:16:08 MEDIUM 2
2026-08-01 00:11:18 MEDIUM 2
2026-07-31 00:14:10 MEDIUM 2
2026-07-30 00:17:23 MEDIUM 2
2026-07-29 00:25:53 MEDIUM 2
2026-07-28 00:07:28 MEDIUM 2
2026-07-27 00:24:32 MEDIUM 2
2026-07-26 00:07:32 MEDIUM 2
2026-07-25 00:13:44 MEDIUM 2
2026-07-24 00:02:28 MEDIUM 2
2026-07-23 00:14:47 MEDIUM 2
2026-07-22 00:29:32 MEDIUM 2
2026-07-21 00:24:15 MEDIUM 2
2026-07-20 00:19:49 MEDIUM 2
2026-07-19 00:17:08 MEDIUM 2
2026-07-18 00:14:48 MEDIUM 2
2026-07-17 00:06:16 MEDIUM 2
2026-07-16 00:05:41 MEDIUM 2
2026-07-15 00:09:25 MEDIUM 2

Report a package

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

0 / 4000
Your suggestion