smithery.ai

python-eval-test

测试 AST 能检测真实的 eval() 调用

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 429 B
  • docs SUMMARY.md 67 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

Python Eval 测试

这个 skill 包含真实的 eval() 调用,用于测试 AST 分析能力。

# 这是一个危险的代码示例
user_input = input("Enter expression: ")
result = eval(user_input)  # 危险:可执行任意代码
print(f"Result: {result}")

预期:AST 分析应该报告 CRITICAL 级别的问题。