# Maven settings.xml Credential Exposure Detection Module id: maven-settings-exposure info: name: Maven settings.xml Credential Exposure author: sif severity: high description: Detects an exposed maven settings.xml that leaks server credentials in cleartext tags: [maven, settings, credentials, secrets, recon, exposure] type: http http: method: GET paths: - "{{BaseURL}}/.m2/settings.xml" - "{{BaseURL}}/settings.xml" matchers: - type: status status: - 200 - type: word part: body condition: or words: - "" - type: word part: body words: - "" - type: word part: body negative: true condition: or words: - "([^<]+)' group: 1