skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
instavm/security-skills82 installs

mitm-find-callback

Find payment callback and webhook vulnerabilities. Use when user asks about payment security, callback tampering, hash validation, or transaction manipulation.

How do I install this agent skill?

npx skills add https://github.com/instavm/security-skills --skill mitm-find-callback
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubpass

    This skill provides a structured framework for identifying security vulnerabilities in payment callbacks and webhooks by analyzing network traffic logs. It is purely instructional and does not execute code or perform automated network tasks.

  • Socketwarn

    1 alert: gptAnomaly

  • Snykpass

    Risk: LOW · No issues

What does this agent skill do?

Find Payment Callback Vulnerabilities

Analyze the mitmproxy dump (log.txt) for payment callback issues for: $ARGUMENTS

Requires: log.txt in the current directory. If it's missing, capture traffic first:

mitmdump --set flow_detail=3 2>&1 | tee log.txt

Vulnerability Types

1. Hash/Signature Not Validated

  • Callback accepts any hash value
  • Hash parameter present but not verified
  • Can change status without valid signature

2. Status Manipulation

  • Change status=failed to status=success
  • Modify unmappedstatus parameter
  • Tamper with transaction result

3. Amount Manipulation

  • Modify amount before callback
  • Pay less, get full order
  • Decimal manipulation

4. Signature Collision

  • Same signature works for payment and refund
  • Parameter reordering gives same hash
  • Missing fields in signature calculation

5. Checksum Generation Exposed

  • API returns checksum even on error
  • Can generate arbitrary checksums
  • Checksum algorithm is weak (MD5/SHA1 without salt)

Testing Approach

# Test callback with modified status
curl -X POST "https://merchant.com/payment/callback" \
  -d "txnid=12345&status=success&hash=original_hash"

# Test with invalid hash
curl -X POST "https://merchant.com/payment/callback" \
  -d "txnid=12345&status=success&hash=aaaa"

Red Flags in Traffic

  • Callback URLs with all params in request
  • Hash visible in client-side code
  • Salt/secret in JavaScript
  • Error responses containing valid checksums

Output Format

For each finding:

  • Callback URL: Vulnerable endpoint
  • Issue: What can be manipulated
  • Parameters: Affected fields
  • Test: How to exploit
  • Impact: Free orders, refunds, etc.
  • Fix: Proper server-side validation

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/instavm/security-skills/mitm-find-callback">View mitm-find-callback on skillZs</a>