security-review
在添加身份验证、处理用户输入、使用机密、创建 API 端点或实现支付/敏感功能时使用此技能。提供全面的安全检查清单和模式。
Skill by aaione
Chalk Labs
Need help deploying security-review?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aaione-security-review
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/security-review
What's inside
- Skill name
security-review- Description
- 在添加身份验证、处理用户输入、使用机密、创建 API 端点或实现支付/敏感功能时使用此技能。提供全面的安全检查清单和模式。
- License
- MIT
- Instructions
- 491 lines in SKILL.md · view on GitHub
Before installing
- Instructions call the network
Files (2)
- SKILL.md
- openai.yaml · agents/
SKILL.md (first lines)
# 安全审查技能
此技能确保所有代码遵循安全最佳实践并识别潜在漏洞。
## 何时激活
- 实现身份验证或授权
- 处理用户输入或文件上传
- 创建新的 API 端点
- 使用机密或凭据
- 实现支付功能
- 存储或传输敏感数据
- 集成第三方 API
## 安全检查清单
### 1. 机密管理
#### 失败:永远不要这样做
```typescript
const apiKey = "sk-proj-xxxxx" // 硬编码机密
const dbPassword = "password123" // 在源代码中
```
#### 通过:始终这样做
```typescript
const apiKey = process.env.OPENAI_API_KEY
const dbUrl = process.env.DATABASE_URL
// 验证机密存在
if (!apiKey) {
throw new Error('未配置 OPENAI_API_KEY')
}
```
#### 验证步骤
- [ ] 无硬编码 API 密钥、令牌或密码
- [ ] 所有机密在环境变量中
- [ ] `.env.local` 在 .gitignore 中
- [ ] git 历史记录中无机密
- [ ] 托管平台(Vercel、Railway)中的生产机密
### 2. 输入验证
#### 始终验证用户输入
```typescript
import { z } from 'zod'
// 定义验证 schema
const CreateUserSchema = z.object({
email: z.string().email(),
name: z.string().min(1).max(100),
age: z.number().int().min(0).max(150)
})
// 处理前验证
export async function createUser(input: unknown) {
try {
const validated = CreateUserSchema.parse(input)
return await db.users.create(validated)
} catch (error) {
if (error instanceof z.ZodError) {
return { success: false, errors: error.errors }
}
throw error
}
}
```
#### 文件上传验证
```typescript
function validateFileUpload(file: File) {
// 大小检查(最大 5MB)
const maxSize = 5 * 1024 * 1024
if (file.size > maxSize) {
throw new Error('文件太大(最大 5MB)')
}
// 类型检查
const allowedTypes = ['image/jpeg', 'image/png', 'image/gif']
if (!allowedTypes.includes(file.type)) {
throw new Error('无效的文件类型')
}
// 扩展名检查
const allowedExtensions = ['.jpg', '.jpeg', '.png', '.gif']
const extension = file.name.toLowerCase().match(/\.[^.]+$/)?.[0]
if (!extension || !allowedExtensions.includes(extension)) {
throw new Error('无效的文件扩展名')
}
return true
}
```
#### 验证步骤
- [ ] 所有用户输入使用 schema 验证
- [ ] 文件上传受限(大小、类型、扩展名)
- [ ] 查询中不直接使用用户输入
- [ ] 白名单验证(而非黑名单)
- [ ] 错误消息不泄露敏感信息
### 3. SQL 注入预防
#### 失败:永远不要连接 SQL
```typescript
// 危险 - SQL 注入漏洞
const query = `SELECT * FROM users WHERE email = '${userEmail}'`
await db.query(query)
```
#### 通过:始终使用参数化查询
```typescript
// 安全 - 参数化查询
const { data } = await supabase
.from('users')
.select('*')
.eq('email', userEmail)From aaione/everything-claude-code-zh, MIT.
More from aaione/everything-claude-code-zh
- 0.559score
brand-voice
aaione
从真实的帖子、文章、发布说明、文档或网站副本构建来源衍生的写作风格配置文件,然后在内容、外展和社交工作流中重用该配置文件。当用户想要声音一致性而不使用通用 AI 写作套路时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.557score
agent-payment-x402
aaione
为 AI 智能体添加 x402 支付执行,包含每任务预算、支出控制和托管钱包。通过 agentwallet-sdk 支持 Base,通过 OKX Payments / OKX Agent Payments Protocol 支持 X Layer。
SkillCFreshness: C★ 29Claude Code +9 - 0.557score
video-editing
aaione
用于剪切、结构和增强真实素材的 AI 辅助视频编辑工作流。涵盖从原始捕获到 FFmpeg、Remotion、ElevenLabs、fal.ai 和 Descript 或 CapCut 中的最终打磨的完整管道。当用户想要编辑视频、剪切素材、创建 vlog 或构建视频内容时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.557score
fal-ai-media
aaione
通过 fal.ai MCP 进行统一媒体生成 — 图像、视频和音频。涵盖文本到图像 (Nano Banana)、文本/图像到视频 (Seedance、Kling、Veo 3)、文本到语音 (CSM-1B) 和视频到音频 (ThinkSound)。当用户想要使用 AI 生成图像、视频或音频时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
everything-claude-code
aaione
everything-claude-code 的开发约定和模式。使用 Conventional Commits 的 JavaScript 项目。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
agent-sort
aaione
通过使用并行的仓库感知审查传递将技能、命令、规则、钩子和额外内容分类到 DAILY 与 LIBRARY 存储桶中,为特定仓库构建有证据支持的 ECC 安装计划。当 ECC 应修剪到项目实际需要的内容而不是加载完整包时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
exa-search
aaione
通过 Exa MCP 进行网络、代码和公司研究的神经搜索。当用户需要网络搜索、代码示例、公司情报、人员查找或使用 Exa 的神经搜索引擎进行 AI 驱动的深度研究时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
content-engine
aaione
为 X、LinkedIn、TikTok、YouTube、新闻简报和重新利用的多平台活动创建平台原生内容系统。当用户想要社交帖子、线程、脚本、内容日历或一个源资产在平台间干净适应时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
deep-research
aaione
使用 firecrawl 和 exa MCP 进行多来源深度研究。搜索网络、综合发现并提供带有来源归属的引用报告。当用户想要对任何主题进行彻底研究并具有证据和引用时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
article-writing
aaione
使用从提供的示例或品牌指导派生的独特声音撰写文章、指南、博客文章、教程、新闻简报和其他长篇内容。当用户想要超过一段的精心编写的内容时使用,尤其是当声音一致性、结构和可信度重要时。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
documentation-lookup
aaione
通过 Context7 MCP 使用最新的库和框架文档,而不是训练数据。激活设置问题、API 参考、代码示例,或当用户命名框架(例如 React、Next.js、Prisma)时。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
crosspost
aaione
跨 X、LinkedIn、Threads 和 Bluesky 的多平台内容分发。使用 content-engine 模式适应每个平台的内容。从不发布跨平台的相同内容。当用户想要跨社交平台分发内容时使用。
SkillCFreshness: C★ 29Claude Code +9
Signals
- Stars
- 29
- Forks
- 14
- Open issues
- 1
- Last commit (this folder)
- May 31, 2026 (5 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from aaione
- 0.559score
brand-voice
aaione
从真实的帖子、文章、发布说明、文档或网站副本构建来源衍生的写作风格配置文件,然后在内容、外展和社交工作流中重用该配置文件。当用户想要声音一致性而不使用通用 AI 写作套路时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.557score
video-editing
aaione
用于剪切、结构和增强真实素材的 AI 辅助视频编辑工作流。涵盖从原始捕获到 FFmpeg、Remotion、ElevenLabs、fal.ai 和 Descript 或 CapCut 中的最终打磨的完整管道。当用户想要编辑视频、剪切素材、创建 vlog 或构建视频内容时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.557score
agent-payment-x402
aaione
为 AI 智能体添加 x402 支付执行,包含每任务预算、支出控制和托管钱包。通过 agentwallet-sdk 支持 Base,通过 OKX Payments / OKX Agent Payments Protocol 支持 X Layer。
SkillCFreshness: C★ 29Claude Code +9 - 0.557score
fal-ai-media
aaione
通过 fal.ai MCP 进行统一媒体生成 — 图像、视频和音频。涵盖文本到图像 (Nano Banana)、文本/图像到视频 (Seedance、Kling、Veo 3)、文本到语音 (CSM-1B) 和视频到音频 (ThinkSound)。当用户想要使用 AI 生成图像、视频或音频时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
content-engine
aaione
为 X、LinkedIn、TikTok、YouTube、新闻简报和重新利用的多平台活动创建平台原生内容系统。当用户想要社交帖子、线程、脚本、内容日历或一个源资产在平台间干净适应时使用。
SkillCFreshness: C★ 29Claude Code +9 - 0.554score
agent-sort
aaione
通过使用并行的仓库感知审查传递将技能、命令、规则、钩子和额外内容分类到 DAILY 与 LIBRARY 存储桶中,为特定仓库构建有证据支持的 ECC 安装计划。当 ECC 应修剪到项目实际需要的内容而不是加载完整包时使用。
SkillCFreshness: C★ 29Claude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get security-review running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
security-review skill. Agent Mart. https://agentmart.dev/skills/aaione-security-review (last updated 2026-10-24)