diff --git a/exposures/configs/babel-config-exposure.yaml b/exposures/configs/babel-config-exposure.yaml new file mode 100644 index 0000000000..280be1d5ff --- /dev/null +++ b/exposures/configs/babel-config-exposure.yaml @@ -0,0 +1,30 @@ +id: babel-config-exposure + +info: + name: Babel Configuration Exposure + author: DhiyaneshDK + severity: info + reference: + - https://babeljs.io/docs/en/configuration + metadata: + verified: true + shodan-query: html:"babel.config.js" + tags: exposure,config,file + +requests: + - method: GET + path: + - '{{BaseURL}}/babel.config.js' + + matchers-condition: and + matchers: + - type: word + part: body + words: + - 'module.exports = {' + - 'presets: [' + condition: and + + - type: status + status: + - 200