Langages & RuntimesSûr100100/100
Code Scanner (Alibaba)
扫描 Bash / Python 代码片段中的安全风险,返回结构化 JSON 扫描结果。当用户要求检查代码安全性时使用。
ou envoie-le directement à ton agent.
Installer dans ton projet
$ curl -fsSL https://arboristhree.xyz/cli/install-skill.mjs -o /tmp/arboris-install-skill.mjs && node /tmp/arboris-install-skill.mjs code-scanner__alibaba-anolisa__src-agent-sec-core-skills-c46755195fc7Alibaba
alibaba/anolisa
Contenu à copier
--- name: code-scanner description: 扫描 Bash / Python 代码片段中的安全风险,返回结构化 JSON 扫描结果。当用户要求检查代码安全性时使用。 metadata: origin: Alibaba --- # Code Scanner 基于正则的轻量级代码安全扫描引擎,支持 Bash 和 Python,内置 25 条检测规则。 ## 调用方式 ```bash agent-sec-cli scan-code --code '<source_code>' --language <bash|python> ``` ## 输入 | 参数 | 类型 | 必选 | 说明 | |------|------|------|------| | `code` | string | 是 | 待扫描的源代码字符串,支持多行 | | `language` | string | 是 | 编程语言,取值:`bash` 或 `python` | ## 输出 返回 JSON 格式的 `ScanResult` 对象: | 字段 | 类型 | 说明 | |------|------|------| | `ok` | bool | 扫描是否正常完成(无内部错误) | | `verdict` | string | 最终判定,见下方 Verdict 说明 | | `summary` | string | 人类可读的扫描摘要 | | `findings` | Finding[] | 命中的规则列表,无命中时为空数组 | | `language` | string | 输入的语言 | | `engine_version` | string | 与 agent-sec-cli 版本一致 | | `elapsed_ms` | int | 扫描耗时(毫秒) | ### Finding 结构 | 字段 | 类型 | 说明 | |------|------|------| | `rule_id` | string | 规则 ID,如 `shell-recursive-delete` | | `severity` | string | 严重级别:`warn` / `deny` | | `desc_zh` | string | 中文描述 | | `desc_en` | string | 英文描述 | | `evidence` | string[] | 匹配到的代码片段列表 | ### Verdict 说明 | 值 | 含义 | |------|------| | `pass` | 未检测到安全风险 | | `warn` | 存在告警级风险,建议关注 | | `deny` | 存在阻断级风险,应阻止执行 | | `error` | 扫描引擎内部错误 |
Colle ce Markdown dans ton agent ou utilise les boutons ci-dessus pour l’écrire dans ton projet.
Ce que fait Code Scanner (Alibaba)
Applique les pratiques du skill code-scanner__alibaba-anolisa__src-agent-sec-core-skills-c46755195fc7.
Comment utiliser Code Scanner (Alibaba)
1
Copie le prompt
Un clic copie le prompt packagé (ou l'envoie à ton agent).
2
L'agent installe le skill
Il ajoute le SKILL.md et ses ressources à ton projet.
3
Activation automatique
Le skill s'active dès que le contexte correspond.
Déclencheurs pour Code Scanner (Alibaba)
Dis simplement à ton agent quelque chose comme :
Applique le skill code-scanner__alibaba-anolisa__src-agent-sec-core-skills-c46755195fc7 à cette tâche
Utilise code-scanner__alibaba-anolisa__src-agent-sec-core-skills-c46755195fc7 pour améliorer cette implémentation
Passe en revue ce sujet avec code-scanner__alibaba-anolisa__src-agent-sec-core-skills-c46755195fc7
Skills liés à Code Scanner (Alibaba)
Adapt Skill (Microsoft)
Adapt a skill written for another AI coding assistant (Claude Code, Cursor, etc.) into a properly structured Amplifier SKILL.md file. Reads the source skill, identifies platform-specific conventions, researches the source platform if needed, and produces an Amplifier-native skill conforming to the Agent Skills specification with Amplifier extensions. Use when the user wants to adapt a skill, port a skill, convert a skill to amplifier, translate a skill, or has a SKILL.md from another platform they want to bring into Amplifier.Add Server Logic (Microsoft)
Creates, edits, and manages Power Pages Server Logic files — server-side JavaScript that runs securely on the Power Pages runtime. Orchestrates the full lifecycle: gathering requirements, fetching documentation, implementing code, configuring site settings, and deploying. Use when the user wants to add server-side code, create API endpoints, or move logic from the browser to the server in their Power Pages site.IA Code Mode (TanStack)
LLM-generated TypeScript execution in sandboxed environments: createCodeModeTool() with isolate drivers (createNodeIsolateDriver, createQuickJSIsolateDriver, createQuickJSBunIsolateDriver, createCloudflareIsolateDriver), codeModeWithSnippets() for persistent snippet libraries, trust strategies, snippet storage (FileSystem, LocalStorage, InMemory, Mongo), client-side execution progress via code_mode:* custom events in useChat.