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

Clarify bounty targets in insights #220

Merged
merged 2 commits into from
Jan 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions depscan/lib/analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,9 +539,9 @@ def prepare_vdr(options: PrepareVdrOptions):
if clinks.get("poc") or clinks.get("Bug Bounty"):
if reached_purls.get(purl):
insights.append(
"[bright_red]:exclamation_mark: Reachable and Exploitable[/bright_red]"
"[yellow]:notebook_with_decorative_cover: Reachable Bounty target[/yellow]"
)
plain_insights.append("Reachable and Exploitable")
plain_insights.append("Reachable Bounty target")
has_reachable_poc_count += 1
has_reachable_exploit_count += 1
pkg_requires_attn = True
Expand All @@ -560,8 +560,10 @@ def prepare_vdr(options: PrepareVdrOptions):
pkg_requires_attn = True
if clinks.get("vendor") and package_type not in config.OS_PKG_TYPES:
if reached_purls.get(purl):
insights.append(":receipt: Reachable")
plain_insights.append("Reachable")
# If it has a poc, an insight might have gotten added above
if not pkg_requires_attn:
insights.append(":receipt: Reachable")
plain_insights.append("Reachable")
else:
insights.append(":receipt: Vendor Confirmed")
plain_insights.append("Vendor Confirmed")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "owasp-depscan"
version = "5.2.1"
version = "6.0.0"
description = "Fully open-source security audit for project dependencies based on known vulnerabilities and advisories."
authors = [
{name = "Team AppThreat", email = "cloud@appthreat.com"},
Expand Down
Loading