codeql icon indicating copy to clipboard operation
codeql copied to clipboard

Can CodeQL add support for YAML configuration files parse on java lib?

Open J0o1ey opened this issue 1 month ago • 1 comments

During the process of auditing a Java project using CodeQL

I discovered that Spring Boot 3 uses YAML as its configuration file format.

However, it seems that the CodeQL Java library does not currently support parsing YAML files.

Can CodeQL add support for YAML configuration files parse on java lib?

application.yml with vuln just like this(actuator endpoint * was exposed)

management:
  endpoints:
    web:
      exposure:
        include: "*"

J0o1ey avatar Nov 25 '25 08:11 J0o1ey

👋 @J0o1ey

Your suggestion makes a lot of sense, and it has already been raised internally as well. Technically this shouldn't be too hard, as we already do support parsing YAML in other languages. However, at this time we can't commit to a specific roadmap for this. But stay tuned, we will relate back to this issue when we start working on this!

redsun82 avatar Nov 25 '25 08:11 redsun82