aws-lambda-layer-version-code

Shared Lambda layer archives may include credentials or configuration that leaks into every consuming function.

awscritical service: aws:lambda emits ContainsCredential

Where it sits

locationGetLayerVersion.Content.Location -> layer ZIP contents
location kindcode_artifact
data kindssource_code_secret credential private_key api_key password
emits edgeContainsCredential
serviceLambda (aws:lambda)

Collection recipe

access moderead_api
operationGetLayerVersion
response pathContent.Location (pre-signed download URL) -> ZIP entries
encodingbinary
params{"LayerName": "\u003clayer-name-or-arn\u003e", "VersionNumber": "\u003cversion\u003e"}

Required permissions

lambda:GetLayerVersion

References

move · open · esc close