FM-013 Authentication, Authorization, and Security

Undocumented Dependencies and Accumulated Integration Failures

Consumers rely on undocumented behavior; a provider change unexpectedly breaks applications that were never identified as official consumers.

Failure explanation

Consumers depend on API behavior that is not recorded in the formal specification or provider’s dependency inventory. A provider may remove a field, alter an error response, or change timing and discover only after release that an unknown consumer relied on it. This is often called integration or consumer-discovery debt: teams cannot safely assess the blast radius of a change.

Example

A provider removes a legacy legacyAccountCode field because no registered consumer uses it. A finance export job maintained by another department still reads that field and fails at month-end.

How to test

  • Collect consumer-driven contracts, traffic-derived dependency observations, and known SDK versions where permitted.
  • Compare proposed provider changes against registered consumers.
  • Test undocumented legacy fields and error assumptions discovered in integration tests.
  • Report unknown or unverified consumers as a coverage gap, not as proof that none exist.

Expected behavior

The provider has an explicit consumer inventory and compatibility checks. Change-impact reports identify known affected consumers and clearly state the limits of dependency visibility.

Runnable examples

Each example includes a broken server, a fixed server, an OpenAPI spec, and a clrsig scenario that detects the failure.