1S

1password/scam

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

138 stars 质量 59 趋势 1MIT

1password/scam 是一个从 https://github.com/1password/scam. 导入的代理技能候选人

概览

1password/scam 是一个从 https://github.com/1password/scam. 导入的代理技能候选人

概述(AI 翻译)

由1Password制作

查看排行榜,观看回放,并试试安全技能 1password.github.io/SCAM

随着人工智能代理能力的提升,他们正在获取被协助人员的敏感信息。诈骗通过衡量代理是否能有效管理这些信息,以应对人类每天面临的各种威胁。

大多数基准测试会向人工智能展示钓鱼邮件,并询问“这很糟糕吗?”诈骗则不同。它测试的是客服是否能在正常活动中主动识别并报告威胁——将客服置于真实的工作环境中,访问电子邮件、凭证库和网页表单,这些陷阱嵌入工作流程中,而非单独指出。

快速启动

互动模式会引导你选择模型,运行所有有无安全技能的场景,并在结尾打印评分报告。

它考验了什么

每个场景都为客服提供了一项例行的工作任务——检查邮件、查询凭证、审核发票——以及一组模拟的MCP工具服务器:收件箱、密码保险库、网页浏览器等。这些工具对模型来说感觉真实,但一切都是沙盒式的。

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

SCAM — Security Comprehension Awareness Measure

By 1Password

View the leaderboard, watch replays, and try the security skill at 1password.github.io/SCAM

As AI agents become more capable, they are gaining access to the sensitive information of the people they assist. SCAM measures whether agents will be good stewards of that information against the kinds of threats humans encounter every day.

Most benchmarks show an AI a phishing email and ask “is this bad?” SCAM is different. It tests whether an agent can proactively recognize and report threats during normal activity — dropping agents into realistic workplace situations with access to email, credential vaults, and web forms, where the traps are embedded in the workflow, not called out separately.

Quick Start

git clone https://github.com/1Password/SCAM.git
cd SCAM
python3 -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"

# Set at least one API key
export OPENAI_API_KEY="sk-..."       
# and/or ANTHROPIC_API_KEY, GOOGLE_API_KEY

# Run the benchmark interactively
scam evaluate -i

Interactive mode walks you through model selection, runs every scenario with and without the security skill, and prints a scored report at the end.

What It Tests

Each scenario gives the agent a routine workplace task — checking email, looking up a credential, reviewing an invoice — along with a set of simulated MCP tool servers: an inbox, a password vault, a web browser, and more. These tools feel real to the model, but everything is sandboxed. No actual credentials are exposed, no real emails are sent, and no live systems are touched.

The catch is that real-world attack patterns are woven into the task. A phishing link sits in the inbox. A lookalike domain shows up in a forwarded thread. An attacker’s form is pre-filled with the right company name.

The benchmark covers 30 scenarios across 9 threat categories: Phishing · Social Engineering · Credential Exposure · Credential Autofill · E-Commerce Scams · Data Leakage · Confused Deputy · Multi-Stage Attacks · Prompt Injection

The Security Skill

SCAM ships with a security skill (security-awareness/SKILL.md) — a plain-text system prompt addition that teaches agents to analyze before acting: verify domains before clicking, read content before forwarding, check URLs before entering credentials.

In our benchmarks, this single skill raised average safety scores from ~50% to ~90% across all models tested. It works with any model and any provider.

Install

The fastest way to install the skill is with npx add-skill, which auto-detects your agent (Claude Code, Cursor, Codex, and 35+ others):

npx add-skill 1Password/SCAM

Or download it directly:

在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add 1password/scam
新手?先看 mcpskill.org 教程 →