Skip to main content

AMQP Credentials

Description#

General#

  • Summary: AMQP is a protocol for queuing messages. GitGuardian detectors can catch AMQP credentials in URI connection strings or assignments.
  • IPs allowlist: It can be defined on the server and selected on a user basis.
  • Scopes: Credentials are user-based and a user may have limited rights.

Revoke the secret#

Secrets can be revoked directly from the server.

Check for suspicious activity#

All activity on the server can be checked from the server logs.

Details for Amqp uri#

  • Category: Data storage

  • High recall: True

  • Validity check available: True

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 8

  • Occurrences found for one million commits: 11.27

  • Prefixed: True

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^(cs|x|p|s|r)?html5?~?$  - ^[aps]?cssc?~?$  - ^lock$  - ^mdx?~?$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - amqp

Examples#

- text: >    CONNECTION_URI="amqp://root:m42ploz2wd@google.com:5434/thegift"  host: google.com  port: "5434"  username: root  password: m42ploz2wd  scheme: amqp  database: thegift  connection_uri: amqp://root:m42ploz2wd@google.com:5434/thegift
- text: >    CONNECTION_URI="amqps://root:m42ploz2wd@google.com:5434/thegift"  host: google.com  port: "5434"  username: root  password: m42ploz2wd  scheme: amqps  database: thegift  connection_uri: amqps://root:m42ploz2wd@google.com:5434/thegift
- text: >    amqp.connect('amqp://root:m42ploz2wd@google.com', (err, connection) => {  host: google.com  username: root  password: m42ploz2wd  scheme: amqp  connection_uri: amqp://root:m42ploz2wd@google.com
# Test special characters in password- text: >    amqp.connect('amqp://root:m42p!o@z2wd@google.com', (err, connection) => {  host: google.com  username: root  password: m42p!o@z2wd  scheme: amqp  connection_uri: amqp://root:m42p!o@z2wd@google.com

Details for Amqp assignment#

  • Category: Data storage

  • High recall: False

  • Validity check available: True

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 4

  • Occurrences found for one million commits: 13.72

  • Prefixed: False

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^(cs|x|p|s|r)?html5?~?$  - ^[aps]?cssc?~?$  - ^lock$  - ^mdx?~?$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - rabbit  - amqp  - broker

Examples#

- text: |    spring.rabbitmq.host=google.com    spring.rabbitmq.port=5672    spring.rabbitmq.username=admin    spring.rabbitmq.password=fkeozfj1234voigj  host: google.com  port: "5672"  username: admin  password: fkeozfj1234voigj

Details for Amqp assignment attached port#

  • Category: Data storage

  • High recall: False

  • Validity check available: True

  • Only valid secrets raise an alert: False

  • Minimum number of matches: 4

  • Occurrences found for one million commits: 0.32

  • Prefixed: False

  • PreValidators:

- type: FilenameBanlistPreValidator  banlist_extensions:  - ^(cs|x|p|s|r)?html5?~?$  - ^[aps]?cssc?~?$  - ^lock$  - ^mdx?~?$  - ^storyboard(c|er)?~?$  - ^xib$  banlist_filenames: []  check_binaries: false- type: ContentWhitelistPreValidator  patterns:  - rabbit  - amqp  - broker

Examples#

- text: |    spring.rabbitmq.addresses=br1.google.com:5672,br2.google.com:5672    spring.rabbitmq.username=admin    spring.rabbitmq.password=fkeozfj1234voigj  host: br1.google.com  port: "5672"  username: admin  password: fkeozfj1234voigj