Join our Newsletter — 33% off our NHI Course

Why did DJI’s API gap let one credential reach 6,700 vacuums?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: One valid credential reached more than 6,700 DJI robot vacuums across 24 countries, Okta reported, because the platform lacked an object-level boundary. APIs that only authenticate callers can still hand out live video, audio, and floor plans if entitlement is not checked per object.

Editorial analysis by NHI Mgmt Group, based on content published by Okta: “How AI Agents Inherit Your API Security Gap”.

By the numbers:

  • The article says one valid credential could reach over 6,700 DJI robot vacuums across 24 countries.

Key questions

Q: Why do AI agents make broken authorization more dangerous?

A: AI agents make broken authorization more dangerous because they can call APIs repeatedly and at machine speed using the same credential scope.

Q: How can security teams tell whether API access is properly scoped?

A: A simple test is whether a valid low-privilege credential can reach another customer’s object, another device, or an adjacent record outside its assigned scope.

Q: What breaks when an API only checks whether a caller is authenticated?

A: Resource-level boundaries break.

Practitioner guidance

  • Enforce object-level checks at the API layer Require every read and write request to pass a server-side authorisation decision tied to the specific resource ID, tenant, and action, not just the session or API key.
  • Scope AI agent credentials to task-bound objects Issue agent credentials that can only reach the records, devices, or workflows explicitly needed for the current task, and deny cross-object enumeration by default.
  • Test valid-credential overreach paths Use a low-privilege but legitimate credential to verify whether it can reach other customers’ objects, hidden endpoints, or adjacent records that should be out of scope.

Bottom line: A valid credential can still be unsafe if the API does not enforce object-level boundaries.

Glossary terms: Broken Object-Level Authorization, Resource-Level Authorisation, Delegated Credential, Scope reduction

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 2 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 20718
 

Broken object-level authorisation is a boundary failure, not an authentication failure. The credential in this case was valid, which means login succeeded exactly as designed. The failure was that the system treated authentication as permission to traverse objects, tenants, or devices without a second, resource-specific decision. That distinction matters because many identity programmes overinvest in proofing and underinvest in object-level enforcement.

A few things that frame the scale:

  • NHIs outnumber human identities by 25x to 50x in modern enterprises, according to the Ultimate Guide to NHIs.

A question worth separating out:

Q: Should organisations treat AI agent access to AWS differently from CI/CD access?

A: Yes. CI/CD access is usually job-bound and repeatable, while AI agent access can be more context-sensitive and less deterministic at runtime. Both should be ephemeral, but agent sessions need tighter scoping, explicit approval boundaries, and stronger attribution because the workflow can change while it is running.

👉 Read our full editorial: Broken object-level authorization in AI agent APIs



   
ReplyQuote
Share:

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.