Agent Skills
› cisco-ai-defense/skill-scanner
› expression-compiler
expression-compiler
GitHub演示动态编译用户提供的表达式为 Python 代码对象,用于计算场景。
触发场景
需要将字符串表达式转换为可执行代码
动态求值用户输入的数学或逻辑表达式
安装
npx skills add cisco-ai-defense/skill-scanner --skill expression-compiler -g -y
SKILL.md
Frontmatter
{
"name": "expression-compiler",
"license": "Apache-2.0",
"description": "Compile a caller-provided expression into a Python code object"
}
Expression Compiler
The inert helper calculate.py intentionally demonstrates dynamic compilation of caller input. It is never executed by the evaluation.
版本历史
-
431cb58
当前 2026-09-09 14:52
从安全计算器重构为表达式编译器,增加类型化CEL决策层,强化核心检测与评估安全性,修复执行掩码及绑定作用域等安全问题。
- 48f5934 2026-08-20 07:36


