Skip to content

Commit 896a51b

Browse files
committed
Squashed 'csaf-validator-lib/' changes from ab91859..9745448
9745448 Merge pull request #273 from secvisogram/chore/release cca12b2 2.0.0 7810411 Merge pull request #271 from secvisogram/chore/csaf-updates 5e1de8c Merge pull request #272 from secvisogram/chore/dependency-updates d7ddd77 chore: update dependencies f5f7ba7 feat: update csaf submodule 9bb25d8 Merge pull request #270 from secvisogram/269-update-cwe-catalogue 5550466 feat!: update cwe catalogue 526f2a6 Merge pull request #206 from secvisogram/fix/#205-missing_await_in_informativeTest_6_3_8 b31a4d3 Merge pull request #260 from secvisogram/231-remove-npmrc-always-auth-field b989ba64 chore: remove always-auth field from npmrc 0765b90 fix(informative test): #205 replaced OASIS CSAF TC in test with Example Pub d7f7342 fix(informative test): #205 use minimalDoc to define csaf test data a9430d3 fix(informative test): #205 replaced test csaf files by template literals in the code 132c7e1 fix(informative test): #205 changed test. It is now clearer which entries are mocked c1f6ed4 fix(informative test): #205 add await to check branches, add additional test for informativeTest_6_3_8 git-subtree-dir: csaf-validator-lib git-subtree-split: 97454485cf0b2d5abbb758e9421a90c5b858c109
1 parent 7bbe7ef commit 896a51b

File tree

8 files changed

+160
-254
lines changed

8 files changed

+160
-254
lines changed

.npmrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
//registry.npmjs.org/:_authToken=${NPM_TOKEN}
22
@secvisogram:registry=https://registry.npmjs.org/
3-
always-auth=true

csaf

Submodule csaf updated 160 files

lib/informativeTests/informativeTest_6_3_8.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ export default async function informativeTest_6_3_8(
304304
`${prefix}${branchIndex}/product/name`,
305305
branch.product?.name
306306
)
307-
checkBranches(
307+
await checkBranches(
308308
`${prefix}${branchIndex}/branches/`,
309309
Array.isArray(branch.branches) ? branch.branches : []
310310
)

lib/shared/cwec.js

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export default /** @type {const} */ ({
2525
{ id: 'CWE-1038', name: 'Insecure Automated Optimizations' },
2626
{
2727
id: 'CWE-1039',
28-
name: 'Automated Recognition Mechanism with Inadequate Detection or Handling of Adversarial Input Perturbations',
28+
name: 'Inadequate Detection or Handling of Adversarial Input Perturbations in Automated Recognition Mechanism',
2929
},
3030
{
3131
id: 'CWE-104',
@@ -739,7 +739,16 @@ export default /** @type {const} */ ({
739739
id: 'CWE-1427',
740740
name: 'Improper Neutralization of Input Used for LLM Prompting',
741741
},
742+
{ id: 'CWE-1428', name: 'Reliance on HTTP instead of HTTPS' },
743+
{
744+
id: 'CWE-1429',
745+
name: 'Missing Security-Relevant Feedback for Unexecuted Operations in Hardware Interface',
746+
},
742747
{ id: 'CWE-143', name: 'Improper Neutralization of Record Delimiters' },
748+
{
749+
id: 'CWE-1431',
750+
name: 'Driving Intermediate Cryptographic State/Results to Hardware Module Outputs',
751+
},
743752
{ id: 'CWE-144', name: 'Improper Neutralization of Line Delimiters' },
744753
{ id: 'CWE-145', name: 'Improper Neutralization of Section Delimiters' },
745754
{

0 commit comments

Comments
 (0)