processing / processing/processing4

Implement warning message when opening .pdex or .pdez files

未关闭
#560 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

has attachment
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Created by: SableRaf

Currently, it is possible to open and run a .pdez or .pdex file downloaded from the web without any extra steps. It could be wise to add a warning when opening a bundled sketch/mode/tool/library to tell a user to only run third-party code if they trust the author (similar to VSCode's restricted mode).

Note: Unlike VSCode and its extensions, the PDE won't run arbitrary code just when you open a sketch so this is is not an apples to apples comparison, but since we made it easier to execute arbitrary code on a machine running the PDE, it might still be a good idea to add that extra layer of security.

Image

Edit: this was initially mentioned here https://github.com/processing/processing4/issues/559

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先追踪捆绑的 .pdex 和 .pdez 文件的 PDE 打开和运行流程,包括 sketches、modes、tools 和 libraries。完成标准是:用户在运行下载的第三方代码之前会看到信任警告,并且行为与预期的安全范围一致。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
desktop, security
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。