Amazon Inspector not detecting code vulnerability with transpiled Typescript file to Javascript on Lambda function
We created a test Typescript with an obvious code vulnerability (hardcoded credentials). AWS Lambda doesn’t support Typescript so we transpile it to be Javascript. We then export our zipped build file to a Lambda function, when testing in Lambda, it runs, however Amazon Inspector doesn’t seem to detect the code vulnerability.