confluent-platform

maintainer orphaned · 4 votes · scanned 2026-08-03 00:08:14.047287
MEDIUM
View on AUR ↗
Why flagged The PKGBUILD downloads a prebuilt binary (confluent CLI) from an AWS S3 URL (s3-us-west-2.amazonaws.com/confluent.cloud/...) with 'SKIP' for its checksum, then installs it as an executable at /usr/bin/confluent. While the S3 bucket 'confluent.cloud' is plausibly operated by Confluent Inc. (the official vendor), it is not their primary package distribution channel (packages.confluent.io is), and the 'latest' path means the binary can change at any time without any integrity verification. The SKIP checksum means there is zero tamper detection. This is a genuine supply-chain concern: an executed binary from an unofficial/unverified host with no integrity check. The main Confluent platform tarball does have a proper sha256sum and comes from packages.confluent.io. The CLI binary concern alone is sufficient to maintain a medium rating.

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:44 source=(https://packages.confluent.io/archive/7.7/confluent-7.7.0.tar.gz
  • PKGBUILD:46 https://s3-us-west-2.amazonaws.com/confluent.cloud/confluent-cli/archives/latest/confluent_latest_linux_amd64.tar.gz
MEDIUM AI review llm_review

An AI model (anthropic/claude-4.6-sonnet-20260217) reviewed this and agrees it is MEDIUM (confidence 82%): The PKGBUILD downloads a prebuilt binary (confluent CLI) from an AWS S3 URL (s3-us-west-2.amazonaws.com/confluent.cloud/...) with 'SKIP' for its checksum, then installs it as an executable at /usr/bin/confluent. While the S3 bucket 'confluent.cloud' is plausibly operated by Confluent Inc. (the official vendor), it is not their primary package distribution channel (packages.confluent.io is), and the 'latest' path means the binary can change at any time without any integrity verification. The SKIP checksum means there is zero tamper detection. This is a genuine supply-chain concern: an executed binary from an unofficial/unverified host with no integrity check. The main Confluent platform tarball does have a proper sha256sum and comes from packages.confluent.io. The CLI binary concern alone is sufficient to maintain a medium rating.

PKGBUILD

2 offending line(s) highlighted
1# Maintainer: Damien GASPARINA <dgasparina at gmail dot com>
2pkgname=confluent-platform
3pkgver=7.7.0
4pkgrel=0
5pkgdesc='Confluent, founded by the creators of Apache Kafka, delivers a complete execution of Kafka for the Enterprise, to help you run your business in real time.'
6arch=('any')
7url='https://www.confluent.io/'
8license=('Commercial')
9depends=('java-runtime')
10backup=(etc/confluent-control-center/log4j.properties
11 etc/confluent-control-center/control-center-dev.properties
12 etc/confluent-control-center/propertyfile.conf
13 etc/confluent-control-center/log4j-rolling.properties
14 etc/confluent-control-center/control-center-production.properties
15 etc/confluent-control-center/ldap.conf
16 etc/confluent-control-center/log4j-silent.properties
17 etc/confluent-control-center/control-center.properties
18 etc/schema-registry/schema-registry.properties
19 etc/schema-registry/log4j.properties
20 etc/schema-registry/connect-avro-distributed.properties
21 etc/schema-registry/connect-avro-standalone.properties
22 etc/kafka/log4j.properties
23 etc/kafka/connect-log4j.properties
24 etc/kafka/connect-distributed.properties
25 etc/kafka/connect-console-source.properties
26 etc/kafka/connect-standalone.properties
27 etc/kafka/producer.properties
28 etc/kafka/tools-log4j.properties
29 etc/kafka/consumer.properties
30 etc/kafka/server.properties
31 etc/kafka/zookeeper.properties
32 etc/kafka-rest/log4j.properties
33 etc/kafka-rest/kafka-rest.properties
34 etc/ksql/log4j.properties
35 etc/ksql/log4j-rolling.properties
36 etc/ksql/log4j-file.properties
37 etc/ksql/datagen.properties
38 etc/ksql/ksql-server.properties
39 etc/ksql/log4j-silent.properties
40 etc/confluent-rebalancer/log4j.properties
41 )
42install=install_confluent.sh
43
44source=(https://packages.confluent.io/archive/7.7/confluent-7.7.0.tar.gz
45 systemd_sysusers.d_confluent.conf
46 https://s3-us-west-2.amazonaws.com/confluent.cloud/confluent-cli/archives/latest/confluent_latest_linux_amd64.tar.gz
47 )
48
49sha256sums=('c3975ace34994efff3a8d70e726c9452ef33e707edb09b41794ddb3b55a143a9'
50 '6f5dfdbaf6ef405117482413b376e55148f75423bc6b8681cd8f91cdb7d96a99'
51 'SKIP')
52
53
54package() {
55 cd "${srcdir}/confluent-${pkgver}"
56
57 # Installing and copying all required files
58 install -d "${pkgdir}"{/usr/,/usr/bin,/etc/,/usr/lib/,/usr/share/,/usr/src/,/var/log/kafka}
59
60 cp -rf ${srcdir}/confluent-${pkgver}/bin/* ${pkgdir}/usr/bin/
61 cp -rf ${srcdir}/confluent-${pkgver}/src/* ${pkgdir}/usr/src/
62 cp -rf ${srcdir}/confluent-${pkgver}/lib/* ${pkgdir}/usr/lib
63 cp -rf ${srcdir}/confluent-${pkgver}/share/* ${pkgdir}/usr/share/
64 cp -rf ${srcdir}/confluent-${pkgver}/etc/* ${pkgdir}/etc/
65
66 cp ${srcdir}/systemd_sysusers.d_confluent.conf ${pkgdir}/confluent.conf
67
68 # Additional configuration to systemm.d
69 # TO CONSIDER Should tmpfile be used for the default values?
70 install -D -m 644 ${srcdir}/systemd_sysusers.d_confluent.conf "${pkgdir}/usr/lib/sysusers.d/confluent.conf"
71
72 # We probably don't need binaries for Windows
73 rm -rf ${pkgdir}/usr/bin/windows/
74
75 # Configure a development environment
76 # Ensure that localhost is use as default value
77 _c3_etc=${pkgdir}/etc/confluent-control-center/control-center.properties
78 _c3_system=${pkgdir}/usr/lib/systemd/system/confluent-control-center.service
79 _kafka_etc=${pkgdir}/etc/kafka/server.properties
80 _zookeeper_etc=${pkgdir}/etc/kafka/zookeeper.properties
81
82 # Configure Apache kafka
83 sed -i 's#log.dirs=/tmp/kafka-logs#log.dirs=/var/lib/confluent/kafka#g' $_kafka_etc
84 sed -i 's#dataDir=/tmp/zookeeper#dataDir=/var/lib/confluent/zookeeper#g' $_zookeeper_etc
85
86 # Configure Confluent Control Center
87 # Required directories for Confluent Control Center
88 sed -i 's/#bootstrap.servers=kafka1:9092/bootstrap.servers=localhost:9092/g' $_c3_etc
89 sed -i 's/#zookeeper.connect=zookeeper1:2181/zookeeper.connect=localhost:2181/g' $_c3_etc
90 sed -i 's/#confluent.controlcenter.connect.cluster=connect1:8083/confluent.controlcenter.connect.cluster=localhost:8083/g' $_c3_etc
91
92 # Configure replication factor to 1 for internal topics
93 sed -i 's/#confluent.controlcenter.internal.topics.replication=3/confluent.controlcenter.internal.topics.replication=1/g' $_c3_etc
94 sed -i 's/#confluent.monitoring.interceptor.topic.replication=3/confluent.monitoring.interceptor.topic.replication=1/g' $_c3_etc
95 sed -i 's/#confluent.controlcenter.command.topic.replication=3/confluent.controlcenter.command.topic.replication=1/g' $_c3_etc
96 sed -i 's/#confluent.metrics.topic.replication=3/confluent.metrics.topic.replication=1/g' $_c3_etc
97
98 # Use a persistent folder for control center data directory
99 sed -i 's#confluent.controlcenter.data.dir=/tmp/confluent/control-center#confluent.controlcenter.data.dir=/var/lib/confluent/control-center#g' $_c3_etc
100
101 # Configure local kafka for monitoring
102 echo '' >> $_kafka_etc
103 echo 'metric.reporters=io.confluent.metrics.reporter.ConfluentMetricsReporter' >> $_kafka_etc
104 echo 'confluent.metrics.reporter.bootstrap.servers=localhost:9092' >> $_kafka_etc
105
106 # Configure systemd to use control-center.properties instead of default production one
107 sed -i 's#ExecStart=/usr/bin/control-center-start /etc/confluent-control-center/control-center-production.properties#ExecStart=/usr/bin/control-center-start /etc/confluent-control-center/control-center.properties#g' $_c3_system
108
109 # Configure logging to /var/log
110 ln -s /var/log/confluent/kafka ${pkgdir}/usr/logs
111
112 # Removing unneeded file
113 rm ${pkgdir}/confluent.conf
114
115 # Installing Confluent CLI
116 install -D -m 755 ${srcdir}/confluent/confluent "${pkgdir}/usr/bin/confluent"
117}
118

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