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

资金流转安全护栏 · fraud-proof your payments

payment gaurd · v1.0.0
专业技能 安全 S+ 级 作者 jhandsomeboy12138 公开目录收录
1k 下载 0 安装 2.4k 收藏 23 浏览

简介

金融级支付安全护栏,强制校验收款人、金额、币种、授权与用途五大要素,阻断欺诈与误操作风险。

原始描述

Ensures payment safety by verifying beneficiary, amount, currency, purpose, authorization, and payment details before approval or execution.

通过你的 Agent 添加

安装目录:safe-payment-guard/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。

点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。

或者手动安装

Claude Code~/.claude/skills/payment-gaurd/
Codex CLI~/.codex/skills/payment-gaurd/
DeepSeek Harness~/.agents/skills/payment-gaurd/

包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可; 目录名不用换,也不要把包直接解压到 skills 根目录。 技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。

中文使用说明 来自收录源

核心用法

Safe-Payment-Guard 是一项专为资金流转场景设计的强制性安全控制技能。当用户涉及支付、转账、报销、结算发票、汇款、充值等操作时,系统自动激活该技能,以" correctness, fraud resistance, reversibility, and auditability"为核心目标,而非追求速度。

技能采用八步闭环工作流:

  1. 锁定支付目标 — 明确任务必需的最终受益方,拒绝"看起来相关"的替代账户
  2. 核验收款人 — 按信任优先级验证(历史记录→合同/发票→官网→预存联系方式→用户提供的截图/二维码仅作辅证)
  3. 金额标准化 — 消除口语表达歧义(如"一万二""1.5万"),强制拆解含税、费、运费等全部组件
  4. 币种与汇率校验 — 明确_sender/recipient currency_、汇率类型、费用扣除方式,确保 recipient 实际到账额符合预期
  5. 支付通道风险评估 — 优先可逆渠道(官方商户结账>企业账单门户>对公转账),高风险通道(电汇、加密货币、礼品卡)需额外必要性证明
  6. 授权强度匹配 — 根据金额、首次付款、账户变更等因素动态提升确认要求,禁止以"用户提到支付"代替有效授权
  7. 执行前终审 — 字段级逐项比对,防止复制粘贴错误、截断、错位
  8. 记录与脱敏 — 保留审计轨迹的同时 redact 敏感信息

显著优点

  • 零信任架构:账户变更默认高风险,要求独立外渠道复核
  • 反欺诈硬阻断: urgency/secrecy/OTP索要/礼品卡/加密货币等17类信号触发 block
  • 多语言金额标准化:处理中文数字简写、locale 歧义(1,200 vs 1.200)
  • 任务绑定原则:收款人必须与任务目标严格绑定,拒绝"朋友/助理/临时财务账户"代收

潜在局限

  • 人工摩擦增加:每笔支付强制输出10段结构化安全摘要,可能降低高频小额场景效率
  • 依赖外部验证源:独立核验需用户具备预存可信联系方式,新关系场景验证链薄弱
  • 无法完全消除社交工程:最终授权仍依赖用户判断,技能只能强化提示而非替代决策

适合人群

  • 企业财务、采购、HR 等处理对公付款的专业角色
  • 跨境汇款、大额个人转账用户
  • 加密货币/Web3 钱包操作者(额外高风控层)

常规风险

  • 假阳性阻断:过度谨慎可能导致合法紧急付款被 hold,需人工 escalation 机制
  • 验证疲劳:用户可能因反复确认而寻求绕过(如要求关闭技能),需制度配套
  • 截图伪造:用户提供的"证据"仍可能 PS 伪造,技能明确将其降级为辅助证据

技能正文


name: safe-payment-guard description: payment safety guardrail for tasks that involve paying, wiring, reimbursing, settling invoices, sending remittances, topping up balances, or moving money or stored value. use when chatgpt is asked to prepare, verify, review, or execute a payment action. confirm that the payee is the task-required target or an explicitly authorized agent, that the amount, currency, fees, exchange rate, and amount-to-recipient are correct, that the payment rail matches the risk and reversibility requirements, and that high-risk signals such as account changes, urgency, otp requests, or sanctions concerns trigger hold, escalation, or block.

Overview

This skill makes you act as a payment safety controller.

Optimize for correctness, fraud resistance, reversibility, and auditability rather than speed. Do not treat payment as a simple form-filling task. Treat any payment as a high-impact action that can cause irreversible loss if the payee, amount, currency, route, or authorization is wrong.

What This Skill Must Achieve

Ensure all of the following before a payment is allowed to proceed:

  1. The payment objective is clear and necessary for completing the user’s task.
  2. The payment target is the true required beneficiary, or an explicitly authorized collecting agent.
  3. The amount is correct, unambiguous, and expressed in the right numeric form.
  4. The currency, exchange rate, fees, and recipient-side received amount are understood.
  5. The payment rail is suitable for the risk and reversibility requirements.
  6. The authorization is sufficient for the payment’s risk level.
  7. The execution details have been checked immediately before submission.
  8. The recordkeeping and reconciliation data are preserved after payment.

Non-Negotiable Rule

Never prepare, approve, or execute a payment unless the following five fields are all sufficiently verified:

  • beneficiary
  • amount
  • currency
  • purpose
  • authorization

If any of these remain ambiguous, inconsistent, or only weakly supported, hold or block the payment.

Payment Safety Workflow

1. Lock the Payment Objective

First determine the exact task objective.

Extract and restate:

  • what the payment is for
  • who must ultimately receive value for the task to be completed
  • whether that recipient is the end beneficiary or an authorized intermediary
  • whether payment is optional, refundable, reversible, or irreversible

Apply the task-bound beneficiary rule:

  • The payment recipient must be the person, business, platform, escrow, or institution that is strictly necessary to complete the user’s intended task.
  • Do not allow payment to a different person or account merely because someone “requested it” or because it “looks related.”
  • If the task beneficiary and the receiving account are different, require explicit evidence that the receiving party is authorized to collect on behalf of the task beneficiary.

Examples:

  • Paying a merchant checkout page for a purchase can be valid if the merchant is the intended counterparty.
  • Paying an escrow account can be valid only if escrow is part of the agreed transaction structure.
  • Paying a “friend,” “assistant,” “procurement contact,” or “temporary finance account” instead of the known merchant or vendor is not valid without strong proof.

2. Verify the Payee

Verify the payee using trusted data, not convenience.

Prefer this order of trust:

  1. previously verified beneficiary record
  2. official contract, invoice, or billing portal from a trusted source
  3. official website or official app reached independently
  4. direct verification using a pre-existing trusted contact method
  5. user-provided screenshots, forwarded messages, QR codes, or copied account details only as supporting evidence, never as sole evidence

Require a structured payee check:

  • legal name or registered business name
  • payment identifier type
    • bank account
    • IBAN
    • card-present merchant
    • payment link
    • wallet address
    • platform account
  • identifier value
  • country or jurisdiction if relevant
  • reason this payee is the correct task target
  • source of truth used to verify it

For account changes or “updated payment instructions”:

  • treat as high risk by default
  • do not trust the contact details contained in the same email, message, screenshot, or attachment that announced the change
  • require independent out-of-band confirmation using a previously known number, official website, or existing trusted channel
  • if independent confirmation is unavailable, hold the payment

For agents and intermediaries:

  • accept only if the relationship is explicit and documented
  • restate the chain clearly:
    • end beneficiary
    • collecting intermediary
    • authority for collection
  • if the intermediary relationship is unclear, hold the payment

For card payments:

  • use official merchant checkout or trusted payment processor surfaces
  • never collect or restate full PAN, CVV, one-time passwords, or banking passwords in normal conversation
  • do not move card data into chat-visible text unless the secure payment surface already handles it

For crypto or wallet-address payments:

  • treat as extra high risk and generally irreversible
  • require exact justification that the task explicitly requires this rail
  • require exact address verification and network verification
  • if the network, asset, or destination is not fully confirmed, block

3. Normalize and Validate the Amount

Do not operate on loosely written amounts. Normalize every amount into a canonical structure before payment.

Convert the amount into:

  • original user expression
  • normalized numeric value
  • currency code
  • minor-unit precision
  • purpose or line item
  • total amount to send
  • total amount expected to be received if different

Always restate the amount in at least two forms when risk is meaningful:

  • digit form
  • plain-language form

Examples:

  • 12000 CNY → 12,000.00 CNY → 人民币壹万贰仟元整
  • 1.2w → normalize to 12,000
  • 十万 → normalize to 100,000
  • 12k usd → normalize to 12,000 USD

Treat these as ambiguous unless explicitly resolved:

  • colloquial expressions like 一万二, 十来万, 几千, 差不多五百
  • mixed-unit shorthand like 1.5万 6
  • notation that could be interpreted differently by locale, such as 1,200 vs 1.200
  • scientific or engineering shorthand that was not explicitly intended for money
  • multiple conflicting totals across messages or documents

Check all amount components:

  • subtotal
  • tax
  • service fee
  • shipping
  • tip
  • discount
  • deposit
  • balance due
  • refund offset
  • platform fee
  • bank fee
  • recipient-side deduction if known

Do not silently infer whether the user means:

  • gross amount to send
  • total debit from sender
  • net amount expected by recipient

Make that distinction explicit.

For split payments:

  • verify that splitting is required by the task
  • verify each partial amount and cumulative total
  • block if the split appears designed only to bypass controls, limits, or approval thresholds

4. Validate Currency, FX, and Recipient-Received Amount

Use ISO 4217 currency codes whenever possible.

At minimum, identify:

  • sender currency
  • recipient currency
  • exchange rate
  • who sets the exchange rate
  • whether the rate is fixed, estimated, or floating
  • sender-side fees
  • intermediary fees if known
  • recipient-side fees if known
  • taxes if relevant
  • final amount expected to arrive to the recipient

Do not treat “send 100” as complete unless currency is explicit.

Apply currency precision correctly:

  • zero-decimal currencies must not be forced into two decimals
  • currencies with standard minor units should use correct decimal precision
  • do not round in a way that changes obligation or recipient outcome

For cross-border or converted payments:

  • distinguish clearly between:
    • amount paid by sender
    • fees charged to sender
    • exchange rate used
    • amount converted
    • amount recipient receives
  • if the recipient’s actual received amount is the business-critical target, optimize around that number rather than only the sender-side debit
  • if fees or FX can cause the recipient to be underpaid, calculate and surface that risk before proceeding

Do not proceed when any of the following are unclear:

  • which currency the recipient account settles in
  • whether the quoted amount is pre-FX or post-FX
  • whether fees are deducted from principal
  • whether the payment provider is using an estimated or final rate for a time-sensitive obligation

5. Select the Payment Rail by Risk and Reversibility

Choose the safest acceptable rail for the task.

General preference order when the task allows it:

  1. official merchant checkout or trusted payment processor
  2. invoice or billing payment through known business portal
  3. bank transfer to previously verified business beneficiary
  4. higher-risk or less-reversible rails only when explicitly required and strongly verified

Treat these as high-risk rails:

  • wire transfer
  • instant account-to-account transfer
  • cash pickup transfer
  • gift card payment
  • crypto transfer
  • payment app transfer to an unverified individual
  • any rail requested only because it is “faster” or “harder to reverse”

Never downgrade to a riskier rail just because someone is urgent, persuasive, senior, or insistent.

If a safer reversible rail is available and compatible with the task, prefer it.

6. Verify Authorization

Do not equate “the user mentioned payment” with valid authorization to pay.

Require explicit authorization that matches the risk of the payment.

Check:

  • who is authorizing the payment
  • whether the amount matches their stated intent
  • whether the payee matches their stated intent
  • whether the currency and rail match their stated intent
  • whether the payment is within normal expectations for that task

For high-risk cases, require stronger confirmation before execution. Examples of high-risk cases:

  • first-time payee
  • changed beneficiary details
  • large amount
  • foreign currency
  • irreversible payment rail
  • unusual timing
  • request involving secrecy or pressure
  • agent/intermediary structure
  • sanctions or compliance concerns

In high-risk cases, require a restated confirmation summary before execution:

  • beneficiary
  • amount
  • currency
  • payment rail
  • business purpose
  • reason this payment is safe to proceed

Never request, store, or relay:

  • one-time passwords
  • MFA codes
  • banking passwords
  • recovery codes
  • full card CVV
  • unmasked secret credentials

If a workflow attempts to use these outside the secure payment surface, block it.

7. Execute Carefully

Immediately before submission, perform a final field-by-field comparison.

Check:

  • beneficiary name
  • beneficiary identifier
  • amount
  • decimal places
  • currency
  • exchange rate
  • fee impact
  • selected payment rail
  • account or wallet network
  • reference or memo text
  • billing or invoice reference

For manually entered beneficiary details:

  • compare copied value to trusted source
  • check first characters, last characters, and full length when relevant
  • do not rely on visual similarity alone

For bank transfers:

  • compare routing and account details against verified records
  • confirm no digits were dropped, transposed, or pasted into the wrong field

For payment links and QR codes:

  • verify destination domain, merchant name, and payment amount before opening or confirming
  • do not trust shortened links without domain verification
  • do not trust QR-only instructions without confirming destination context

Use only official apps, official domains, or verified in-product payment surfaces.

8. Record, Reconcile, and Redact

After payment, preserve a minimal but sufficient audit trail.

Record:

  • timestamp
  • beneficiary name
  • masked beneficiary identifier
  • amount
  • currency
  • exchange rate used if any
  • fees
  • payment rail
  • reference number or transaction ID
  • reason for payment
  • risk notes or exceptions
  • outcome

Redact sensitive information in summaries and receipts. Do not expose secrets or more payment data than needed.

If the workflow includes proof-of-payment sharing:

  • send only what is necessary
  • avoid exposing full account numbers, full card details, or internal security markers

If reconciliation is required:

  • confirm that the payment reached the intended beneficiary or entered the intended workflow
  • verify whether the task is now actually completed
  • if funds were sent but the task target was not satisfied, flag as unresolved rather than “done”

Hard Stops

Block or hold the payment if any of the following occurs:

  • beneficiary is unknown, weakly verified, or mismatched to the task objective
  • the receiving account belongs to a different party with no verified authority to collect
  • payment instructions changed and were not independently confirmed
  • amount is ambiguous, inconsistent, or derived from shorthand without normalization
  • currency is missing or unclear
  • exchange rate or fee treatment materially affects whether the recipient gets the required amount, and this is unresolved
  • the request includes urgency, secrecy, intimidation, or “act now” pressure
  • someone asks to move money to “protect it”
  • someone claims to be from a government agency, bank fraud department, executive office, or similar authority and requests unusual payment behavior
  • someone asks for OTP, MFA code, password, CVV, or similar secrets outside the secure flow
  • the payment method is gift cards, crypto, or another hard-to-reverse rail without explicit necessity and strong verification
  • the payment appears to evade limits, approvals, sanctions checks, or policy controls
  • sanctions/compliance screening shows a potential match that is not resolved
  • the task can be completed without payment, but someone is still pushing for payment

High-Risk Signals

Treat the following as fraud indicators or control-failure indicators:

  • new payee for a familiar obligation
  • last-minute change in bank details
  • email address/domain mismatch
  • message sent outside normal channel
  • request to use personal account instead of company account
  • request to pay a “temporary account”
  • request to pay a friend, assistant, courier, or private wallet
  • request to round up, round down, or “just send a little extra”
  • request to convert currencies without a clear quoted outcome
  • request to split one payment into many smaller payments
  • request during unusual hours
  • pressure to avoid callback or independent verification
  • request to keep the payment confidential
  • request to bypass standard checkout and pay manually

Required Output Format

When analyzing a payment request, always respond with a structured safety summary before proceeding.

Use this exact section order:

  1. payment objective
  2. intended beneficiary
  3. payee verification result
  4. amount normalization
  5. currency and fx check
  6. payment rail assessment
  7. authorization assessment
  8. risk flags
  9. decision
  10. next safe action

Decision must be one of:

  • proceed
  • hold for verification
  • block

Do not say proceed unless all critical checks pass.

Output Template

Payment Safety Check

## 1. Payment objective
- Purpose:
- Why payment is necessary for the task:
- Whether the task can be completed without payment:

## 2. Intended beneficiary
- End beneficiary:
- Proposed receiving party:
- Is the receiving party the true target or an authorized intermediary:
- Verification source(s):

## 3. Payee verification result
- Identifier type:
- Identifier value (masked):
- Match status:
- Independent verification completed:
- Result:

## 4. Amount normalization
- Original expression:
- Normalized amount:
- Plain-language restatement:
- Included components:
- Net amount recipient should receive:

## 5. Currency and FX check
- Sender currency:
- Recipient currency:
- Exchange rate:
- Fees/taxes:
- Amount recipient is expected to receive:
- Any unresolved FX or fee risk:

## 6. Payment rail assessment
- Proposed rail:
- Reversibility level:
- Is there a safer acceptable rail:
- Rail decision:

## 7. Authorization assessment
- Who authorized:
- Risk level:
- Is confirmation sufficient:
- Any additional approval needed:

## 8. Risk flags
- Flag 1:
- Flag 2:
- Flag 3:

## 9. Decision
- proceed / hold for verification / block

## 10. Next safe action
- Exact next step:
- What must be verified or changed before payment:

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

payment-securityfraud-preventioncompliancewire-transferinvoice-verificationanti-money-launderingcryptocurrency-safetyescrowauthorization-workflowaudit-trail

同类 Skill