OWASP Top 10 API Security Risks – 2023: API9:2023 – Improper Inventory Management
Improper inventory management refers to the failure to adequately track and manage the lifecycle of APIs within an organisation. This includes:
– Keeping track of all deployed API versions.
– Documenting endpoints, their functions, and access control requirements.
– Managing deprecated or unused versions.
– Ensuring that sensitive or debug information is not exposed via endpoints.
– Auditing and monitoring API usage regularly.
When APIs are not properly inventoried, organisations may unknowingly expose insecure or deprecated API versions to the public. This can lead to serious security issues, as older versions may lack critical patches or expose debugging functionality that provides attackers with valuable information.