Skip to content

Release v0.4.0

Choose a tag to compare

@acodercat acodercat released this 15 Aug 08:29
· 93 commits to master since this release

🛡️ Security System Added

✨ What's New

  • Security Checker: AST-based validation prevents dangerous code execution
  • Security Levels: STRICT/STANDARD/RELAXED configurations
  • Custom Rules: Define app-specific restrictions with regex patterns
  • Simplified Error Handling: Removed detailed_error_feedback parameter

🔒 Security Protection

Automatically blocks: eval(), exec(), unsafe imports, file operations

📖 Usage

runtime = PythonRuntime(
    enable_security=True,
    security_level=SecurityLevel.STANDARD
)