diff --git a/src/index.ts b/src/index.ts index 98c5502..552898a 100644 --- a/src/index.ts +++ b/src/index.ts @@ -82,6 +82,8 @@ export const scanner: Bun.Security.Scanner = { const match = artifact.inputPurl.match(purlRegex); + if (!match) continue; + const name = match[1]; const version = match[2];