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

Feature/default risk audit #311

Merged
merged 8 commits into from
Jun 4, 2024
Merged

Conversation

prabhu
Copy link
Member

@prabhu prabhu commented Jun 4, 2024

Risk audit is automatically performed for purl based searches.

Support for malicious packages

malicious

Donation panel is now prominently shown in CI (example below). To remove the banner, make a donation to OWASP (or at least tweet about dep-scan) and invoke the cli with the argument --no-banner.

CI=true python depscan/cli.py --purl "pkg:pypi/requests@2.32.1"
╭─────────────────────────────── Donate to the OWASP Foundation ────────────────────────────────╮
│ OWASP foundation relies on donations to fund our projects.                                    │
│ Please donate at: https://owasp.org/donate/?reponame=www-project-dep-scan&title=OWASP+depscan │
╰───────────────────────────────────────────────────────────────────────────────────────────────╯

██████╗ ███████╗██████╗ ███████╗ ██████╗ █████╗ ███╗   ██╗
██╔══██╗██╔════╝██╔══██╗██╔════╝██╔════╝██╔══██╗████╗  ██║
██║  ██║█████╗  ██████╔╝███████╗██║     ███████║██╔██╗ ██║
██║  ██║██╔══╝  ██╔═══╝ ╚════██║██║     ██╔══██║██║╚██╗██║
██████╔╝███████╗██║     ███████║╚██████╗██║  ██║██║ ╚████║
╚═════╝ ╚══════╝╚═╝     ╚══════╝ ╚═════╝╚═╝  ╚═╝╚═╝  ╚═══╝

Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
@prabhu prabhu merged commit 75810e1 into release/5.x Jun 4, 2024
78 checks passed
@prabhu prabhu deleted the feature/default-risk-audit branch June 4, 2024 21:01

# Check for the maximum seconds difference between latest version and now
if latest_now_diff.total_seconds() > config.latest_now_max_seconds:
print(latest_now_diff.total_seconds(), config.latest_now_max_seconds)
Copy link
Member Author

Choose a reason for hiding this comment

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

This needs to be removed.

@prabhu prabhu mentioned this pull request Jun 11, 2024
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.

1 participant