id: insecure-provider-path

info:
  name: Android Insecure Provider Path - Detect
  author: gaurang
  severity: medium
  description: Android insecure provider path was detected.
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
    cvss-score: 5.3
    cwe-id: CWE-200
  tags: android,file

file:
  - extensions:
      - all
    matchers:
      - type: regex
        regex:
          - "root-path name=\"[0-9A-Za-z\\-_]{1,10}\" path=\".\""
          - "root-path name=\"[0-9A-Za-z\\-_]{1,10}\" path=\"\""
# digest: 490a0046304402203858f341ea554b0d4fc99b0e4e7336a9cecb33181dc4a28cb813f41a7ebd9c7702201a1219bef1b82e16e9053e4378711c63bdf192cca96727fca2cddc07f0ba4a20:922c64590222798bb761d5b6d8e72950