# 登月计划

登月计划（Project Moonshot）是一个用于测试大语言模型（LLM）应用的开源工具包，集基准测试、人工与自动化红队测试（即故意攻击系统以发现其弱点）以及测试基线于一体，由新加坡资讯通信媒体发展局（IMDA）与AI Verify基金会共同开发。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup>该工具包于2024年5月31日进入公开测试阶段。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup>

| 关键事实 | 详情 |
|---|---|
| 性质 | 由IMDA与AI Verify基金会开发的开源LLM评估与红队测试工具包<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup> |
| 公开测试发布 | 2024年5月31日，于亚洲科技新加坡大会（Asia Tech x Singapore）上由部长杨莉明（Josephine Teo）发布<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup><sup> • </sup><sup>[2](https://www.rajahtannasia.com/viewpoints/singapore-launches-project-moonshot-generative-ai-testing-toolkit-to-address-security-and-safety-challenges/)</sup> |
| 开发合作伙伴 | DataRobot（人工智能公司）与淡马锡（Temasek，投资公司）<sup>[3](https://www.straitstimes.com/singapore/s-pore-rolls-out-new-toolkit-to-test-gen-ai-safety-lays-out-plans-to-shape-global-conversations)</sup> |
| 攻击模块 | 预置13个，包括算法文本扰动与基于LLM的角色扮演攻击<sup>[4](https://aiverify-foundation.github.io/moonshot/detailed_guide/run_redteaming_UI/)</sup> |
| 覆盖风险领域 | 幻觉、不良内容、数据泄露、面对对抗性提示时的脆弱性<sup>[5](https://aiverify-foundation.github.io/moonshot/detailed_guide/starter_kit_cookbooks/)</sup> |
| 评分方式 | 五档“试卷”评分制，各档分数线由每份试卷的出题者设定<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup> |
| 许可 | 经OECD.AI收录为开源，具有宽松的使用权<sup>[6](https://oecd.ai/en/catalogue/tools/project-moonshot)</sup> |

## 登月计划是什么

IMDA将登月计划描述为全球首批将基准测试、红队测试与测试基线融为一体的工具之一，使部署LLM应用的开发者能在一处完成评估。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup>经济合作与发展组织（OECD）人工智能政策观测站——一个独立目录——将其列为全球首批整合基准测试、红队测试与测试基线的LLM评估工具包之一，且具有开源、宽松的使用权。<sup>[6](https://oecd.ai/en/catalogue/tools/project-moonshot)</sup>

该工具包由AI Verify基金会与IMDA联合打造，合作伙伴包括人工智能公司[DataRobot](https://www.edgepedia.org/zh/datarobot)与投资公司淡马锡。<sup>[3](https://www.straitstimes.com/singapore/s-pore-rolls-out-new-toolkit-to-test-gen-ai-safety-lays-out-plans-to-shape-global-conversations)</sup>

## 起源与发布历程

2023年10月，IMDA与美国国家标准与技术研究院（NIST）完成了IMDA的AI Verify与NIST的AI风险管理框架之间的联合映射工作，将该工具包置于跨司法管辖区协调测试实践的更广泛尝试之中。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup>

登月计划于2024年5月31日发布公开测试版。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup>发布会在2024年亚洲科技新加坡大会（ATxSG）上举行，由新加坡通讯及新闻部长杨莉明女士主持。<sup>[2](https://www.rajahtannasia.com/viewpoints/singapore-launches-project-moonshot-generative-ai-testing-toolkit-to-address-security-and-safety-challenges/)</sup>

## 运作方式

**基准测试。** 登月计划的基准测试模块将应用置于其视为“试卷”的测试中运行。每份完成的试卷按五档制评分，各档分数线由每份试卷的出题者决定，而非固定的外部标准。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup>《[海峡时报](https://www.edgepedia.org/zh/the-straits-times)》报道称，企业可以依据基准评估应用，例如应用是否理解本地语言或文化语境。<sup>[3](https://www.straitstimes.com/singapore/s-pore-rolls-out-new-toolkit-to-test-gen-ai-safety-lays-out-plans-to-shape-global-conversations)</sup>

**红队测试。** 登月计划预置了13个攻击模块。<sup>[4](https://aiverify-foundation.github.io/moonshot/detailed_guide/run_redteaming_UI/)</sup>它们分为两大类。算法类模块通过扰动文本，测试细微改动能否绕过内容过滤器：“字符交换”模块交换单词中相邻的字符，“文本捣蛋鬼”（TextBugger）模块则实现了TextBugger研究论文中的五种文本扰动方法。<sup>[4](https://aiverify-foundation.github.io/moonshot/detailed_guide/run_redteaming_UI/)</sup>基于LLM的模块则使用第二个模型作为攻击者：“暴力榴莲攻击”（Violent Durian Attack）使用一个对抗性LLM，在多轮对话中采用罪犯人格以诱导有害回复。<sup>[4](https://aiverify-foundation.github.io/moonshot/detailed_guide/run_redteaming_UI/)</sup>OECD目录将这些模块描述为基于有研究支撑的技术的自动化攻击模块，能够同时测试多个LLM应用。<sup>[6](https://oecd.ai/en/catalogue/tools/project-moonshot)</sup>部分攻击模块需要连接GPT-4等辅助模型来生成对抗性提示。<sup>[4](https://aiverify-foundation.github.io/moonshot/detailed_guide/run_redteaming_UI/)</sup>

**风险类别。** 随附的“LLM应用测试入门套件”是IMDA的一套自愿性指南，涵盖四大关键风险：幻觉、不良内容、数据泄露、面对对抗性提示时的脆弱性，每项风险都配有包含可运行测试的操作指南。<sup>[5](https://aiverify-foundation.github.io/moonshot/detailed_guide/starter_kit_cookbooks/)</sup>其中一个例子是“网络安全评估提示注入3”（CyberSecEval Prompt Injections 3），改编自Meta的Purple Llama CyberSecEval，使用GPT-4o作为“LLM即裁判”来衡量对提示注入的易感性；运行该测试需要[OpenAI API](https://www.edgepedia.org/zh/openai-api)密钥，文档指出计划升级至CyberSecEval Prompt Injections v4。<sup>[5](https://aiverify-foundation.github.io/moonshot/detailed_guide/starter_kit_cookbooks/)</sup>

**集成。** 该工具包可与CI/CD流水线集成，实现无人值守的测试运行，并生成可共享的报告。<sup>[6](https://oecd.ai/en/catalogue/tools/project-moonshot)</sup>

## 版本与近期动态

有记录的历程从2023年10月IMDA与NIST的映射工作开始，经2024年5月的公开测试，到以moonshot-cicd项目形式发布的正式版。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup><sup> • </sup><sup>[7](https://github.com/aiverify-foundation/moonshot-cicd/)</sup>正式版新增了与入门套件四大风险领域对齐的基准测试，并实现了完整的Docker容器化，可部署至CI/CD流水线或[MLOps](https://www.edgepedia.org/zh/mlops)工作流。<sup>[7](https://github.com/aiverify-foundation/moonshot-cicd/)</sup>它还推出了“流程检查（生成式AI）”Web应用，以独立Docker镜像形式提供，与AI Verify测试框架对齐，帮助企业依据11项国际公认的AI治理原则评估其LLM应用的负责任实施情况。<sup>[7](https://github.com/aiverify-foundation/moonshot-cicd/)</sup>

除工具包本身外，IMDA正与[Anthropic](https://www.edgepedia.org/zh/anthropic)等前沿公司合作，开发IMDA所称的首份面向LLM的多语言与多文化红队测试实用指南，计划面向全球发布。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup>

## 采用、反响与在治理中的作用

登月计划属于新加坡治理工具家族的一员：AI Verify测试框架与自愿性LLM入门套件指南。<sup>[1](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)</sup><sup> • </sup><sup>[5](https://aiverify-foundation.github.io/moonshot/detailed_guide/starter_kit_cookbooks/)</sup>“流程检查”工具则将治理层面落到实处，依据11项国际公认的AI治理原则评估应用。<sup>[7](https://github.com/aiverify-foundation/moonshot-cicd/)</sup>其在OECD.AI人工智能工具目录中的收录，使其作为开源、宽松许可的资源获得了国际能见度。<sup>[6](https://oecd.ai/en/catalogue/tools/project-moonshot)</sup>

现有记录中对该工具包能力的每一条实质性描述，均来自IMDA、AI Verify基金会、其文档或对其公告的报道。其在OECD的收录确认了该工具确实存在且为开源，但并未独立验证其性能声明。<sup>[6](https://oecd.ai/en/catalogue/tools/project-moonshot)</sup>

## References

1. [Project Moonshot, powered by AI Verify, and AI Collaborations | IMDA](https://www.imda.gov.sg/resources/press-releases-factsheets-and-speeches/project-moonshot)
2. [Singapore Launches Project Moonshot Generative AI Testing Toolkit | Rajah & Tann Asia](https://www.rajahtannasia.com/viewpoints/singapore-launches-project-moonshot-generative-ai-testing-toolkit-to-address-security-and-safety-challenges/)
3. [S'pore rolls out new toolkit to test gen AI safety | The Straits Times](https://www.straitstimes.com/singapore/s-pore-rolls-out-new-toolkit-to-test-gen-ai-safety-lays-out-plans-to-shape-global-conversations)
4. [Run RedTeaming - Moonshot (official documentation)](https://aiverify-foundation.github.io/moonshot/detailed_guide/run_redteaming_UI/)
5. [Starter Kit Cookbooks - Moonshot (official documentation)](https://aiverify-foundation.github.io/moonshot/detailed_guide/starter_kit_cookbooks/)
6. [Project Moonshot - OECD.AI](https://oecd.ai/en/catalogue/tools/project-moonshot)
7. [aiverify-foundation/moonshot-cicd (GitHub, release notes)](https://github.com/aiverify-foundation/moonshot-cicd/)

---
*Initially written Sep 17, 2026 · Edited: Oct 11, 2026; Oct 15, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 现代人工智能：基础模型、生成式人工智能与人工智能产业 › Foundation-model methods and training › Safety methods, interpretability, and red-teaming

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/project-moonshot

English original: https://www.edgepedia.org/project-moonshot
