Skip to content
Skills Library
Programming · Analysis

integration-and-async-surface-map

/integration-and-async-surface-map

Catalogue the queues, webhooks and background jobs a request can trigger, because the effect of a defect often lands off the request path where nobody is watching. Use when a handler can enqueue work or call another service and the reachable side effects have not been listed

Repository
flawpath ↗
Licence
MIT
Last repository change
28.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
2
Deprecation

No signals detected. Repository changed on 28.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Catalogue the queues, webhooks and background jobs a request can trigger, because the effect of a defect often lands off the request path where nobody is watching. Use when a handler can enqueue work or call another service and the reachable side effects have not been listed

Original author description

Catalogue the queues, webhooks and background jobs a request can trigger, because the effect of a defect often lands off the request path where nobody is watching. Use when a handler can enqueue work or call another service and the reachable side effects have not been listed

How it works

  1. Procedure
  2. Signals
  3. Patterns
  4. Pitfalls
  5. Done when
  6. References
Original SKILL.md headings · 62 lines, 409 words
SKILL.md preview
---
name: integration-and-async-surface-map
description: "Catalogue the queues, webhooks and background jobs a request can trigger, because the effect of a defect often lands off the request path where nobody is watching. Use when a handler can enqueue work or call another service and the reachable side effects have not been listed"
pack: flawpath
version: 1.0.0
category: backend-api
tags: [map, async, integration]
---

# Integration and Async Surface Map

> Catalogue the queues, webhooks and background jobs a request can trigger, because the effect of a defect often lands off the request path where nobody is watching

**Use when:** a handler can enqueue work or call another service and the reachable side effects have not been listed

**Avoid when:** handlers are synchronous and the owner confirms no downstream work is triggered

## Procedure

1. Trace each mutating handler to the jobs, messages or outbound calls it can enqueue, reading the code rather than a diagram.
2. Record what each downstream consumer does with the payload it receives, since that is where an unvalidated field becomes an effect.
3. Note whether a job payload is re-validated on the consuming side or trusted as sent.
4. Identify retry behaviour on each queue, because a retried job multiplies any unintended effect.
5. Mark which downstream systems sit outside your testing boundary, so their behaviour is described rather than exercised.
6. Carry the map into the probe phase with the boundary annotation attached to every out-of-boundary consumer.

## Signals

- A handler enqueues a payload that the consumer parses without re-validating
- A queue retries a malformed message instead of dead-lettering it
- A downstream consumer sits outside the testing boundary but receives data from an in-scope handler
- No one can say what a background job does with the fields it is given

## Patterns

**1. Trigger row**

```text
handler | job or queue | payload fields | consumer re-validates | retries | in scope
PATCH /orders | order.sync | id, status, vendor_ref | no | 5 | vendor is out of boundary
```

**2. Boundary flag**

```text
any consumer outside the boundary is marked describe-only; its behaviour is reported from documentation and code, never exercised
```

**3. Multiplier note**

```text
retry count times one unintended effect is the real impact, so both numbers appear on the row
```

## Pitfalls

- Testing only the request path while the effect lands in a queue nobody is watching
- Describing a downstream system without noting it was never exercised
- Missing that the consumer trusts a payload the in-scope handler never validated

## Done when

- Every mutating handler has a row naming its downstream consumers, payload, re-validation and retries
- Consumers outside the testing boundary are marked describe-only with that reason

## References

- [OWASP - API security guidance](https://owasp.org/API-Security/)
- [CWE-918 - Server-side request forgery](https://cwe.mitre.org/data/definitions/918.html)

Versions

The database has no other skills named integration-and-async-surface-map.

Database snapshot: 13.11.2026 · package version 057bac45bb08 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 90integrations-async-jobs
    Use when building or troubleshooting external-service integrations, webhooks, queues, scheduled tasks, and background job processing.
  • 100python-background-jobs
    Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request/response cycles.
  • 90background-jobs
    Designs and reviews background jobs, task queues, workers and scheduled (cron) jobs - queue choice, small ID-based payloads, idempotent handlers, retries with backoff and dead-letter queues, timeouts and heartbeats, concurrency and rate limits, transactional enqueue,…
  • 100python-background-jobs
    Python background job patterns including task queues, workers, and event-driven architecture. Use when implementing async task processing, job queues, long-running operations, or decoupling work from request/response cycles.
  • 100frappe-background-jobs
    Manage background jobs and scheduled tasks in Frappe using frappe.enqueue and Python RQ. Use when implementing long-running tasks, email queues, or periodic data processing.
  • 100background-task
    Add or modify work that runs outside the request/response cycle — emails, document ingestion, webhooks, cleanups, scheduled jobs. Use when something is slow or fire-and-forget, or when adding a periodic/cron task. This project's queue is {{ cookiecutter.background_tasks }}.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.