
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@dazn/lambda-powertools-pattern-obfuscate
Advanced tools
Basic template that configures a 1% smaple rate for debug logs and obfuscation
A pattern that helps you follow our guidelines around logging and monitoring. With added ability to obfuscate personal fields.
Main features:
configures Datadog metrics namespace using the function name if one is not specified already
configures Datadog default tags with awsRegion, functionName, functionVersion and environment
applies the @dazn/lambda-powertools-middleware-correlation-ids middleware at a default 1% sample rate
applies the @dazn/lambda-powertools-middleware-sample-logging middleware at a default 1% sample rate
applies the @dazn/lambda-powertools-middleware-obfuscated-logging middleware with passed obfuscation filters
applies the @dazn/lambda-powertools-middleware-log-timeout middleware at default 10ms threshold (i.e. log an error message 10ms before an invocation actually times out)
allow override for the default 1% sample rate via a SAMPLE_DEBUG_LOG_RATE environment variable, to sample debug logs at 5% rate then set SAMPLE_DEBUG_LOG_RATE to 0.05
Install from NPM: npm install @dazn/lambda-powertools-pattern-obfuscate
const obfuscatedWrap = require('@dazn/lambda-powertools-pattern-obfuscated')
module.exports.handler = obfuscatedWrap.obfuscaterPattern(['Records.*.firstName', 'Records.*.lastName'], async (event, context) => {
return 42
})
FAQs
Basic template that configures a 1% smaple rate for debug logs and obfuscation
The npm package @dazn/lambda-powertools-pattern-obfuscate receives a total of 2 weekly downloads. As such, @dazn/lambda-powertools-pattern-obfuscate popularity was classified as not popular.
We found that @dazn/lambda-powertools-pattern-obfuscate demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.