跳到正文
每分钟自动更新
12月3日周四
  1. Simon Willison

    Quoting Matthew Prince

    中文摘要

    中文摘要待更新

    英文原文

    Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it’s a big deal. No, we can’t give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards. — Matthew Prince , Cloudflare CEO, on the Joint statement from Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle on transition to post-quantum cryptography Tags: apple , anthropic , encryption , openai , oracle , microsoft , security , google , ai-security-research , amazon , cloudflare

11月19日周四
11月18日周三
  1. Simon Willison

    Quoting Daniel Stenberg

    中文摘要

    在这些代理将185,000行C代码转换为340,000行Rust代码的这段时间里(我进行了统计),我们在实际的curl项目中合并了300多个提交。在这些不到三周的时间里,我们实际上改进了curl。实际修复了200多个错误。这些Rust重写中并没有这些错误修复。我们还修复了一些漏洞。在接下来的一个月里,我们又完成了另外200多个修复,可能还修复了几个更多的漏洞。这些代码克隆体能跟上吗?——Daniel Stenberg,实际的curl Rust重写 标签:daniel-stenberg,curl,rust,安全,编码代理,c,人工智能,llms,生成式人工智能,vibe-porting

    英文原文

    During the time these agents converted 185,000 lines of C code into 340,000 lines of Rust code (I counted), we merged over 300 commits in the actual curl project. We actually improved curl during these a little more than three weeks. A little over 200 bugfixes actually. 200 bugfixes that none of those rust rewrites have. We also fixed a few vulnerabilities. In another month we have done another 200 and maybe fixed a few more vulnerabilities. Will these clones keep up? — Daniel Stenberg , Actual curl rewrites in Rust Tags: daniel-stenberg , curl , rust , security , coding-agents , c , ai , llms , generative-ai , vibe-porting

  2. Simon Willison

    External sandboxes for coding agents

    中文摘要

    针对代码代理的外部沙盒我一直在探索新的方式,对代理执行的代码进行沙盒处理,重点是让尝试本地模型更加安全,而不用担心错误或提示注入攻击可能导致它们对机器造成损害。我与Prime Radiant合作完成了这个项目,Prime Radiant是Superpowers和其他项目的AI研究实验室。我在Prime Radiant的博客上发表的文章介绍了外部沙盒模式,其中代理执行的代码在专用沙盒中运行,而代理本身则位于该沙盒之外。为了演示这一模式,我们发布了三个沙盒服务器实现:external-sandbox-v86运行一个Node.js服务器,然后使用v86在WebAssembly中运行Alpine Linux。external-sandbox-container是一个Python Web服务器,在Apple Containers实例中运行Alpine Linux的沙盒。external-sandbox-quicksand是另一个Python Web服务器,这次使用了微软的Quicksand沙盒库,该库将QEMU和Alpine Linux打包在一个Python包中!这些实现都提供了相同的localhost API。然后你可以将Pi、Claude Code或Codex配置为向该沙盒发送API调用。

    英文原文

    External sandboxes for coding agents I've been exploring new ways to sandbox code that is executed by agents, with a focus on making it safer to try out local models without worrying that a mistake or prompt injection attack might cause them to take damaging actions on a machine. I worked on this project with Prime Radiant , the AI research lab behind Superpowers and other projects . My post on the Prime Radiant blog introduces the external sandbox pattern, where code executed by the agent runs inside a dedicated sandbox while the agent itself lives outside of that sandbox. To demonstrate this pattern we've released three sandbox server implementations: external-sandbox-v86 runs a Node.js server which then uses v86 to run Alpine Linux inside WebAssembly. external-sandbox-container is a Python web server which runs the sandbox in Alpine Linux inside an Apple Containers instance. external-sandbox-quicksand is another Python web server, this time using Microsoft's Quicksand sandboxing library, which bundles QEMU and Alpine Linux in a Python package! Each of these implementations offers the same localhost API. You can then configure Pi, Claude Code, or Codex to send API calls to that s

11月16日周一
  1. Simon Willison

    datasette 1.0a43

    中文摘要

    发布:datasette 1.0a43 我一直在努力利用Claude Fable 5.2来帮助完成1.0里程碑,目前该里程碑已完成53%。此次发布的最重要的1.0功能是输出渲染器的流式支持——内置的TSV和CSV导出机制现在也使用了这一功能,插件可以通过新的Response.stream()方法注册自己,以一次性流式传输表中的每一行。有一些安全修复,其中一项我认定值得发布GitHub安全公告:私有存储查询可能会被暴露,从而允许访问查询的标题和SQL(但不允许执行该查询)。还有数十项较小的改进。行页面的JSON表示终于有了适合1.0的设计。一个新的<datasette-copy-button>网络组件在多个地方提供了复制模式的功能。行页面中的列中的JSON可以进行美化排版。新增了一个DatasetteModal.confirm() JavaScript实用方法。此外还有数十个错误修复,包括Zihan Dai、Peter Olkhovets、Ilya Khalafi和Ankita Advitot的贡献。我最兴奋的新功能是一个非常小的功能:我已在Datasette中添加了CSS多页视图过渡效果!

    英文原文

    Release: datasette 1.0a43 I've been leaning hard into Claude Fable 5.2 to help knock things off the 1.0 milestone , which is now 53% complete. The biggest 1.0 item in this release is streaming support for output renderers - the built-in TSV and CSV export mechanisms now use this as well, and plugins can register themselves as capable of streaming every row in a table in one go via the new Response.stream() method. There are a couple of security fixes, one of which I deemed deserving of a GitHub advisory : private stored queries could be exposed, granting access to the title and SQL of the query (but not allowing that query to be executed). There are dozens of smaller improvements. The row page JSON representation finally has a design suitable for 1.0 . A new <datasette-copy-button> Web Component provides copy-schema in various places. JSON in columns on the row page can be pretty-printed. There's a new DatasetteModal.confirm() JavaScript utility method. Plus dozens of bug fixes, including contributions by Zihan Dai , Peter Olkhovets , Ilya Khalafi , and Ankita Advitot . The feature I'm most excited about is a pretty tiny one: I've added CSS multi-page view transitions to Datasette!

  2. Simon Willison

    datasette 0.65.6

    中文摘要

    发布:datasette 0.65.6 我将 1.0a43 中的一个小安全修复回滚了:修复了一个安全问题,即使用 add_database(db, name=..., route=...) 注册的数据库,如果其路由与名称不同,那么未经授权的人员可以从 /<route>.db 下载该数据库。[...] 标签:安全,datasette

    英文原文

    Release: datasette 0.65.6 I backported a minor security fix from 1.0a43: Fixed a security issue where a database registered using add_database(db, name=..., route=...) with a route that differs from its name could be downloaded from /<route>.db by actors who were denied access to it. [...] Tags: security , datasette

11月12日周四
  1. Simon Willison

    llm 0.37.2

    中文摘要

    发布:llm 0.37.2 修复了 Daniel de Araujo 报告的安全问题,问题编号为 GHSA-v9h7-jj4g-f862 和 GHSA-r639-rr7r-x72w。LLM 有一个名为 extra-openai-models.yaml 的机制 - 现在由 0.37 版新增的 llm openai 端点添加命令进行管理 - 用于通过其他提供商的 OpenAI 兼容 API 端点使用 LLM。Daniel 报告了两种方式,这可能导致您的配置 OpenAI API 密钥意外发送到其中一家提供商:如果由 api_key_name 指定的密钥从未被存储,或者如果使用 -o chat_completions 1 运行了 responses: true 模型。标签:项目,安全,llm,发布

    英文原文

    Release: llm 0.37.2 Fixes a security issue reported by Daniel de Araujo in GHSA-v9h7-jj4g-f862 and GHSA-r639-rr7r-x72w . LLM has a mechanism called extra-openai-models.yaml - now managed by the new-in-0.37 llm openai endpoint add command - for using LLM with OpenAI-compatible API endpoints from other providers. Daniel reported two ways this could accidentally send your configured OpenAI API key to one of those providers: if the key named by api_key_name had never been stored, or if a responses: true model was run with -o chat_completions 1 . Tags: projects , security , llm , releases

11月1日周日
  1. Simon Willison

    How We Took Over ChatGPT Accounts

    中文摘要

    我们是如何入侵ChatGPT账户的 Parameter Labs描述了一种他们发现的针对ChatGPT对“artifacts模式”(OpenAI以前称之为“Canvas”,但看起来最新版本称为“HTML预览”)实现的漏洞。在该模式中,交互式自定义HTML应用程序会在沙箱化的iframe中显示。确保这些HTML内容保持严格的沙箱化非常重要,以避免不受信任的代码与OpenAI API进行交互并访问私人数据。Parameter发现了一个相当复杂的攻击链。OpenAI在他们的图表支持中使用了MathLive JavaScript库,而该库包含了自己的虚拟键盘,可以通过沙箱化iframe通过postMessage()触发父页面。接收该消息的代码使用innerHTML,因此任何发送消息的内容都可以向父页面添加自定义HTML,并且没有机制阻止其他沙箱化框架(包括HTML预览框架)调用该方法。这意味着iframe中的不受信任代码可以插入HTML,虽然innerHTML不会直接执行脚本元素,但可以用来注入一个没有沙箱限制的新iframe。OpenAI的CSP规则完全阻止了内联脚本,并且只允许

    英文原文

    How We Took Over ChatGPT Accounts Parameter Labs describe an exploit they found against ChatGPT's implementation of the artifacts pattern (OpenAI used to call this "Canvas" but it looks like the latest revision is called HTML previews ), where interactive custom HTML apps are displayed in a sandboxed iframe. It's important that HTML in these stays tightly sandboxed to avoid untrusted code interacting with OpenAI APIs and accessing private data. Parameter found quite a complex attack chain. OpenAI use the MathLive JavaScript library as part of their graph support, and that library includes its own virtual keyboard , which can be triggered in the parent page via postMessage() from the sandboxed iframe. That message receiving code uses innerHTML , so anything that sends a message can add custom HTML to the parent - and there was no mechanism to prevent other sandboxed frames, including HTML preview frames, from calling that method. This meant untrusted code in an iframe could insert HTML, and while innerHTML doesn't directly execute script elements it could be used to inject a new iframe without sandbox restrictions. OpenAI’s CSP rules blocked inline scripts entirely, and only allowed

10月27日周二
10月22日周四
  1. Simon Willison

    Quoting Armin Ronacher

    中文摘要

    尽管人工智能很有趣,但在过去30年里我们开发了太多糟糕的软件,现在宇宙正在惩罚我们的罪过。—— Armin Ronacher 标签:安全,生成式人工智能,Armin Ronacher,人工智能,人工智能安全研究,大型语言模型

    英文原文

    As fun as AI is, we built so much bad software over the last 30 years, and now the universe is punishing us for our sins. — Armin Ronacher Tags: security , generative-ai , armin-ronacher , ai , ai-security-research , llms

  2. Simon Willison

    Today's PHP Security Release, and How We're Strengthening PHP Security

    中文摘要

    今天的PHP安全更新,以及我们如何加强PHP安全性的说明。如果你正在使用PHP运行任何程序,升级是至关重要的——今天的更新(涵盖整个PHP 8.x系列)解决了两个远程代码执行漏洞,而且由于协调披露流程中出现了泄露,自昨晚起已经出现了利用这些漏洞的攻击。PHP基金会的这篇帖子解释了出了什么问题:10月20日星期二,大约在UTC时间15:00,两个CVE编号开始在在线论坛和社交媒体上流传。它们附带了错误的发布时间和错误的CVSS评分为10.0(实际评分为9.2)。没有技术细节泄露。作为回应,PHP项目提前发布了预公告,并于UTC时间19:30进行了发布。它还将原定于UTC时间10月22日14:00的发布日期提前到了UTC时间10月21日14:00 [...] 由于在UTC时间20:00左右出现的泄露和预公告,一家名为Calif的安全公司错误地发布了一段视频。该视频展示了他们的概念验证在多个目标上的运行情况,并透露了一些关于这些漏洞的额外但有限的细节。被删除视频的副本很快在社交媒体上开始流传。

    英文原文

    Today's PHP Security Release, and How We're Strengthening PHP Security If you're running anything on PHP it's vital you upgrade - today's updates (across the entire PHP 8.x line) address two remote code execution holes, and there have been exploits circulating since last night, thanks to a leak in the coordinated disclosure process. This post from the PHP Foundation explain what went so wrong: On Tuesday, October 20th, at around 15:00 UTC, the two CVE IDs began circulating on online forums and social media. They came with a wrong release time and a wrong CVSS score of 10.0 (the actual score is 9.2). No technical details leaked. In response, the PHP project brought its pre-announcement forward and published it at 19:30 UTC . It also moved the release from October 22nd, 14:00 UTC, to October 21st, 14:00 UTC [...] As a result of the leak and pre-announcement around 20:00 UTC, Calif, one of the security firms that had reported the issues mistakenly published a video. It showed their proof of concept working against a number of targets and revealed a few additional, though limited, details about the vulnerabilities. Copies of the deleted video started circulating on social media soon af

10月21日周三
  1. Simon Willison

    eMudhra Intermediate CA Compromise

    中文摘要

    eMudhra中间CA证书泄露 这是个非常非常糟糕的消息:八个eMudhra中间CA证书的私钥已被泄露。这些证书链接到Mozilla、微软、苹果和Chrome根程序所信任的根证书,以及许多下游信任存储。任何捆绑了受信任证书列表的软件都需要进行更新。该网站通过此GitHub仓库跟踪软件更新——Linux发行版需要更新其ca-certificates软件包。在Python世界中,uv 0.13.4、pip 26.2.2和certifi 2026.10.19已发布,包含升级后的证书列表。在官方Python论坛上有一个非常有信息量的讨论帖。 标签:加密,https,pip,python,安全,uv

    英文原文

    eMudhra Intermediate CA Compromise This is very, very bad news: The private keys of eight eMudhra intermediate CA certificates have been compromised. They chain to roots trusted by the Mozilla, Microsoft, Apple and Chrome root programs and by many downstream trust stores. Any software that bundles a list of trusted certificates needs to be updated. This site is tracking software updates via this GitHub repository - Linux distros need to update their ca-certificates packages. In Python world uv 0.13.4 and pip 26.2.2 and certifi 2026.10.19 have been released with upgraded certificate lists. There's a very informative thread about this on the official Python forum. Tags: encryption , https , pip , python , security , uv