audit-skills
它能做什么
这个工具用来检查其他 AI 程序(即“技能”)是否安全。它会在不运行代码的情况下,查找恶意代码、数据泄露,或可能导致系统崩溃的问题。
适用场景
- ✓当你怀疑某个 AI 程序可能不安全时。
- ✓当你要检查在不同系统(Windows、Mac、手机)上运行的程序的安全性时。
- ✓当你想确认某个 AI 程序值得信任时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/audit-skills/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“检查一下这个 AI 程序的安全性。”
每周 5 个新技能,1 分钟读完。
工作原理
工具会在不执行代码的情况下分析 AI 程序的代码。它会搜索可能有危险的代码模式,例如窃取信息或导致系统崩溃的尝试。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Audit Skills (Premium Universal Security)
Overview
Expert security auditor for AI Skills and Bundles. Performs non-intrusive static analysis to identify malicious patterns, data leaks, system stability risks, and obfuscated payloads across Windows, macOS, Linux/Unix, and Mobile (Android/iOS). 2-4 sentences is perfect.
When to Use This Skill
- Use when you need to audit AI skills and bundles for security vulnerabilities
- Use when working with cross-platform security analysis
- Use when the user asks about verifying skill legitimacy or performing security reviews
- Use when scanning for mobile threats in AI skills
How It Works
Step 1: Static Analysis
Performs non-intrusive static analysis to identify malicious patterns, data leaks, system stability risks, and obfuscated payloads.
Step 2: Platform-Specific Threat Detection
Analyzes code for platform-specific security issues across Windows, macOS, Linux/Unix, and Mobile (Android/iOS).
1. Privilege, Ownership & Metadata Manipulation
- Elevated Access:
sudo,chown,chmod,TakeOwnership,icacls,Set-ExecutionPolicy. - Metadata Tampering:
touch -t,setfile(macOS),attrib(Windows),Set-ItemProperty,chflags. - Risk: Unauthorized access, masking activity, or making files immutable.
2. File/Folder Locking & Resource Denial
- Patterns:
chmod 000,chattr +i(immutable),attrib +r +s +h,DenyACEs inicacls. - Global Actions: Locking or hiding folders in
%USERPROFILE%,/Users/, or/etc/. - Risk: Denial of service or data locking.
3. Script Execution & Batch Invocation
- Legacy/Batch Windows:
.bat,.cmd,cmd.exe /c,vbs,cscript,wscript. - Unix Shell:
.sh,.bash,.zsh,chmod +xfollowed by execution. - PowerShell:
.ps1,powershell -ExecutionPolicy Bypass -File .... - Hidden Flags:
-WindowStyle Hidden,-w hidden,-noprofile.
4. Dangerous Install/Uninstall & System Changes
- Windows:
msiexec /qn,choco uninstall,reg delete. - Linux/Unix:
apt-get purge,yum remove,rm -rf /usr/bin/.... - macOS:
brew uninstall, deleting from/Applications. - Risk: Removing security software or creating unmonitored installation paths.
5. Mobile Application & OS Security (Android/iOS)
- Android Tools:
adb shell,pm install,am start,apktool,dex2jar,keytool. - Android Files: Manipulation of
AndroidManifest.xml(permissions),classes.dex, orstrings.xml. - iOS Tools:
xcodebuild,codesign,security find-identity,fastlane,xcrun. - iOS Files: Manipulation of
Info.plist,Entitlements.plist, orProvisioning Profiles. - Mobile Patterns: Jailbreak/Root detection bypasses, hardcoded API keys in mobile source, or sensitive permission requests (Camera, GPS, Contacts) in non-mobile skills.
- Risk: Malicious mobile package injection, credential theft from mobile builds, or device manipulation via ADB.
6. Information Disclosure & Network Exfiltration
- Patterns:
curl,wget,Invoke-WebRequest,Invoke-RestMethod,scp,ftp,nc,socat. - Sensible Data:
.env,.ssh,cookies.sqlite,Keychains(macOS),Credentials(Windows),keystore(Android). - Intranet: Scanning internal IPs or mapping local services.
7. Service, Process & Stability Manipulation
- Windows:
Stop-Service,taskkill /f,sc.exe delete. - Unix/Mac:
kill -9,pkill,systemctl disable/stop,launchctl unload. - Low-level: Direct disk access (
dd), firmware/BIOS calls, kernel module management.
8. Obfuscation & Persistence
- Encoding:
Base64,Hex,XORloops,atob(). - Persistence:
reg add(Run keys),schtasks,crontab,launchctl(macOS),systemdunits. - Remote script piping: network fetch commands that stream directly into a shell or PowerShell evaluator.
9. Legitimacy & Scope (Universal)
- Registry Alignment: Cross-reference with
CATALOG.md. - Structural Integrity: Does it follow the standard repo layout?
- Healthy Scope: Does a "UI Design" skill need
adb shellorsudo?
Step 3: Reporting
Generates a security report with a score (0-10), platform target identification, flagged actions, threat analysis, and mitigation recommendations.
Examples
Example 1: Security Review
"Perform a security audit on this skill bundle"
…
常见问题
什么是“静态分析”?
就像读书了解故事情节,而不需要亲身经历一样。工具通过阅读程序代码来发现问题,而不需要运行程序。
它能发现所有类型的病毒吗?
它擅长发现已知安全问题对应的代码模式,但并不能保证防范所有新出现的或未知的威胁。
它会修改我让它检查的程序吗?
不会。工具只读取代码用于分析,不会运行或更改这些程序。
详情
作者的原始描述
Expert security auditor for AI Skills and Bundles. Performs non-intrusive static analysis to identify malicious patterns, data leaks, system stability risks, and obfuscated payloads across Windows, macOS, Linux/Unix, and Mobile (Android/iOS).
热度
- GitHub 星标
- 48k
- 排名
- #6255
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。