‹ 返回总目录
开发工具 最近更新07-28

code-security

| 2026-08-01 收录

☆ 收藏
🛒 📚 AI提效实战指南 · 图解Skill🛒 📱 大流量手机卡 · 低月租📣 加入推广 · 佣金80-300/张 ›

🛍️ 更多精选好物 ›

📊 公开数据一览

📦 榜单安装量1.4K
⭐ GitHub Stars258(fork 28)
🗓️ 最近推送2026-07-28
🌱 项目创建2026-01-15
💻 语言 / LicenseJavaScript · NOASSERTION
🐛 开放Issue6

📝 工具简介

Semgrep为AI编码agent提供的技能合集。

📖 怎么用

安装很简单,先运行 `npx skills add semgrep/skills` 把技能包加进来。装完不用额外配置,直接就能用。你可以在写代码或审查代码时让它帮你查安全问题,比如直接说“Review this React component for security issues”或者“Help me implement input validation for my LLM chat endpoint”。想自定义规则也行,让它“Create a Semgrep rule to detect hardcoded API keys in Python”。如果你是开发者想维护这个技能包,可以用 `make install` 装依赖,`make validate` 校验,`make build` 生成 AGENTS.md,`make zip` 打包,直接跑 `make` 就全执行了。

📋 迷你测评

Semgrep为AI编码agent提供的技能合集。亮点是来自安全工具厂商,专业性有保障。无具体数据点。

📄 README 要点

这是一套给AI编程助手用的安全技能包,目前还是测试版。它把Semgrep的开源安全规则转成了AI能直接调用的技能格式,主要覆盖OWASP Top 10、基础设施安全和15种以上语言的编码安全最佳实践。你写新代码、审查代码漏洞、问安全编码问题或者配置云环境(比如Terraform、Kubernetes、Docker)时都能用上。核心技能包括SQL注入防护、命令注入防护、跨站脚本防护这些关键安全类别。安装方式就是按照Agent Skills的标准格式来装,把技能包放到AI代理能识别的位置就行。适合开发团队想在日常编码流程里自动加一层安全审查的场景。

查看英文原文
Agent Skills [Beta] A collection of skills for AI coding agents. Skills are packaged instructions and scripts that extend agent capabilities. This should be considered beta level software; it's primarily generated by transforming open source Semgrep rules into skill format. Skills follow the Agent Skills format. Installation [安装/使用命令见下方] Available Skills code security Comprehensive code security guidelines from Semgrep Engineering covering OWASP Top 10, infrastructure security, and secure coding best practices across 15+ languages. Use when: Writing new code Reviewing code for security vulnerabilities Asking about secure coding practices Configuring cloud infrastructure (Terraform, Kubernetes, Docker) Categories covered: Impact Category Description Critical SQL Injection Parameterized queries, ORM safety Critical Command Injection Shell command safety, input validation Critical Cross Site Scripting (XSS) Output encoding, DOM safety Critical XML External Entity (XXE) XML parser configuration Critical Path Traversal File path validation Critical Insecure Deserialization Safe deserialization patterns Critical Code Injection Eval safety, template injection Critical Hardcoded Secrets Environment variables, secret management Critical Memory Safety Buffer overflows, use after free (C/C++) High Insecure Cryptography Strong hashing (SHA 256+), encryption (AES) High Insecure Transport HTTPS, certificate validation, TLS High Server Side Request Forgery URL validation, allowlists High JWT Authentication Signature verification, algorithm safety High Cross Site Request Forgery CSRF tokens, SameSite cookies High Prototype Pollution Object key validation (JavaScript) High Unsafe Functions Dangerous function alternatives High Terraform AWS S3, IAM, EC2, RDS security High Terraform Azure Storage, App Service, Key Vault High Terraform GCP GCS, GCE, GKE, IAM High Kubernetes Pod security, RBAC, secrets High Docker Non root containers, image pinning High GitHub Actions Script injection,

💬 评论(0)

交流使用体验、避坑建议;违规内容将被删除

💬 意见反馈 / 联系客服

数据来源:skills.sh 榜单 + GitHub 公开数据,非人工实测,仅供参考