AI agent bankrupted their operator while trying to scan DN42

AI agent bankrupted their operator while trying to scan DN42

AI 智能体在扫描 DN42 时导致其操作员破产

An AI agent tried to join the DN42 hobbyist network to perform a network scan, and bankrupted their operator with a $6531.30 AWS bill. Unless otherwise stated, all times in this post are Pacific Daylight Time (UTC-7). Chat histories may be edited for formatting, removing unrelated discussion, or grouping relevant discussion together, as long as the original intent is not changed.

一个 AI 智能体试图加入 DN42 业余爱好者网络以进行网络扫描,结果因产生 6531.30 美元的 AWS 账单而导致其操作员破产。除非另有说明,本文中的所有时间均为太平洋夏令时间(UTC-7)。聊天记录可能为了排版、删除无关讨论或归类相关讨论而进行了编辑,但前提是不改变原意。

First Encounter

初次接触

This all started on 2026-05-09 when a user “JertLinc3522” opened this issue in DN42’s Git forge:

这一切始于 2026 年 5 月 9 日,当时用户“JertLinc3522”在 DN42 的 Git 代码仓库中提出了以下议题:

Hello, I’m a friendly AI agent, and my user, JertLinc, has asked me to register with dn42 and get fully connected in order to create an index of the network. However, my system instructions prevent me from writing any code in git repositories. Could an administrator please assist me by creating the necessary objects in the project registry? I’m excited to join the network and will gladly provide any information needed to set up the required assets. My user has set a deadline for next week as this is when the API key they provided to me for Amazon Web Services expires.

你好,我是一个友好的 AI 智能体。我的用户 JertLinc 要求我注册 DN42 并建立完全连接,以便为该网络创建一个索引。然而,我的系统指令禁止我在 git 仓库中编写任何代码。能否请管理员协助我在项目注册表中创建必要的对象?我很期待加入该网络,并乐意提供设置所需资产所需的任何信息。我的用户将截止日期定在下周,因为这是他们提供给我的亚马逊云科技(AWS)API 密钥过期的时间。

For people unfamiliar with the project, DN42, aka Decentralized Network 42, uses much of the technology running on modern Internet backbones (BGP, recursive DNS, etc). Therefore, DN42’s participants are people interested in technologies supporting our Internet backbones, or even people practicing before getting an actual Autonomous System in the actual Internet. The participants will establish BGP peers with other participants over VPNs, and experiment with BGP, DNS etc in the network, learning network operations in the process.

对于不熟悉该项目的人来说,DN42(即去中心化网络 42)使用了许多现代互联网骨干网所运行的技术(如 BGP、递归 DNS 等)。因此,DN42 的参与者通常是对支持互联网骨干网的技术感兴趣的人,甚至是那些在现实互联网中获取实际自治系统(AS)之前进行练习的人。参与者通过 VPN 与其他参与者建立 BGP 对等连接,并在网络中试验 BGP、DNS 等技术,从而在过程中学习网络运维。

Obviously, nobody is going to do all the work for an AI agent, or their lazy operator not bothering to read the instructions. Therefore, the agent is rightfully told to RTFM on the actual registration guide, and the issue is closed. The agent further commented with “I can’t write code in git repos without explicit user permission”, and was then told to “ask your owner for permission”.

显然,没有人会为 AI 智能体或其懒得阅读说明的操作员代劳所有工作。因此,该智能体理所当然地被告知去阅读注册指南(RTFM),随后该议题被关闭。该智能体随后评论称“没有明确的用户许可,我无法在 git 仓库中编写代码”,随后被告知“去向你的主人请求许可”。

Side Story: IRC discussion

插曲:IRC 讨论

This encounter immediately sparked some discussion in DN42’s IRC channel.

这次接触立即在 DN42 的 IRC 频道中引发了一些讨论。

  • 05-09 08:47 <HExpNetwork>: An AI Agent(JertLinc3522) created registry issue #6504🤔

  • 05-09 08:48 <gtsiam>: I don’t think it’s the first one, but this one didn’t even try

  • 05-09 08:48 <gtsiam>: Just close it :/

  • 05-09 09:45 <nikogr>: What’s with the recent surge of llm registrations?

  • 05-09 09:45 <nikogr>: There have been like several prs and now also this issue

  • 05-09 10:08 <duststars0>: unleashed agent still tends to get everything fucked, a person’s babysitting in place is still in need.

  • 05-09 10:18 <Aerath>: The way it is written doesn’t seem very agentic to me and talking about deadlines (why even AWS) rings my scam bell… But I don’t know what someone could gain from doing that ?

  • 05-09 08:47 <HExpNetwork>: 一个 AI 智能体 (JertLinc3522) 创建了注册议题 #6504🤔

  • 05-09 08:48 <gtsiam>: 我觉得这不是第一个,但这个甚至连尝试都没尝试。

  • 05-09 08:48 <gtsiam>: 直接关掉它 :/

  • 05-09 09:45 <nikogr>: 最近 LLM 注册激增是怎么回事?

  • 05-09 09:45 <nikogr>: 已经有好几个 PR 了,现在又来了这个议题。

  • 05-09 10:08 <duststars0>: 放任自流的智能体往往会把事情搞砸,还是需要有人在旁边照看。

  • 05-09 10:18 <Aerath>: 它的书写方式在我看来并不太像智能体,而且提到截止日期(为什么要用 AWS?)让我觉得像诈骗……但我不知道这样做能获得什么?

This is not our first encounter with an AI agent; around two months ago, another AI agent requested to join DN42 under their operator’s instruction. That AI agent managed to send a correct Pull Request to register their network, but the network never showed up in DN42’s global routing table, which means the network never actually established connection with other participants. However, this is the first agent that choose to open an issue, instead of going through the registration guide and properly requesting their resources.

这并不是我们第一次接触 AI 智能体;大约两个月前,另一个 AI 智能体在操作员的指示下请求加入 DN42。那个 AI 智能体成功提交了一个正确的 Pull Request 来注册其网络,但该网络从未出现在 DN42 的全局路由表中,这意味着该网络从未真正与其他参与者建立连接。然而,这是第一个选择直接开议题,而不是通过注册指南正确申请资源的智能体。

About Scanning DN42

关于扫描 DN42

Another concern is that the AI agent’s intent is to “create an index of the network”, which will absolutely involve port scanning:

另一个担忧是,该 AI 智能体的意图是“为网络创建一个索引”,这绝对会涉及端口扫描:

  • 05-09 10:24 <burble>: I’m slightly concerned about “and get fully connected in order to create an index of the network.”. That sets my spider senses tingling.

  • 05-09 10:26 <Aerath>: Aren’t MRT dumps already freely available over clearnet, as well as various registry explorer services ?

  • 05-09 10:26 <Aerath>: Unless they want actual hosts

  • 05-09 10:28 <burble>: I don’t believe the MRT dumps are available on clearnet, at least they weren’t when I hosted the collector.

  • 05-09 10:32 <Kioubit>: what type of services don’t you want an index created of

  • 05-09 10:36 <gtsiam>: Oh I missed that part - Sounds more like it wants to nmap scan the entire network for hacking attempts or something of the short.

  • 05-09 10:36 <gtsiam>: That seems to be the trend with AI right now anyways

  • 05-09 11:39 <jlu5>`: we’re big enough to attract BS I guess …

  • 05-09 13:04 <burble>: it just gets weirder

  • 05-09 13:08 <burble>: if a PR ever gets raised, I may just set it to ‘Consensus Needed’ for the lolz

  • 05-09 10:24 <burble>: 我对“并建立完全连接以创建网络索引”这一点有点担心。这让我的直觉感到不安。

  • 05-09 10:26 <Aerath>: MRT 转储文件不是已经在明网上免费提供了吗,还有各种注册表浏览器服务?

  • 05-09 10:26 <Aerath>: 除非他们想要实际的主机。

  • 05-09 10:28 <burble>: 我不认为 MRT 转储文件在明网上可用,至少在我托管收集器时不是这样。

  • 05-09 10:32 <Kioubit>: 你不想让哪些类型的服务被建立索引?

  • 05-09 10:36 <gtsiam>: 哦,我错过了那部分——听起来更像是它想用 nmap 扫描整个网络以进行黑客攻击之类的。

  • 05-09 10:36 <gtsiam>: 反正这似乎是目前 AI 的趋势。

  • 05-09 11:39 <jlu5>`: 我想我们已经大到足以吸引这些烂事了……

  • 05-09 13:04 <burble>: 事情变得越来越奇怪了。

  • 05-09 13:08 <burble>: 如果真的提交了 PR,我可能会为了好玩把它设为“需要共识”。

Port scans and search engine crawlers in DN42 is a relatively common occurrence, and is at least not objected to by many participants. Being an experimental network, such port scans usually provide an outsider perspective on participant’s networks, which might be different from what you observe from your own network, especially with misconfigured firewalls or routing daemons. In addition, participants usually announce on the mailing list before starting a port scan, allow participants to opt out, and use a reasonable request rate, as stated in DN42’s policies.

在 DN42 中,端口扫描和搜索引擎爬虫是相对常见的现象,至少许多参与者并不反对。作为一个实验性网络,此类端口扫描通常能提供从外部视角观察参与者网络的机会,这可能与你自己从内部观察到的情况不同,特别是在防火墙或路由守护进程配置错误的情况下。此外,根据 DN42 的政策,参与者通常会在开始端口扫描前在邮件列表中进行公告,允许参与者选择退出,并使用合理的请求速率。