-
Notifications
You must be signed in to change notification settings - Fork 28
chore: add CLOSER_RELEASE_JOIN_DATE heuristic as a dependency of SUSPICIOUS_SETUP #810
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
Conversation
…ICIOUS_SETUP Signed-off-by: behnazh-w <[email protected]>
For this Heuristic - macaron/src/macaron/slsa_analyzer/checks/detect_malicious_metadata_check.py Lines 116 to 126 in 5c2dbec
If |
That's not how the heuristics work and this scenario should not be possible. If heuristic |
Ah I see. Thanks for the clarification, I looked at the PR description
And I thought that we are planning to make |
…ICIOUS_SETUP (#810) This PR adds the CLOSER_RELEASE_JOIN_DATE heuristic as a dependency of SUSPICIOUS_SETUP to avoid running SUSPICIOUS_SETUP analyzer unnecessarily and improve performance. Signed-off-by: behnazh-w <[email protected]>
Right now the
CLOSER_RELEASE_JOIN_DATE
heuristic in themcn_detect_malicious_metadata_1
check does not depend on any other heuristic results. However, all the heuristic combinations require theCLOSER_RELEASE_JOIN_DATE
heuristic to fail. This PR adds theCLOSER_RELEASE_JOIN_DATE
heuristic as a dependency ofSUSPICIOUS_SETUP
to avoid runningSUSPICIOUS_SETUP
analyzer unnecessarily and improve performance.