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

feat: add a timestamp validation check #850

Open
wants to merge 11 commits into
base: staging
Choose a base branch
from

Conversation

AnshulDadhwal
Copy link

The timestamp check is the Macaron specific implementation of the timestamp heuristic that was developed as part of my research thesis. The check compares the published time of the Maven package recorded on the Maven Central registry to the time identified by Macaron's Commit Finder.
Once the difference in the time is identified, it persists all the packages with a time difference greater than 24 hours onto the database as potential malicious packages. This is following the findings from the extensive benchmark analysis done as part of the research thesis.

The timestamp check is the Macaron specific implementation of the
timestamp heuristic that was developed as part of my research thesis.
The check compares the published time of the Maven package recorded on
the Maven Central registry to the time identified by Macaron's Commit
Finder.
Once the difference in the time is identified, it persists all the
packages with a time difference greater than 24 hours onto the database
as potential malicious packages. This is following the findings from the
extensive benchmark analysis done as part of the research thesis.

Signed-off-by: Anshul Dadhwal <[email protected]>
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Sep 3, 2024
@behnazh-w behnazh-w changed the title fix: implemented timestamp check feat: add a timestamp validation check Sep 3, 2024
@benmss benmss self-requested a review September 3, 2024 02:47
tromai and others added 10 commits September 16, 2024 16:33
)

Pylint version 3.3.0 has added a new check too-many-positional-arguments, which is causing our linter checks to fail. This PR disables this check similar to other opinionated too-many-* checks.

Signed-off-by: behnazh-w <[email protected]>
…nd make dependency resolution off by default (oracle#840)

Signed-off-by: Trong Nhan Mai <[email protected]>
The timestamp check is the Macaron specific implementation of the
timestamp heuristic that was developed as part of my research thesis.
The check compares the published time of the Maven package recorded on
the Maven Central registry to the time identified by Macaron's Commit
Finder.
Once the difference in the time is identified, it persists all the
packages with a time difference greater than 24 hours onto the database
as potential malicious packages. This is following the findings from the
extensive benchmark analysis done as part of the research thesis.

Signed-off-by: Anshul Dadhwal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCA Verified All contributors have signed the Oracle Contributor Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants