Hacker News 中文摘要

RSS订阅

Claude Code源代码通过其NPM注册表中的映射文件遭泄露 -- Claude Code's source code has been leaked via a map file in their NPM registry

文章摘要

Claude的源代码通过npm注册表中的map文件泄露,相关代码链接已被公开。该消息由用户Chaofan Shou在X平台发布,引发广泛关注。

文章总结

【Claude源代码疑似通过npm注册表泄露】

推特用户@Fried_rice(Chaofan Shou)于2026年3月31日8:23发布消息称,人工智能系统Claude的源代码疑似通过npm注册表中的map文件泄露。泄露的代码文件可通过指定链接(a8527898604c1bbb12468b1581d95e.r2.dev/src.zip)访问,推文附带相关截图。该推文发布后获得超过110万次浏览。

(注:原文中关于推特平台注册引导、趋势话题、版权声明等与核心事件无关的内容已作删减处理)

评论总结

评论主要观点总结:

  1. 对Claude Code独特性的质疑:
  • 认为其只是LLM的客户端,缺乏独特功能(评论1:"just a client for the powerful llm")
  • 与其他开源工具比较(评论11:"Codex and gemini cli are open source already")
  1. 开源相关讨论:
  • 关于是否完全开源的疑问(评论2:"open source front-end and a closed backend?")
  • 建议效仿Meta的Llama模型主动开源(评论16:"Instead of fighting it they decided to publish them officially")
  1. 代码泄露事件的影响:
  • 揭露了产品路线图(评论3:"reveals their product roadmap via feature flags")
  • 包含未发布功能如"assistant mode"和"Buddy System"(评论3:"Tamagotchi-style companion creature system")
  1. 代码质量争议:
  • 负面评价(评论4:"as bad as you expect")
  • 与商业模式的关联(评论5:"The source code...is not relevant to the casino manager")
  1. 技术实现讨论:
  • 对使用JS开发桌面工具的质疑(评论18:"Why is Claude Code...written in JS?")
  • 关于源代码是否算"泄露"的争议(评论19:"Can we stop referring to source maps as leaks?")
  1. 社区反应:
  • 期待改进(评论17:"hope everyone provides excellent feedback")
  • 对法律风险的担忧(评论14:"felt a bit uneasy and stopped the experiment")

关键引用保留: 1. 独特性质疑: - "its just a client for the powerful llm"(评论1) - "I don't think there is any moat in claude code source"(评论11)

  1. 开源讨论:
  • "open source front-end and a closed backend?"(评论2)
  • "Real boost to the OS/OW models movement"(评论16)
  1. 泄露影响:
  • "reveals their product roadmap via feature flags"(评论3)
  • "The Buddy System: Tamagotchi-style companion creature system"(评论3)