🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #331313

Re: aliceandbob pgp tool

#331313
From: Gabx
Date: Thu, 18 Sep 2025 11:01
30 lines
3050 bytes
SEC3 wrote:> Pretty neat: https://aliceandbob.io/
> 
> This post is exclusively about the online version of aliceandbob.io:

I've just completed a security review of the Alice & Bob Go implementation (https://github.com/aliceandbob-io/aliceandbob ) and must raise a serious red flag: there is no runtime protection for private keys in memory.

Unlike hardened implementations, like the one written by myself
(e.g., https://github.com/gabrix73/Nofuture-Go-Memguard ), 

https://safecomms.virebent.art/

which use memory locking, anti-dump measures, ptrace restrictions, and defense-in-depth against local root compromise, Alice & Bob's code:

Stores private keys in regular Go heap memory (subject to GC, swapping, core dumps).

Does not lock pages with mlock or equivalent.

Does not disable core dumps or restrict /proc/<pid>/mem access.

Does not prevent debugging or memory scraping via gcore, ptrace, or forensic tools.

Assumes a trusted local environment, a dangerous assumption in 2024.

This means: if an attacker gains local access (even non-root in some cases, or root via escalation), they can trivially extract private keys from memory, complete identity theft with zero resistance.

Gabx

--- Digital Signature ---
SirSFqC7abaRw9gpYW8Ej+lK/lc/2AgCdSRLSG0G2FUv6CM/eM/0FaqGk7gzawEefBzCaXXbDPg3UPAroAdjAQ==
Technical Details
Message-ID: <20250918.1758193316.761120.5844@m2usenet.local>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!news.tcpreset.net!.POSTED!mail2news.tcpreset.net!not-for-mail
References: <18659f7c5f4f5909$1$2584243$802601b3@news.usenetexpress.com>

Show Full Headers
Complete Article Headers
Message-ID: <20250918.1758193316.761120.5844@m2usenet.local>
Subject: Re: aliceandbob pgp tool
Date: Thu, 18 Sep 2025 11:01:56 +0000
From: Gabx <victor@virebent.tcpreset>
References: <18659f7c5f4f5909$1$2584243$802601b3@news.usenetexpress.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.pugleaf.net!ygg-srl.newsdeef.eu!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!eternal-september.org!feeder.eternal-september.org!news.tcpreset.net!.POSTED!mail2news.tcpreset.net!not-for-mail
Newsgroups: alt.privacy.anon-server,alt.privacy,misc.test
Organization: Tcpreset M2N Gateway
NNTP-Posting-Host: c3066ed76bae8bcc0e476efb157ff758
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Info: news.tcpreset.net;
 logging-data="106639"; mail-complaints-to="abuse@tcpreset.net"
User-Agent: mail2news-go v0.9.5
To: mail2news@xilb7y4kj6u6qfo45o3yk2kilfv54ffukzei3puonuqlncy7cn2afwyd.onion
X-Ed25519-Sig: SirSFqC7abaRw9gpYW8Ej+lK/lc/2AgCdSRLSG0G2FUv6CM/eM/0FaqGk7gzawEefBzCaXXbDPg3UPAroAdjAQ==
X-Hashcash: 1:24:250918105224:victor@virebent.tcpreset::377075:25683900
X-Spam: Yes
Return-Path: <victor@virebent.tcpreset>
X-No-Archive: Yes
X-Gateway-Info: mail2news.tcpreset.net; mail-complaints-to=abuse@tcpreset.net
In-Reply-To: <18659f7c5f4f5909$1$2584243$802601b3@news.usenetexpress.com>
X-Original-To: mail2news@xilb7y4kj6u6qfo45o3yk2kilfv54ffukzei3puonuqlncy7cn2afwyd.onion
X-Ed25519-Pub: LUMmwoFeL/ahZ72YdeVYOvQoxqUdrelX75I5PHkJWng=
Delivered-To: mail2news@localhost