Skip to content
Draft
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
4 changes: 4 additions & 0 deletions scanner_tool/owasp_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@

# A06: Vulnerable and Outdated Components (Simulated Check)
# Key: package name, Value: First SAFE version (anything < this version is vulnerable)


##TODO: IMPLEMENT THE SAFE PACKAGES LIST FROM Google's safe package list through a GRPC CALL with API KEY
## SOURCE : https://cloud.google.com/assured-open-source-software/docs/supported-packages#python
VULNERABLE_PACKAGES = {
"requests": "2.29.0",
"jinja2": "3.1.2",
Expand Down
2 changes: 2 additions & 0 deletions tests/test_owasp_checker.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@

#TODO: Update tests to match the updates on owasp file once ready.
import unittest
import os
import tempfile
Expand Down