Article View: linux.debian.bugs.dist
Article #4744Bug#994945: webhook should not run as root by default
From: Antoine Beaupré
Date: Mon, 16 Nov 2026 16:10
Date: Mon, 16 Nov 2026 16:10
30 lines
2853 bytes
2853 bytes
On 2026-11-16 16:55:17, Andrea Pappacoda wrote:
> 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?
Yes.
--
Don't just do something, sit there.
- Sylvia Boorstein
Technical Details
Message-ID:
<O07rk-chw5-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodReferences:
<O07rk-chw5-5@gated-at.bofh.it> <D0zsl-5kK-1@gated-at.bofh.it> <O07rk-chw5-5@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Antoine Beaupré <anarcat@debian.org> 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-3@gated-at.bofh.it> References: <O07rk-chw5-5@gated-at.bofh.it> <D0zsl-5kK-1@gated-at.bofh.it> <O07rk-chw5-5@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Mon Nov 16 16:09:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Antoine Beaupré <anarcat@debian.org>, 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 Organization: Debian MIME-Version: 1.0 Content-Type: text/plain X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2003004 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 30 Sender: robomod@news.nic.it X-Original-Cc: 994945@bugs.debian.org X-Original-Date: Mon, 16 Nov 2026 11:07:42 -0500 X-Original-Message-ID: <87v75wlpyp.fsf@angela.anarc.at> X-Original-References: <DMWRA4F0ECIO.QYI38OEFYPJE@pappacoda.it> <163241314380.3021146.1780587133031240703.reportbug@curie.anarc.at> <DMWRA4F0ECIO.QYI38OEFYPJE@pappacoda.it>