From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 1y1mOejofmYEFwEAe85BDQ:P1 (envelope-from ) for ; Fri, 28 Jun 2024 16:46:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 1y1mOejofmYEFwEAe85BDQ (envelope-from ) for ; Fri, 28 Jun 2024 18:46:33 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=hj06CRXe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1719593192; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=mMyWEaytrbVPh7Q9om+p82pAZeqpWJZhPiscgdoNVXE=; b=etAdKN/vGXE8tqrhc8IQC3vsPf1SgmVKzG+FLwwFdbvFvwHtrciJoCOqCGQLsqtufooleP gKtdUTQkg8FJjeEYcSUC0BHM+pSBnu9Igprsc1drV3s1+RaKEIY4QktV5NpKzg4swdZvMj K+XFmQ5pi6Caj9GDJX6zrLecEap+d3kTRBsRR7MTADgYvRn5j3BEE/4BS4Fdvn2gvINdI2 gKDJWuAQZciEpo3j4KCC4azhVHX/0NW/Cjnvdyq2Cku/Dp/JUt20CQT9xM5+LM08VNNB+b 4X8Y2eieR6TNaOEsh67jIqNblkEi7kVWuCC9iwjhvk7BndjZ1pHY/LSW8adLTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1719593192; a=rsa-sha256; cv=none; b=dqcNxUov0Ud/6M9olqPJv1x/NxZgcZ2e0H0UHs3IUizQ3le4AExY+O2OAflexbFy0WvuBe bJjferXA8UF1bHepJIk8W7hytQEJ6JflE1mhiG58vA8DWPFtkxgLJaMDwgJJp4A5YdLWDu d0tjSVIGYQ/X3YBonSv1xUECZTN1dlwCW3afoYwCOWB8ZtBl9c54Kq2C4JJEt9uyeTeNXR vQE3NRI8fiXXtOF5X4Bcrbt8N6RNMR45e+HIvZlIEUJTA2qA4v4u/VZOqmUDafCCZmvgSL n4ybubuRT3aonCbdnzBZdeGwJstAdTHjXsYb3/Ly+FbzUwpKWxMaAJe9gxyq+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=hj06CRXe; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D472C18607 for ; Fri, 28 Jun 2024 18:46:32 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNEjI-0006xn-Iw; Fri, 28 Jun 2024 12:45:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sNEjD-0006wL-S6 for emacs-orgmode@gnu.org; Fri, 28 Jun 2024 12:45:41 -0400 Received: from mail-oo1-xc44.google.com ([2607:f8b0:4864:20::c44]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNEj9-0003U5-6X; Fri, 28 Jun 2024 12:45:39 -0400 Received: by mail-oo1-xc44.google.com with SMTP id 006d021491bc7-5c22bc0ca4cso13501eaf.3; Fri, 28 Jun 2024 09:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719593132; x=1720197932; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=mMyWEaytrbVPh7Q9om+p82pAZeqpWJZhPiscgdoNVXE=; b=hj06CRXe794b1rTYLDQIJ5zM3yMgKbZdhSrr8x1hQUJ92/TlN/5pPsx/TfL9NHU2Dy rAJc85rs/x/BD3yvx4VSHy9CaciOKjK9lW7HQDyFnIFNGjWFytOvIwCMmeqcYs4vZ0wS MU4ZHB9CiGEBFUnQCQvWCi1ffX26IxGmFXHG3WkCzC8egirVPybDLyvrNTt86nnjrz// jExrQYTqAQ9BToNWPw9BzTow8GhNFa6O6E0sVWSr4yGb+s12I3Xszy7e/6c1c45YrsCK IxoG5N74dUTOIukaBRldpr8eYnPoBABOtDPAY1IJeQsKkjj4yPDVcJNw0pC2v5e+EQsi FuJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719593132; x=1720197932; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=mMyWEaytrbVPh7Q9om+p82pAZeqpWJZhPiscgdoNVXE=; b=IJsel5S3AcIFkB8wVQCGlK6qV1wb7CVj4lrnTVFiDnB+HZfttAVICfncPT0QQqnDY7 GO9EZLrl0tEL9/sPcGbe6Kh9xCIaI3x3jo9kGBR8o/V1vsUaEaEixk9NJtUgr/v4isgy DTYT/q9fWlhUZyMY+JX6orNZg/vQbIvmHVeDucO/urkSe3P9SRWrkTAKHdg15YxsxdWi FqB934zCacfDsY37ijVedzRAivfaypbWMmXFM4IJxhoMsmyjvzeBz/bG1F0TslJYoVJl Jhc+qXpPO6i43RWafHCu/UG/Di8MpCb49GsveW0rRxPbrdL0+ZG0ZRVu5M9ACHCxzJ2t zYVw== X-Forwarded-Encrypted: i=1; AJvYcCUY3l6PgZEJh9UTjzu4K17iWuGEBuebCGPy3CBpVAqF8D2Dj4Ux7uRweYh0Rh2JHPPY8ueOWcsnaZ5CXeKqIUGbuXT3VIfp9zh2r6/vVx56tLdC X-Gm-Message-State: AOJu0YyPu/ZIRQueVkwk3DxxJ5AMxzawMQBgZCLEHw1dLM9SmfK70KTo FpcLf+984GZrB6QWfe5mgAVvuPNPSTZDSXc001enDhQCo3HveT7Jom8RKlr47Yw= X-Google-Smtp-Source: AGHT+IGp07Jc2DIgXQzIiZpr0bgEqc0ib9aRYmuwQZpjSit1DKBoNmAEPTmt3fKI6/ES0km/oiDH/Q== X-Received: by 2002:a05:6820:826:b0:5ba:ead2:c742 with SMTP id 006d021491bc7-5c1e5ca2ca1mr24374290eaf.0.1719593132464; Fri, 28 Jun 2024 09:45:32 -0700 (PDT) Received: from gnus (static-198-54-132-177.cust.tzulo.com. [198.54.132.177]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-5c4149c2d74sm308843eaf.39.2024.06.28.09.45.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jun 2024 09:45:32 -0700 (PDT) From: Suhail Singh To: Steven Allen Cc: Suhail Singh , Ihor Radchenko , emacs-orgmode@gnu.org, Bastien Subject: Re: [POLL] We plan to remove #+LINK: ...%(my-function) placeholder from link abbreviation spec In-Reply-To: <87pls1ox7v.fsf@stebalien.com> (Steven Allen's message of "Fri, 28 Jun 2024 09:20:36 -0700") References: <87sex5gdqc.fsf@localhost> <87wmm96r53.fsf@localhost> <87cyo13w0x.fsf@gmail.com> <87pls1ox7v.fsf@stebalien.com> Date: Fri, 28 Jun 2024 12:45:30 -0400 Message-ID: <874j9d3tjp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::c44; envelope-from=suhailsingh247@gmail.com; helo=mail-oo1-xc44.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: D472C18607 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -9.71 X-Spam-Score: -9.71 X-TUID: S02I36W8t1ck Steven Allen writes: > 1. While this feature no longer invokes completely arbitrary code, it > still allows an attacker to call any function marked as "pure" which > is a pretty large attack surface. I am struggling to assess this, because it's not clear to me what the threat model is. Could you please elaborate? How are the attacker and potential victim interacting; what is the attack vector(s); who are the threat agents and what is their goal that we are trying to guard against, etc? > You can, of course, write that function; but then you might as well > use org-link-abbrev-alist instead of defining a local #+LINK. Perhaps I misunderstood, I thought the thing being polled was whether or not to allow org-link-abbrev-alist to have REPLACE (per its docstring) be a function. I.e., if %(my-function) is removed, so too would the ability to have a function in the REPLACE position in org-link-abbrev-alist. Did I misunderstand? -- Suhail