github / github/codeql

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

Open
#20,905 1 comment 0 reactions 0 assignees View on GitHub
question
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

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)
```yaml
management:
endpoints:
web:
exposure:
include: "*"
```

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the CodeQL Java library's current support for configuration-file parsing and the Spring Boot 3 application.yml example in the issue. Define what YAML support should cover and how the exposed actuator endpoint example should be represented or detected; done means the agreed YAML configuration cases are supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.