owasp-depscan 6.0.0a3__py3-none-any.whl → 6.0.0b4__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- depscan/cli.py +36 -251
- depscan/cli_options.py +13 -0
- depscan/lib/bom.py +5 -1
- depscan/lib/explainer.py +43 -19
- depscan/lib/utils.py +3 -38
- {owasp_depscan-6.0.0a3.dist-info → owasp_depscan-6.0.0b4.dist-info}/METADATA +14 -17
- {owasp_depscan-6.0.0a3.dist-info → owasp_depscan-6.0.0b4.dist-info}/RECORD +14 -14
- {owasp_depscan-6.0.0a3.dist-info → owasp_depscan-6.0.0b4.dist-info}/WHEEL +1 -1
- {owasp_depscan-6.0.0a3.dist-info → owasp_depscan-6.0.0b4.dist-info}/entry_points.txt +0 -1
- vendor/choosealicense.com/_licenses/blueoak-1.0.0.txt +1 -1
- vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -1
- vendor/spdx/json/licenses.json +985 -701
- {owasp_depscan-6.0.0a3.dist-info → owasp_depscan-6.0.0b4.dist-info}/licenses/LICENSE +0 -0
- {owasp_depscan-6.0.0a3.dist-info → owasp_depscan-6.0.0b4.dist-info}/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: owasp-depscan
|
|
3
|
-
Version: 6.0.
|
|
3
|
+
Version: 6.0.0b4
|
|
4
4
|
Summary: Fully open-source security audit for project dependencies based on known vulnerabilities and advisories.
|
|
5
5
|
Author-email: Team AppThreat <cloud@appthreat.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -20,7 +20,7 @@ Classifier: Topic :: Utilities
|
|
|
20
20
|
Requires-Python: >=3.10
|
|
21
21
|
Description-Content-Type: text/markdown
|
|
22
22
|
License-File: LICENSE
|
|
23
|
-
Requires-Dist: appthreat-vulnerability-db[oras]
|
|
23
|
+
Requires-Dist: appthreat-vulnerability-db[oras]>=6.4.4
|
|
24
24
|
Requires-Dist: custom-json-diff>=2.1.6
|
|
25
25
|
Requires-Dist: defusedxml>=0.7.1
|
|
26
26
|
Requires-Dist: PyYAML>=6.0.2
|
|
@@ -31,25 +31,24 @@ Requires-Dist: cvss>=3.4
|
|
|
31
31
|
Requires-Dist: tomli>=2.2.1; python_full_version <= "3.11"
|
|
32
32
|
Requires-Dist: ds-xbom-lib
|
|
33
33
|
Requires-Dist: ds-analysis-lib
|
|
34
|
+
Requires-Dist: ds-reporting-lib
|
|
34
35
|
Provides-Extra: dev
|
|
35
|
-
Requires-Dist: black>=25.1.0; extra == "dev"
|
|
36
36
|
Requires-Dist: flake8>=7.1.2; extra == "dev"
|
|
37
37
|
Requires-Dist: pytest>=8.3.4; extra == "dev"
|
|
38
|
+
Requires-Dist: pytest-asyncio>=1.2.0; extra == "dev"
|
|
38
39
|
Requires-Dist: pytest-cov>=6.0.0; extra == "dev"
|
|
39
40
|
Requires-Dist: httpretty>=1.1.4; extra == "dev"
|
|
40
41
|
Provides-Extra: server
|
|
41
|
-
Requires-Dist:
|
|
42
|
+
Requires-Dist: ds-server-lib; extra == "server"
|
|
42
43
|
Provides-Extra: ext
|
|
43
44
|
Requires-Dist: atom-tools>=0.7.8; extra == "ext"
|
|
44
|
-
Requires-Dist: blint>=
|
|
45
|
-
Requires-Dist: pdfkit>=1.0.0; extra == "ext"
|
|
45
|
+
Requires-Dist: blint>=3.0.5; extra == "ext"
|
|
46
46
|
Provides-Extra: perf
|
|
47
47
|
Requires-Dist: hishel[redis]>=0.1.1; extra == "perf"
|
|
48
48
|
Provides-Extra: all
|
|
49
49
|
Requires-Dist: atom-tools>=0.7.8; extra == "all"
|
|
50
|
-
Requires-Dist: blint>=
|
|
51
|
-
Requires-Dist:
|
|
52
|
-
Requires-Dist: pdfkit>=1.0.0; extra == "all"
|
|
50
|
+
Requires-Dist: blint>=3.0.5; extra == "all"
|
|
51
|
+
Requires-Dist: ds-server-lib; extra == "all"
|
|
53
52
|
Requires-Dist: PyGithub>=2.6.1; extra == "all"
|
|
54
53
|
Requires-Dist: hishel[redis]>=0.1.1; extra == "all"
|
|
55
54
|
Dynamic: license-file
|
|
@@ -58,7 +57,7 @@ Dynamic: license-file
|
|
|
58
57
|
|
|
59
58
|
OWASP dep-scan is a next-generation security and risk audit tool based on known vulnerabilities, advisories, and license limitations for project dependencies. Both local repositories and container images are supported as the input, and the tool is ideal for integration with ASPM/VM platforms and in CI environments.
|
|
60
59
|
|
|
61
|
-
|
|
60
|
+
<img src="depscan-logo.png" width="200" height="auto" />
|
|
62
61
|
|
|
63
62
|
[](https://github.com/owasp-dep-scan/dep-scan/actions/workflows/pythonpublish.yml)
|
|
64
63
|
|
|
@@ -234,6 +233,11 @@ options:
|
|
|
234
233
|
depscan server host
|
|
235
234
|
--server-port SERVER_PORT
|
|
236
235
|
depscan server port
|
|
236
|
+
--server-allowed-hosts [SERVER_ALLOWED_HOSTS ...]
|
|
237
|
+
List of allowed hostnames or IPs that can access the server (e.g., 'localhost 192.168.1.10'). If unspecified, no host allowlist is
|
|
238
|
+
enforced.
|
|
239
|
+
--server-allowed-paths [SERVER_ALLOWED_PATHS ...]
|
|
240
|
+
List of allowed filesystem paths that can be scanned by the server. Restricts `path` parameter in /scan requests.
|
|
237
241
|
--cdxgen-server CDXGEN_SERVER
|
|
238
242
|
cdxgen server url. Eg: http://cdxgen:9090
|
|
239
243
|
--debug Run depscan in debug mode.
|
|
@@ -316,13 +320,6 @@ docker compose up
|
|
|
316
320
|
depscan --server --server-host 0.0.0.0 --server-port 7070
|
|
317
321
|
```
|
|
318
322
|
|
|
319
|
-
In server mode, use the `/download-vdb` endpoint to cache the vulnerability database.
|
|
320
|
-
|
|
321
|
-
```bash
|
|
322
|
-
# This would take over 2 minutes
|
|
323
|
-
curl http://0.0.0.0:7070/download-vdb
|
|
324
|
-
```
|
|
325
|
-
|
|
326
323
|
Use the `/scan` endpoint to perform scans.
|
|
327
324
|
|
|
328
325
|
> [!NOTE]
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
depscan/__init__.py,sha256=u_HyD63vlgVi48bUU6bI8O1fdXJOLPaNwCrMJdCnzJE,165
|
|
2
|
-
depscan/cli.py,sha256=
|
|
3
|
-
depscan/cli_options.py,sha256=
|
|
2
|
+
depscan/cli.py,sha256=8_ekeym-3klttdXwTLqbiHiDV6vNtKQq8ww1MQMMFtE,32883
|
|
3
|
+
depscan/cli_options.py,sha256=gTlfwv9q66B25d5XTUPkIbh_bynQCXnR447hwMXDdr4,9968
|
|
4
4
|
depscan/lib/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
depscan/lib/audit.py,sha256=i6sE-vN0Fk5gc-npHIhrrior4772_tTlPVAlznyuogo,1582
|
|
6
|
-
depscan/lib/bom.py,sha256=
|
|
6
|
+
depscan/lib/bom.py,sha256=bByZcT8EFfO-GBOcSlsu43hZHw2-nnEOjC85cjIr1T8,20960
|
|
7
7
|
depscan/lib/config.py,sha256=v3Rv4nyPMjvk-EbpWSSYcloQa4v2N0bTzXKWF5nDJvg,9572
|
|
8
|
-
depscan/lib/explainer.py,sha256=
|
|
8
|
+
depscan/lib/explainer.py,sha256=7rNqEYfc6Ge2DNr2PQIwaZTY5yj0Q-SqmSYQHyhj0fs,22279
|
|
9
9
|
depscan/lib/github.py,sha256=h6e_12xLwspXJbt_7lW6vuHaqgJQgyFSRCLrfUndCH4,1697
|
|
10
10
|
depscan/lib/license.py,sha256=ChwqAXPrMcDQJqSgDag7Th8VwoRCq8oMvwPt64iL4gw,2404
|
|
11
11
|
depscan/lib/logger.py,sha256=gU5epbOHlhvuFhMqRTgn71AJ4KPB5Gf2iAmgTx3qI-4,2837
|
|
12
12
|
depscan/lib/tomlparse.py,sha256=q_JATqfqzv6_06wcSx0tRpcKY-x16NcNXxMnL5T1Mcw,5035
|
|
13
|
-
depscan/lib/utils.py,sha256=
|
|
13
|
+
depscan/lib/utils.py,sha256=6KSQxBHKTkVRBLfe0u8-FChQapwqu2KOk_Xeu0u1-hY,8443
|
|
14
14
|
depscan/lib/package_query/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
depscan/lib/package_query/cargo_pkg.py,sha256=mlvTJP2LIBpGWEAX2aOmQImkTzn0Ih9zup6Lp7nI-dU,5108
|
|
16
16
|
depscan/lib/package_query/metadata.py,sha256=Nnh6ctLIXPRTMoHOjZC7uhmFM3ogGljg22dHkZZE62M,6617
|
|
17
17
|
depscan/lib/package_query/npm_pkg.py,sha256=eXdTeq1ffxLN3fWfMh3QcGG1u0VYLGR4-0BmVoD5BPk,15443
|
|
18
18
|
depscan/lib/package_query/pkg_query.py,sha256=ODnRegpD3gv5FIKy0ogXMEITcdfVVV-eoIaWf7UhrQU,7038
|
|
19
19
|
depscan/lib/package_query/pypi_pkg.py,sha256=scn6UhMWqA0ajS-u5UVMGV7Vx-6PEY75lN6uET9yU5c,4808
|
|
20
|
-
owasp_depscan-6.0.
|
|
20
|
+
owasp_depscan-6.0.0b4.dist-info/licenses/LICENSE,sha256=oQnCbnZtJ_NLDdOLc-rVY1D1N0RNWLHPpYXcc77xzSo,1073
|
|
21
21
|
vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
22
22
|
vendor/choosealicense.com/_data/fields.yml,sha256=ydNsITXFUuADzGPM-jcUcJnN0r_qSGgH51oV27nX3Qs,819
|
|
23
23
|
vendor/choosealicense.com/_data/meta.yml,sha256=rSNmnx0LE6VA9wnR29Y_P9s-TnADQqbdw2enE4i1mWM,1792
|
|
@@ -27,7 +27,7 @@ vendor/choosealicense.com/_licenses/afl-3.0.txt,sha256=geEcMDR01aeoPeGCdJ_JjZ4Mf
|
|
|
27
27
|
vendor/choosealicense.com/_licenses/agpl-3.0.txt,sha256=Kh_aeCNLcVAuLPgDUCG1WS9eun6BByKKyk2Vu6ZF45c,35944
|
|
28
28
|
vendor/choosealicense.com/_licenses/apache-2.0.txt,sha256=YJ4stZn4SqpB2O8p2P2wTRZPqyLo2Skso0pZnQ9Wozg,12624
|
|
29
29
|
vendor/choosealicense.com/_licenses/artistic-2.0.txt,sha256=Yv9JWPxIuOcT9VDW97f9iaOq9UuSWN9XPlM4k6iBiSE,9649
|
|
30
|
-
vendor/choosealicense.com/_licenses/blueoak-1.0.0.txt,sha256=
|
|
30
|
+
vendor/choosealicense.com/_licenses/blueoak-1.0.0.txt,sha256=3vGJfYTAVu_6smy6FlLBh2XTzYBDduBchLU8CgRj7Yw,2425
|
|
31
31
|
vendor/choosealicense.com/_licenses/bsd-2-clause-patent.txt,sha256=Nun0tMNvQE8EQ9OYuu4__J_oCv9PRefJH7TjCWWBZnk,3497
|
|
32
32
|
vendor/choosealicense.com/_licenses/bsd-2-clause.txt,sha256=2CN9FlwXZBaoq5OL9-Eg2PNFCYFj_OyQF8VlL0Z_7K8,2260
|
|
33
33
|
vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt,sha256=dCbal-fEXLo_-tWO4A3qAhDdvw3RFM1mU2UGuGaA4ug,2348
|
|
@@ -62,16 +62,16 @@ vendor/choosealicense.com/_licenses/mulanpsl-2.0.txt,sha256=-URwwR8aEk_uTxhRMkHz
|
|
|
62
62
|
vendor/choosealicense.com/_licenses/ncsa.txt,sha256=TjJzqwphQaGAsPgU6vQmp_3zClN7X_kVxZ7ConaAIkI,2939
|
|
63
63
|
vendor/choosealicense.com/_licenses/odbl-1.0.txt,sha256=2zFarxYKYFBr5ztVazm1wDzrAE8JLs2ZM57qcWfDkzI,26179
|
|
64
64
|
vendor/choosealicense.com/_licenses/ofl-1.1.txt,sha256=rfABl7lxjv8qg1PN1kvFYFWF2xxTNugbGRd97vnFWMo,5824
|
|
65
|
-
vendor/choosealicense.com/_licenses/osl-3.0.txt,sha256=
|
|
65
|
+
vendor/choosealicense.com/_licenses/osl-3.0.txt,sha256=h9uUNnrydW8Szex8PzQ0dnbd2e4gTUe735gsfwIKwqM,11856
|
|
66
66
|
vendor/choosealicense.com/_licenses/postgresql.txt,sha256=LTaJOLi4f7dA3DRsx2t4F267JuOSvHzJz5SJ7Pdpn5U,1709
|
|
67
67
|
vendor/choosealicense.com/_licenses/unlicense.txt,sha256=3cLgcN8LslzpUbCVTZwbXSKxfxUNWOrGa9plPQRLte0,2001
|
|
68
68
|
vendor/choosealicense.com/_licenses/upl-1.0.txt,sha256=yJ3mfZkFmzSHesz6uOF9S0fX6hkCVMhr7rmgUdGL2vc,3253
|
|
69
69
|
vendor/choosealicense.com/_licenses/vim.txt,sha256=d5GQjXB328L8EBkhKgxcjk344D3K7UfcJmP1barrhHI,6119
|
|
70
70
|
vendor/choosealicense.com/_licenses/wtfpl.txt,sha256=BxXeubkvQm32MDmlZsBcbzJzBpR5kWgw0JxSR9d7f3k,948
|
|
71
71
|
vendor/choosealicense.com/_licenses/zlib.txt,sha256=e6dfCeLhxD3NCnIkY4cVIagRaWdRvencjNhHZ1APvpc,1678
|
|
72
|
-
vendor/spdx/json/licenses.json,sha256=
|
|
73
|
-
owasp_depscan-6.0.
|
|
74
|
-
owasp_depscan-6.0.
|
|
75
|
-
owasp_depscan-6.0.
|
|
76
|
-
owasp_depscan-6.0.
|
|
77
|
-
owasp_depscan-6.0.
|
|
72
|
+
vendor/spdx/json/licenses.json,sha256=oX5m9JJrCfwIWQt-Sxc--jPpBEKLcNKEyNA0S8VZO9U,325278
|
|
73
|
+
owasp_depscan-6.0.0b4.dist-info/METADATA,sha256=_Q442bFhNyp9BuB2Cmi8lnhA7HWaFX9CBpb6h7SbJ_c,17638
|
|
74
|
+
owasp_depscan-6.0.0b4.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
75
|
+
owasp_depscan-6.0.0b4.dist-info/entry_points.txt,sha256=QvBVhjzm1Vx1CQkACbQWeNykZInIXUFUi6scoOYA7XY,45
|
|
76
|
+
owasp_depscan-6.0.0b4.dist-info/top_level.txt,sha256=qbHOZvNU2dXANv946hMdP2vOi0ESQB5t2ZY5ktKtXvQ,15
|
|
77
|
+
owasp_depscan-6.0.0b4.dist-info/RECORD,,
|
|
@@ -8,8 +8,8 @@ how: Create a text file (typically named LICENSE.md) in the root of your source
|
|
|
8
8
|
|
|
9
9
|
using:
|
|
10
10
|
drone-gc: https://github.com/drone/drone-gc/blob/master/LICENSE.md
|
|
11
|
+
Lil Scan: https://github.com/judofyr/lil-scan/blob/main/LICENSE.md
|
|
11
12
|
oh-my-git: https://github.com/git-learning-game/oh-my-git/blob/main/LICENSE.md
|
|
12
|
-
punct: https://github.com/otherjoel/punct/blob/main/LICENSE.md
|
|
13
13
|
|
|
14
14
|
permissions:
|
|
15
15
|
- commercial-use
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
title: Open Software License 3.0
|
|
3
3
|
spdx-id: OSL-3.0
|
|
4
4
|
|
|
5
|
-
description:
|
|
5
|
+
description: Permissions of this copyleft license are conditioned on distributing source code of licensed works and modifications under the same license. Copyright and license notices must be preserved. Contributors provide an express grant of patent rights. Using the work or modifications to provide services to external users is treated as distribution and also requires making source code available. Works that merely link to a licensed work are considered collective works and are not subject to the license's reciprocity requirements.
|
|
6
6
|
|
|
7
7
|
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Files licensed under OSL 3.0 must also include the notice "Licensed under the Open Software License version 3.0" adjacent to the copyright notice.
|
|
8
8
|
|