Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
workmail-spam-filter
Advanced tools
Readme
CDK construct to create a synchronous lambda rule for workmail inbound messages.
It deploys a lambda and the permission for workmail to invoke it.
In your project add it as a dependency:
npm i --save workmail-spam-filter
Reference it in the code:
import { WorkmailSpamFilterStack } from 'workmail-spam-filter'
new WorkmailSpamFilterStack(app, 'WorkmailSpamFilterStack', {
env: { account: '1234567890', region: 'eu-west-1' },
organization: "m-123456789",
accountId: "1234567890"
});
To create an initial empty configuration for the classifier, run
npx workmail-spam-filter@latest init
and it will create a config.json
in the folder db
which will be deployed to S3.
As this file will be empty, you might want to train the classifier with your own data.
npx workmail-spam-filter@latest train
This command uses the spam.json
and valid.json
as sources for training, both containing string arrays and writes it to config.json
, reusing its existing content.
And then deploy it:
cdk deploy
Once deployed to the same account and region as the workmail organization, you can reference it on the UI as an synchrounous lambda inbound rule. Spam messages will be moved to the junk folder.
FAQs
CDK library for spam filter lambda with workmail
The npm package workmail-spam-filter receives a total of 0 weekly downloads. As such, workmail-spam-filter popularity was classified as not popular.
We found that workmail-spam-filter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.