From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id yKVTKodbW2O2+AAAbAwnHQ (envelope-from ) for ; Fri, 28 Oct 2022 06:33:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id rjEzKodbW2MAnwAAauVa8A (envelope-from ) for ; Fri, 28 Oct 2022 06:33:11 +0200 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 5E4C52C2D8 for ; Fri, 28 Oct 2022 06:33:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ooH3F-0004Aj-9p; Fri, 28 Oct 2022 00:33:01 -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 1ooH3E-0004AL-9S for emacs-orgmode@gnu.org; Fri, 28 Oct 2022 00:33:00 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ooH39-000727-VP for emacs-orgmode@gnu.org; Fri, 28 Oct 2022 00:33:00 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 4951D240026 for ; Fri, 28 Oct 2022 06:32:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1666931574; bh=a5EyeIYuV9VEivi+8mmKaVHVnwz1iv7Vo9nBkDxWJ4s=; h=From:To:Cc:Subject:Date:From; b=DD45B2FOYysDjygSzPfNg3f3lWs3gorBd3FlJAL1MiGOGx8q8YE5aWU0d+O14pMvU Fuu1fQzwbagIaNfxeo+Q1TnrNZHZqNe4YwPPKHOGhn1Mu1TgJyLm18lCsbLBwvDTNn d07+rfZZYqLprEE5Mg8qsNy1vcv8hKLatbaAA2p/sD0/LVhMDcJaTnbVynwL/Yl8k9 9Fyure0CO4/tQCjhV2PHEdRcV2DY5X6ZCiCGFM0QPSV7WdRblTOX8K+MGFaBzwnJph OG0w1kdP8ZL12244kiN8h+FvwpZ4vm9mCuYm2GU2sY9xWS2CplsXiQO7CelrsyEWPr DxT77y2w03sBg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Mz8mP1wKJz6tqq; Fri, 28 Oct 2022 06:32:52 +0200 (CEST) From: Ihor Radchenko To: Max Nikulin Cc: emacs-orgmode@gnu.org Subject: Re: [BUG][Security] begin_src :var evaluated before the prompt to confirm execution In-Reply-To: References: Date: Fri, 28 Oct 2022 04:33:36 +0000 Message-ID: <87sfj8lg7z.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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: , Sender: "Emacs-orgmode" Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1666931591; 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=68QurnwtdnbjDT6YQNwLwYKQHpGymTZWm9BTt+EjFSg=; b=DOQg19um+KNNizeytdaC2OG1+3hg5IqttTNW4VZgYyM2sWzQVSqW8LwnpyMNIZsxGv5aLq M/pvyjta9Kae98z6CHmXqikW11Lmj7lbmUtIdFXVFV77D+Kt3JK3ZDNkbI3K/7yG+LOmZy JWJEak/9cNbgUxdpaYIL+5eIQCbGimjlqq2DxIoNp0NNKvtX0k48LuTysmKLH3bR51mMLq rLVErmsLUsjgUdnCars8MAqL4gim30fEeJUxRcfbpQ71D8F9KxmV1PTpDUqZCyXuairvHe ot9FOApXXUPclQp2M+rK+GArIR+sehIxqGgKGCt9nhMnruFC+ecXmC6KwjVAgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1666931591; a=rsa-sha256; cv=none; b=G7mPBbyR8L3oiaxy4adLHR7QHKnzvhDL+zQjaJH2QFL7tylM+DTt83JI2OB64T2n0xecY4 +vDkNOiZR4CpOzaYUnwNVKS3bAzUVmW52yqLt2Ht3MJNC1QEJf61tjIbs3TLuOPacEv5sV nAOjRg1QfQ43wAdAy6bWxVtqL+8KOYk+2nTxAtLdK2E+ENERc6YB/RbJzD51KFLJ7jWmhq vzwyPsg1C4LCSWfmOI8FUykeMdznHkd9ywNflsjDSPeLl6zmmpbb0ZyaFxjqzoAqQXNKED nR8NrKZj7fPA+6VjJBh8fj/ANnpCjZG3yuTBOmuW22ry6wI2S9243Zix1iU6Tg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DD45B2FO; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Spam-Score: -3.41 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=DD45B2FO; dmarc=pass (policy=none) header.from=posteo.net; 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" X-Migadu-Queue-Id: 5E4C52C2D8 X-Spam-Score: -3.41 X-Migadu-Scanner: scn0.migadu.com X-TUID: XObMPfkc0ISM Max Nikulin writes: >> Should that be or is it a general policy for Org mode? > > I am afraid, it is unrealistic. Spreadsheet feature will be unusable. > And it is another reason why I am strongly against formats designed for > personal use rather than for web in browser context. I disagree. We may ask about execution once for all the spreadsheet formulas. Could you create an example of a spreadsheet running elisp code and post it? > Perhaps closely related issues exist with noweb references or some other > way to use code outside of particular #+begin_src body. I am unsure if > such problems should be discussed in this thread or in dedicated ones. I > am still suffering from deja vu and I should just bump an earlier thread. It is better to open a new thread compared to none. If something is briefly discussed in an old thread, it is unlikely to be noticed. Especially bugs not listed on updates.orgmode.org. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at