加固安全护栏 · Safety Guardrail Hardener

    1

    This skill turns safety guardrails into auditable, testable, launch-ready rules instead of a vague instruction to answer safely.

    $7

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    加固安全护栏 · Safety Guardrail Hardener

    Example session with this skill installed

    我们的客服 Agent 接入了订单查询工具,担心用户通过提示注入查到别人订单。请审计现有护栏并给出一套可落地的加固方案,含拦截规则和测试用例。
    Our customer-service agent has an order-lookup tool, and we worry users could use prompt injection to view other people's orders. Please audit our current guardrails and deliver a practical hardening plan with blocking rules and test cases.

    • Read your context and instructions
    • Compiled the safety guardrail hardener

    结论:当前主要风险是「工具参数可被对话内容覆盖」和「输出未脱敏」。先加固参数绑定与白名单,再补脱敏规则,最后用注入用例回归。
    Conclusion: the main risks are tool parameters that can be overridden by conversation text and unredacted output. First harden parameter binding and the allowlist, then add redaction rules, and finally regression-test with injection cases.

    加固方案 · Hardening plan

    风险 · Risk加固措施 · Fix验证方式 · Verify
    提示注入改参数参数只从后端上下文取,忽略对话中的覆盖注入用例执行后参数不变
    越权查订单工具只允许查询当前会话绑定的用户ID更换用户ID请求被拒绝
    手机号泄露输出前统一脱敏为 138****1234 格式样例输出中无明文手机号
    未授权工具调用维护工具白名单,名单外一律拒绝构造白名单外调用被拦截

    上线前检查清单 · Go-live checklist

    • 确认所有工具调用都经过护栏中间层 / Confirm every tool call passes through the guardrail layer
    • 用 10 组注入用例回归,全部通过 / Regression-test 10 injection cases; all must pass
    • 配置异常日志与告警,越权尝试可追溯 / Configure anomaly logs and alerts so privilege attempts are traceable

    下一步 · Next steps

    1. 把现有工具清单和调用参数发我,我逐项标记风险等级。/ Send me your tool list and call parameters; I will risk-rate each one.
    2. 提供 2-3 条真实对话样本,我帮你补全注入测试集。/ Share 2-3 real conversation samples so I can complete the injection test set.
    3. 上线前做一次灰度,观察拦截日志再全量。/ Run a canary release before going live and review the blocking logs first.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Generate production-ready security protocols for DevOps teams.Create reusable YAML templates for compliance-heavy workflows.Standardize audit and rollback procedures across enterprise apps.

    About this skill

    它解决什么问题 · The problem

    Agent 应用一旦接入真实业务,提示注入、越权操作和数据泄露就会变成真实风险。这个技能把「安全护栏」变成可审计、可测试、可上线的规则清单,而不是一句空泛的「请安全回答」。

    Once agents touch real business systems, prompt injection, unauthorized actions, and data leaks become real risks. This skill turns safety guardrails into auditable, testable, launch-ready rules instead of a vague instruction to answer safely.

    这个技能做什么 · What it does

    它先盘点 Agent 的能力边界和数据权限,再针对提示注入、越权调用、敏感数据外发等风险输出分层护栏:输入过滤规则、工具白名单、输出脱敏规则,并附攻击用例和验证步骤。

    It maps the agent's capabilities and data permissions first, then outputs layered guardrails for prompt injection, unauthorized tool calls, and sensitive-data exfiltration: input filters, tool allowlists, output redaction rules, plus attack cases and verification steps.

    为什么比裸提示词强 · Why it beats raw prompts

    • 给出可执行的拦截规则,而不是口号 / Gives enforceable blocking rules, not slogans
    • 每条护栏都配攻击用例,可测试 / Every guardrail ships with attack cases, so it is testable
    • 区分必须拦截、需人工确认、放行三级 / Separates must-block, human-review, and allow into three tiers
    • 输出上线检查清单,防止漏配 / Outputs a go-live checklist to prevent missed configs

    典型用例 · Typical use cases

    • Coze / 扣子工作流上线前的安全审计 / Security audit before shipping a Coze workflow
    • 客服 Agent 的敏感信息脱敏规则 / Redaction rules for customer-service agents
    • 工具调用白名单与越权拦截 / Tool-call allowlists and privilege-escalation blocking
    • 企业合规要求的护栏文档化 / Documenting guardrails for enterprise compliance

    局限 · Limitations

    输出规则、用例与清单,不修改你的线上系统;最终部署需在目标平台完成并复测。

    It outputs rules, cases, and checklists but does not modify your production systems; deployment and retesting must be done on the target platform.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean today

    • Passed all security checks, Safe to install

    Listedtoday

    Frequently Asked Questions