Skip to content

Conversation

egibs
Copy link
Member

@egibs egibs commented Jun 12, 2025

This PR adds a straightforward exception for the embedding of Symfony's favicon as base64 in the php_image_include rule.

@egibs egibs requested review from antitree and eslerm June 12, 2025 23:37
@egibs egibs enabled auto-merge (squash) June 12, 2025 23:39
Signed-off-by: egibs <[email protected]>
@egibs egibs merged commit 33cd8ef into chainguard-dev:main Jun 12, 2025
12 checks passed
condition:
filesize < 5242880 and all of them
filesize < 5242880 and all of them and none of ($not*)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've felt like I should ask this about other false positive mitigations we've been putting in place, but should the logic here be instead:

and not all of $(not*) as in, ignore if all the exception rules are matched rather than any one of them?

(I can open this as a separate issue if we'd like to discuss this as a general project principle.)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've been thinking about that. We can workshop this 🙂

@egibs egibs deleted the php-include-fpr branch June 25, 2025 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants