Skip to content
Back to skills

Api Unsafe Consumption

ASecurity

Unsafe Consumption of APIs (OWASP API10) — the target trusts data from upstream/third-party APIs more than user input, enabling injection, SSRF pivots, and data poisoning through a trusted channel. Tier 1. Use when the target integrates external APIs, follows upstream redirects, or ingests third-party data.

  • 16 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 17, 2026
securityrustsqlapibackend

Works with

  • api
  • mcp

Security analysis

A100/100

Scanned November 17, 2026

npx -y skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill api-unsafe-consumption --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Api Unsafe Consumption?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Api Unsafe Consumption
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/anandjogawade-api-unsafe-consumption/badge)](https://www.skillsdirectory.com/skills/anandjogawade-api-unsafe-consumption)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: api-unsafe-consumption
description: Unsafe Consumption of APIs (OWASP API10) — the target trusts data from upstream/third-party APIs more than user input, enabling injection, SSRF pivots, and data poisoning through a trusted channel. Tier 1. Use when the target integrates external APIs, follows upstream redirects, or ingests third-party data.
---

# API10 — Unsafe Consumption of APIs

The target validates user input but blindly trusts responses from upstream/3rd-party services it calls — so poison the trusted channel. Cross-ref `api-ssrf`, `api-injection`.

## Trigger phrases
`api10, unsafe consumption, third party api, upstream trust, integration ssrf, data poisoning, trusted channel injection`

## Method
1. **Map integrations** — find where the target calls out: OAuth/SSO providers, payment/KYC, geocoding, enrichment, webhooks you can register (`api-webhooks`), feed/document importers, linked-account syncs.
2. **Find your influence point** — anywhere *you* control data the upstream returns: your own linked third-party account profile, a webhook you register, a file you host that the target fetches, a redirect you control.
3. **Inject via the upstream** — place payloads in the attacker-controlled upstream data so they land in the target: XSS/SQLi/NoSQLi/SSTI/command (see `${CLAUDE_PLUGIN_ROOT}/payloads/injection.md`, `sqli.md`, `nosql.md`, `ssti.md`) in profile fields, webhook bodies, or synced records the target stores/renders without re-validating.
4. **Redirect/SSRF pivot** — if the target follows upstream redirects blindly, return a `3xx` to an internal/metadata URL (`http://169.254.169.254/...`) → SSRF via a trusted hop (chain `api-ssrf`).
5. **TLS trust** — check whether outbound calls disable cert verification (MITM the upstream in lab) or accept any host.

## Modern / rare techniques
- **[RARE] Second-order via trusted sync** — payload injected into your linked account surfaces in the target's admin panel/report/notification later (OAST + delayed callback, see `api-oast-blind`).
- **[RARE] Upstream-redirect SSRF** — allow-list only checks the first URL; the upstream `Location` reaches internal services.
- **[RARE] Deserialization of upstream payloads** — target deserializes trusted-channel data unsafely (`${CLAUDE_PLUGIN_ROOT}/payloads/deserialization.md`).

## Bypass / evasion
Where the target sanitizes user input but not upstream data, the same payloads that were blocked directly often pass through the trusted channel. See `${CLAUDE_PLUGIN_ROOT}/payloads/waf-bypass.md`.

## Escalation / chaining
Injection via trusted channel → RCE/SQLi/stored-XSS in the target. Upstream redirect → `api-ssrf` → cloud metadata/credential theft. Poisoned data → `api-abuse`/fraud.

## Backend & tooling
Preferred Kali path (WSL+Kali / Kali-MCP / HexStrike). Stand up an attacker-controlled upstream (interactsh/your webhook sink/redirector); route the target's traffic through Burp. See `zazy-orchestrator`.

## Verification (background, before reporting)
Confirm the injected/redirected upstream data actually reached and affected the target (stored, rendered, executed, or caused an internal fetch) — use OAST for blind SSRF and reproduce. True positives only.

## Evidence
The attacker-controlled upstream payload + proof it landed in the target (stored/executed/internal fetch, OAST callback from target egress). Impact + remediation (validate upstream data like user input, allow-list upstream hosts, verify TLS, disable blind redirects, timeouts).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.