Join our Newsletter — 33% off our NHI Course
Home› Guides› Abuse Case Library Template: Identity, Payment and API…
Template Application Security

Abuse Case Library Template: Identity, Payment and API Misuse Scenarios

← All guides
By NHI Mgmt Group, edited by Lalit Choda Updated 11 November 2026 12 min read
On this page

Most abuse case workshops stall at a blank sheet: the team knows features can be misused, but nobody arrives with a ready list of the ways identity, payment and API features are actually abused. This template is a reusable abuse case library for [Organisation]: a set of pre-written scenarios, each tied to an attack reference, a business risk rating and a testable countermeasure, that product teams copy into their own workshop and adapt. It covers sign-up, login, recovery, sessions, machine credentials, checkout, refunds, promotions and APIs. It is for application security teams, product owners, fraud teams and testers. The workshop method and the step from abuse case to security requirement are explained in the Security Requirements and Abuse Cases Guide; this page is the library itself.

How to use this template

  • Copy sections 3 to 8 into the workbook or tracker your teams use. Keep the IDs so that requirements, tests and risk acceptances can point back to the library entry.
  • The record fields in section 3 follow the ABUSE CASES sheet described in the OWASP Abuse Case Cheat Sheet (feature, attack description, attack reference, business risk, CVSS where relevant, kind, countermeasure and handling decision). OWASP has archived that cheat sheet as historical, but the record structure still works.
  • Do not run every entry against every feature. Pick the families that match the features in scope, then delete, merge or rewrite entries until each one describes your system.
  • Replace text in square brackets, such as [Organisation], [N] and [risk owner], with your own values. Bracketed thresholds are NHI Mgmt Group suggestions, not values from a standard.
  • Attack references use OWASP API Security Top 10 2023 (API1 to API10), OWASP Automated Threats to Web Applications (OAT IDs) and MITRE CAPEC 2.1 IDs. Check each reference still matches the behaviour you describe.

1. Purpose

This library gives [Organisation] a shared starting set of misuse scenarios for features that handle identity, money and data through APIs. It exists so that abuse cases are considered at design time, turned into testable requirements and acceptance criteria, and tracked to a decision (address or accept). It supports NIST SP 800-53 SA-8 (Security and Privacy Engineering Principles), SA-11 (Developer Testing and Evaluation) and RA-3 (Risk Assessment), and the NIST CSF 2.0 outcome PR.PS-06, that secure software development practices are integrated into the lifecycle.

2. Scope and ownership

  1. The library applies to any new or changed feature that creates accounts, authenticates people or machines, grants access, moves money or value, or exposes data or functions through an API.
  2. [Application security team] owns the library and reviews it [every six months] and after any incident or penetration test finding that reveals a scenario it does not contain.
  3. Each product team owns the copies it adapts, the business risk ratings it assigns and the handling decisions it records.
  4. Fraud, customer support and identity teams contribute scenarios from their own case data. Scenarios that come from real incidents are marked with source "Internal incident" and a reference number.

3. Abuse case record format

FieldWhat to record
IDLibrary ID (for example ID-03) or local ID (ABUSE_CASE_001)
Feature ID and nameThe feature the case applies to, from the FEATURES list
ActorAnonymous user, registered customer, insider, partner, bot operator, compromised machine identity
Abuse descriptionOne or two sentences in business language: what the actor does and what they gain
Attack referenceOWASP API Top 10, OAT or CAPEC ID
KindTechnical (exploits a flaw) or Business (uses a feature as built, for an unintended gain)
Business risk rating[Low / Medium / High / Critical] from the [Organisation] risk matrix, kept separate from any CVSS score
CountermeasureThe requirement or control, written so a tester can verify it
TestHow it will be checked: unit test, integration test, DAST rule, penetration test case, fraud rule
Detection signalWhat log event or metric would show this abuse happening in production
Handling decisionTo address (with ticket) or Risk accepted (with approver, reason and expiry)

The detection signal field is an NHI Mgmt Group addition to the OWASP structure. Business abuse often passes every functional test, so the only practical control may be noticing it in production.

4. Identity and account scenarios

IDAbuse caseReferenceCountermeasure (testable)Detection signal
ID-01Bot operator replays leaked username and password pairs against loginOAT-008, CAPEC-600Breached password check at sign-up and reset; phishing-resistant MFA option; per-IP and per-account throttlingLogin failure ratio by source; many accounts per device
ID-02Attacker guesses passwords for one targeted accountOAT-007, CAPEC-49Progressive delay per account; lockout that cannot be used to deny service to the ownerFailures per account per hour above [N]
ID-03Mass creation of fake accounts to claim sign-up credit or seed spamOAT-019Value granted only after verified activity; per-device and per-payment-instrument sign-up limitsSign-ups per device, domain or IP range
ID-04Attacker uses password reset to take over an account (guessable answers, reset link to a changed email)CAPEC-50Single-use, short-lived reset tokens; notify old and new contact details; no reset after recent contact change without step-upReset followed by contact change within [24 hours]
ID-05Caller persuades support to change the phone number or reset MFACAPEC-407Help desk verification policy with callback; MFA reset holds for [N hours] with owner notificationMFA resets per agent; resets followed by high-value actions
ID-06Stolen session cookie or token reused from another deviceCAPEC-60Session binding or re-validation on device or network change; short idle timeout for sensitive rolesSame session from two distant locations
ID-07User floods another person with MFA push prompts until one is approvedCAPEC-416Number matching or phishing-resistant factors; cap on prompts per [10 minutes]Denied prompts followed by an approval
ID-08Forgotten test or vendor account with a local password reaches productionCAPEC-555All interactive access through SSO with MFA; every account has a named owner and expiryLogins from accounts with no owner or past expiry

See the Account Takeover Prevention Guide, the Account Recovery and Help Desk Security Guide and the MFA Fatigue and Bypass Guide.

5. Machine identity and integration scenarios

These scenarios are often missing from workshops because no human user story covers them. Add them whenever the feature issues, accepts or stores API keys, OAuth tokens, webhook secrets or service account credentials.

IDAbuse caseReferenceCountermeasure (testable)Detection signal
NHI-01Customer API key committed to a public repository is used by a third partyCAPEC-21Keys carry a recognisable prefix for secret scanning; scoped and expiring keys; one-click revoke and rotateKey used from new ASN or country; usage after owner reports leak
NHI-02Integration token with broad scope is used for actions far outside the integration's purposeCAPEC-122Scopes per integration, least privilege by default; admin consent for high-risk scopesToken calling endpoints it has never called before
NHI-03Forged webhook calls trigger order or account changesCAPEC-633Signed webhooks with timestamp and replay window; reject unsigned payloadsSignature failures per sender
NHI-04Departed employee's personal token keeps a production integration aliveCAPEC-555Integrations run as owned service identities, not personal tokens; offboarding revokes personal tokensToken activity after owner's account is disabled
NHI-05AI assistant with tool access is instructed by hidden text to perform an account actionOWASP LLM01:2025Server-side authorisation on every tool call; human confirmation for value-moving actionsTool calls that follow external content ingestion

See the API Key Management Guide, the Webhook Secrets Security Guide and the Service Account Security Guide.

6. Payment and value scenarios

IDAbuse caseReferenceCountermeasure (testable)Detection signal
PAY-01Stolen card numbers tested with small paymentsOAT-001Velocity limits per account, device and card BIN; 3-D Secure on risk signals; anti-automation on payment formAuthorisation decline rate; many cards per device
PAY-02Gift card or voucher codes enumerated until valid ones are foundOAT-002Long random codes; attempts limited per account and IP; lockout on repeated failuresFailed redemptions per source
PAY-03Price, quantity or currency changed in the client requestCAPEC-162, CAPEC-39Server recalculates price from catalogue; reject negative or fractional quantitiesOrder totals that differ from server-side recalculation
PAY-04Same discount or refund claimed twice by sending parallel requestsCAPEC-26Idempotency keys; atomic state change on redemptionDuplicate redemptions within [1 second]
PAY-05Bot buys limited stock for resaleOAT-005, API6:2023Per-customer purchase cap; queueing or anti-automation on launchesPurchases per account and address cluster
PAY-06Refund issued to a different payment method than the original purchaseBusiness (no single ID)Refunds only to the original instrument; manager approval above [amount]Refunds to new instruments; refunds per agent
PAY-07Loyalty points moved out of compromised accountsOAT-012Step-up authentication for transfers and redemptions; hold on new payeesPoint transfers soon after login from a new device

See the Card Testing and Carding Attacks Defence Guide, the Promotion and Bonus Abuse Guide and the Refund and Returns Fraud Guide.

7. API and data scenarios

IDAbuse caseReferenceCountermeasure (testable)Detection signal
API-01Authenticated user changes an object ID to read another customer's recordAPI1:2023Object-level authorisation check on every request; non-sequential identifiersOne caller reading many owners' objects
API-02User sets a field such as role or account balance in an update requestAPI3:2023Allow-list of writable properties per role; response schemas that omit internal fieldsRejected property writes per caller
API-03Ordinary user calls an administrative endpoint directlyAPI5:2023, CAPEC-58Function-level authorisation enforced server-side, deny by default403 responses on admin routes per caller
API-04Scraper harvests the full product or profile catalogueOAT-011Page size caps; per-key quotas; authenticated access for full recordsSequential pagination at machine speed
API-05Script triggers thousands of SMS or emails through a send featureAPI4:2023, OAT-017Per-account and per-destination send limits; provider spending capMessaging cost per hour
API-06Old API version without current checks remains reachableAPI9:2023API inventory with retirement dates; gateway blocks retired versionsTraffic to versions marked retired
API-07Feature fetches a URL supplied by the user and reaches internal servicesAPI7:2023Allow-list of destinations; block internal ranges and cloud metadata addressesOutbound requests to internal ranges

See the API Security Guide, the Rate Limiting and API Abuse Guide and the Business Logic Vulnerabilities Guide.

8. Handling decisions and sign-off

  1. Every abuse case selected for a feature reaches one of two decisions before release: To address (linked ticket, requirement or acceptance criterion) or Risk accepted.
  2. Risk accepted needs a written reason, the [risk owner]'s approval and an expiry date of no more than [12 months]. Cases rated Critical cannot be accepted by the product team alone. See the Security Exceptions and Risk Acceptance Guide.
  3. Business risk is rated with the [Organisation] risk matrix. CVSS describes technical severity, not business risk, and is recorded separately where it applies.
  4. Countermeasures marked as addressed are verified by the test named in the record before release, and the evidence is linked.

Implementation guidance

Rolling it out

  1. Start with one product team and one feature set that moves value, such as checkout or account recovery. Run a workshop using the method in the Security Requirements and Abuse Cases Guide, with this library open as the prompt list.
  2. Invite fraud and customer support analysts as well as testers. Many Business scenarios (PAY-06, ID-05) are known to them long before security sees them.
  3. Turn each To address case into an acceptance criterion on the user story or a requirement in the backlog, and into a test. The OWASP Web Security Testing Guide business logic section (4.10) has test ideas for workflow circumvention, function use limits and process timing (tests 4.10.4 to 4.10.6).
  4. Feed the detection signals to the team that owns production monitoring, so each accepted or partially addressed case has a way to be seen.
  5. After [one quarter], add scenarios found in incidents, penetration tests and fraud cases, and remove entries no team has used.

Choosing what to include

Feature in scopeStart with
Sign-up, login, recoverySection 4
Public API, partner API, webhooksSections 5 and 7
Checkout, refunds, promotions, loyaltySection 6, plus ID-01 and ID-06
AI assistant or agent with toolsNHI-02, NHI-05, API-01, API-03
Internal admin toolingID-08, API-03, NHI-04

Measuring it

  • Coverage: share of releases touching identity, payment or API features with a recorded abuse case review.
  • Closure: share of To address cases with a passing test linked at release.
  • Escapes: production incidents or penetration test findings that match a library entry marked addressed (a sign the countermeasure or test is weak).
  • Library growth: new entries added from internal incidents per quarter.
  • Expired acceptances: Risk accepted cases past their expiry without review.

Framework mapping

Template partMapping
Scenarios and attack referencesNIST SP 800-53 RA-3; CAPEC 2.1; OWASP API Security Top 10 2023; OWASP OAT
Countermeasures as requirementsNIST SP 800-53 SA-8; OWASP ASVS 5.0
TestsNIST SP 800-53 SA-11; OWASP WSTG 4.10
Lifecycle integrationNIST CSF 2.0 PR.PS-06

Standards and references

Related NHI Mgmt Group resources: Threat Model Template, Application Security Requirements from ASVS, Secure Software Development Lifecycle (SSDLC) Guide, Bot Management Guide.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Researched and written by the NHI Mgmt Group editorial team using AI tools, under the editorial direction of Lalit Choda. Facts are drawn from the sources listed on this page and checked by our automated quality process. Last updated 11 November 2026. Spotted an error? Use our contact page.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM and Agentic AI security. nhimg.org