Skip to content

Information Disclosure: Exposed Source Map

Identifier: exposed_sourcemap

Scanner(s) Support

GraphQL Scanner REST Scanner WebApp Scanner ASM Scanner

Description

Exposed source maps can reveal the inner workings of applications, often exposing hidden logic and vulnerabilities that attackers can exploit.

How we test: We analyze frontend JavaScript bundles and responses to detect if source map files (.map) are accessible. We check if source maps are referenced in JavaScript files and if they can be accessed without proper authorization, potentially revealing application structure and sensitive information.

References:

Configuration

Example

Example configuration:

---
security_tests:
  exposed_sourcemap:
    skip: false

Reference

skip

Type : boolean

Skip the test if true.