🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4743

Bug#994945: webhook should not run as root by default

#4743
From: Andrea Pappacoda
Date: Mon, 16 Nov 2026 16:10
26 lines
2756 bytes
Hi Antoine,

On Thu, 23 Sep 2021 12:05:43 -0400 Antoine Beaupre <anarcat@debian.org> wrote:
> I was surprised to find out that this package starts a user-facing 
> daemon as root, by default (when the config file is created, that is).
> 
> That seems like poor security, and it seems to me the package should 
> create a user on install.

I was similarly surprised to see this as well. At least, the systemd 
service unit is disabled by default (as no configuration file is shipped 
in the package).

I have now started using this software in my local hacklab, and would 
like to take a bit more care of it (unless we stop using it in the next 
few weeks, that is).

I was thinking that maybe the package could ship with a socket unit, so 
that the program doesn't need to bind sockets itself and needs no 
special privileges. Then, settings like DynamicUser= could easily be 
enabled.

Do you think this makes sense?

Bye!
Technical Details
Message-ID: <O07rk-chw5-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <D0zsl-5kK-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news-fra.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: "Andrea Pappacoda" <andrea@pappacoda.it>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#994945: webhook should not run as root by default
Date: Mon, 16 Nov 2026 17:10:02 +0100
Message-ID: <O07rk-chw5-5@gated-at.bofh.it>
References: <D0zsl-5kK-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Mon Nov 16 16:03:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.451
Reply-To: "Andrea Pappacoda" <andrea@pappacoda.it>, 994945@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-go-maintainers@lists.alioth.debian.org
X-Debian-Pr-Message: followup 994945
X-Debian-Pr-Package: webhook
X-Debian-Pr-Source: webhook
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8; format=Flowed
X-Mailer: aerc 0.22.0
X-Greylist: delayed 406 seconds by postgrey-1.37 at buxtehude; Mon, 16 Nov 2026 16:02:06 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003003
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 26
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: <994945@bugs.debian.org>
X-Original-Date: Mon, 16 Nov 2026 16:55:17 +0100
X-Original-Message-ID: <DMWRA4F0ECIO.QYI38OEFYPJE@pappacoda.it>
X-Original-References: <163241314380.3021146.1780587133031240703.reportbug@curie.anarc.at>