You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uuid-apikey package was used in approximately 2020 to generate CVE Services API keys as users were created, but is no longer used for that. The uuid-apikey package is also used by src/scripts/hashPasswords.js - which might be used by people setting up new instances of the cve-services Open Source project, but there is no inherent reason why their needs for API keys could not be met by code similar to:
Because of https://cwe.mitre.org/data/definitions/1104.html concerns, it would be best if a potentially unmaintained package, which may be a personal project of a single developer, is not routinely used as part of the CVE Services production service.
The text was updated successfully, but these errors were encountered:
https://snyk.io/advisor/npm-package/uuid-apikey says "We found indications that uuid-apikey is an Inactive project." Also, apparently CVE Services normally only uses it for:
cve-services/src/controller/org.controller/org.controller.js
Line 69 in a05a3d4
and apparently uuid.validate could be used instead because https://www.npmjs.com/package/uuid is already being used, and also https://www.npmjs.com/package/validator is already being used and has its own isUUID function.
The uuid-apikey package was used in approximately 2020 to generate CVE Services API keys as users were created, but is no longer used for that. The uuid-apikey package is also used by src/scripts/hashPasswords.js - which might be used by people setting up new instances of the cve-services Open Source project, but there is no inherent reason why their needs for API keys could not be met by code similar to:
cve-services/src/controller/org.controller/org.controller.js
Lines 474 to 475 in a05a3d4
Because of https://cwe.mitre.org/data/definitions/1104.html concerns, it would be best if a potentially unmaintained package, which may be a personal project of a single developer, is not routinely used as part of the CVE Services production service.
The text was updated successfully, but these errors were encountered: