Repository navigation
If you use the GitHub Action, update to this release. A crafted license in a model file could turn a CRITICAL finding into "No CRITICAL or HIGH risks found" in the Action's PR comment. Workflows on
@v1get the fix automatically. Workflows pinned to a tag or commit need to move tov1.8.1. The scanner and its output are the same as in 1.8.0.
Security
- A model file can no longer change its own result in the GitHub Action's PR comment. The comment read the risk level from text that also holds the file's license. A
|in that license could turn a CRITICAL finding into "No CRITICAL or HIGH risks found", in the comment and in the Action's telemetry. Withcomment-on-clean: false, it could also stop the comment being posted. The scan, the SBOM and the job's exit code were not affected, so a job with the defaultfail-on-risk: truestill failed. File names, licenses, threat details and the scanned directory are now also shown as literal text, so they can't add links, images, mentions or table rows to the comment. Values over 300 characters are cut short.