Index: openacs-4/packages/acs-tcl/acs-tcl.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/acs-tcl.info,v diff -u -r1.95.2.72 -r1.95.2.73 --- openacs-4/packages/acs-tcl/acs-tcl.info 11 Aug 2024 06:22:07 -0000 1.95.2.72 +++ openacs-4/packages/acs-tcl/acs-tcl.info 12 Aug 2024 13:03:24 -0000 1.95.2.73 @@ -9,7 +9,7 @@ f t - + OpenACS The Kernel Tcl API library. 2023-05-15 @@ -18,7 +18,7 @@ GPL version 2 3 - + Index: openacs-4/packages/acs-tcl/lib/check-installed.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/lib/check-installed.adp,v diff -u -r1.1.2.11 -r1.1.2.12 --- openacs-4/packages/acs-tcl/lib/check-installed.adp 7 Aug 2024 09:34:47 -0000 1.1.2.11 +++ openacs-4/packages/acs-tcl/lib/check-installed.adp 12 Aug 2024 13:03:25 -0000 1.1.2.12 @@ -35,7 +35,8 @@ and - for all released versions of @resource_name@. + for all released versions of @resource_name@ + (See also: Snyk Advisor). Index: openacs-4/packages/acs-tcl/lib/check-installed.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/lib/check-installed.tcl,v diff -u -r1.3.2.16 -r1.3.2.17 --- openacs-4/packages/acs-tcl/lib/check-installed.tcl 11 Aug 2024 06:22:07 -0000 1.3.2.16 +++ openacs-4/packages/acs-tcl/lib/check-installed.tcl 12 Aug 2024 13:03:25 -0000 1.3.2.17 @@ -119,6 +119,7 @@ if {[dict get $result hasVulnerability] ne "?"} { set vulnerabilityCheckURL [dict get $result libraryURL] set vulnerabilityCheckVersionURL [dict get $result versionURL] + set vulnerabilityAdvisorURL [dict get $result advisorURL] set vulnerabilityCheckResult [dict get $result hasVulnerability] } } Index: openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl,v diff -u -r1.189.2.193 -r1.189.2.194 --- openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 11 Aug 2024 06:22:07 -0000 1.189.2.193 +++ openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl 12 Aug 2024 13:03:25 -0000 1.189.2.194 @@ -4467,6 +4467,7 @@ snyk { set vulnerabilityCheckURL https://security.snyk.io/package/npm/$library set vulnerabilityCheckVersionURL https://security.snyk.io/package/npm/$library/$version + set vulnerabilityAdvisorURL https://snyk.io/advisor/npm-package/$library set page [::util::resources::http_get_with_default \ -url $vulnerabilityCheckVersionURL \ -key snyk-$library/$version] @@ -4483,7 +4484,10 @@ } } ns_log notice "=== check_vulnerability for $library @$version -> $hasVulnerability" - return [list hasVulnerability $hasVulnerability libraryURL $vulnerabilityCheckURL versionURL $vulnerabilityCheckVersionURL] + return [list hasVulnerability $hasVulnerability \ + libraryURL $vulnerabilityCheckURL \ + versionURL $vulnerabilityCheckVersionURL \ + advisorURL $vulnerabilityAdvisorURL] } }