4 个仓库
Secure execution environments that restrict access to host system classes and methods via whitelists.
Distinct from Security and Access Control: Existing candidates focus on URL access, user permissions, or token whitelists, not the sandboxing of a script engine.
Explore 4 awesome GitHub repositories matching security & cryptography · Scripting Sandboxes. Refine with filters or upvote what's useful.
QLExpress is a dynamic scripting engine and expression language for the Java platform. It functions as a runtime expression evaluator and business rule engine, allowing applications to execute scripts and evaluate business logic without requiring system recompilation. The engine distinguishes itself through a secure scripting sandbox that enforces security policies via class whitelisting and execution timeouts. It supports high-precision mathematics to prevent rounding errors and provides language alias support to create domain-specific languages that resemble natural language. Additional cap
Restricts access to class fields and methods using configurable security policies like whitelists or isolation.
KoboldAI-Client 是一个用于与大型语言模型交互的基于 Web 的界面和工具包。它充当用于故事创作和对话式 AI 的本地 AI 文本生成器,为托管在本地硬件或云端环境中的模型提供前端。 该系统包括一个角色管理器,使用外部模块和软提示(soft-prompting)来引导 AI 响应特定的角色和写作风格。它还提供了一个 API 包装器,暴露了一个标准化的、兼容 OpenAI 的 REST API,允许外部应用与托管模型进行通信。 该平台支持多种写作、游戏和聊天机器人交互模式,并包括沙盒脚本以自动化数据处理并过滤模型输入和输出。部署选项范围从私有本地执行到容器化云 GPU 环境。
Features a scripting sandbox to safely filter text and modify model behavior without risking host system access.
Scriban 是一个 .NET 文本模板引擎和嵌入式脚本语言,用于动态文本生成。它作为一个抽象语法树 (AST) 操作工具和模板解析器,允许将脚本转换为可遍历的树结构,以便进行分析、修改和渲染。 该引擎专为 Native AOT 兼容性而设计,利用无反射 API 在裁剪后的环境中执行模板。它还为 Liquid 模板提供了专门的解析器和转换系统,支持在 .NET 中迁移和执行 Liquid 脚本。 该项目涵盖了广泛的功能,包括用于安全运行脚本的沙箱代码执行,以及用于数据转换的管道系统。它包含用于操作字符串、数组、日期和数学运算的全面工具,并支持 JSON 数据转换和正则表达式。 开发者可以通过自定义函数绑定、对象集成和可自定义的成员名称映射来扩展引擎功能。
Provides a secure execution environment that restricts access to host system classes and methods.
Scriban 是一个用于动态文本生成的文本模板库和 .NET 脚本引擎。它既是一个模板处理器,也是一个安全的脚本沙箱,通过限制对象暴露来提供安全的执行环境,从而防止未经授权的代码执行。该项目还包含一个抽象语法树模板解析器,支持对模板进行程序化分析和修改。 该引擎内置了专门的 Liquid 模板引擎及兼容模式,能够解析、执行并转换以 Liquid 语法编写的模板。其独特之处在于成员暴露过滤系统,允许开发者重命名、隐藏或过滤对象属性,从而控制模板内的数据访问方式。 该库涵盖了广泛的功能,包括异步模板渲染、条件逻辑和集合迭代。它提供了用于数据操作的内置工具,如数学运算、JSON 转换、日期时间算术,以及基于正则表达式的强大文本处理功能。开发者还可以通过定义自定义函数和集成外部类来进一步扩展引擎功能。 该项目提供了一个安全的 API 接口,支持通过 Native AOT 发布为原生二进制文件。
Provides a secure execution environment that restricts host system access via whitelists to prevent unauthorized code execution.