微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🛡️

UUID 边界防护·阻断命令输出注入攻击

Safe Exec Wrapper · v1.0.0
开发 安全 A 级 作者 jmceleney 来源 Cocoloop

简介

通过随机 UUID 边界标记隔离不可信命令输出,有效防御提示词注入攻击,适用于 curl、API 调用、用户文件读取等场景

原始描述

Protect against prompt injection from shell command output. Wrap untrusted commands (curl, API calls, reading user-generated files) with UUID-based security boundaries. Use when executing commands that return external/untrusted data that could contain prompt injection attacks.

标签

prompt-injectionsecurityshelluuidagent-safetycommand-wrapperuntrusted-outputllm-agent

同类 Skill