Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scan build environment (plugins) #283

Closed
ben-manes opened this issue Oct 20, 2022 · 1 comment · Fixed by #301
Closed

Scan build environment (plugins) #283

ben-manes opened this issue Oct 20, 2022 · 1 comment · Fixed by #301

Comments

@ben-manes
Copy link

It appears as though only project configurations are scanned, but not the buldscript's (project.buildscript.configurations). This is perhaps less important but seems useful to add to avoid tampering with a build. Dependabot has raised a few security issues within this plugin's transitives (Jackson, SnakeYaml, Commons Text, Jsoup), which it caught due to also using gradle-dependency-submission to allow a scan of the dependency graph. When these are flagged I then add constraints to require minimum versions in the build.

@jeremylong
Copy link
Collaborator

Really glad people are starting to think about build plugins. This is a huge attack surface I've been talking about for a while. I just implemented this for the ODC maven plugin (will be included in the 8.0.0 release): jeremylong/DependencyCheck#5001

Working on the gradle plugin now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants