Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Create spam mitigation models with ease using fully-customizable, object oriented components.
The spamfilter module is a lightweight, fast and straightforward way to build your own spam filtering machines in order to keep applications using user-generated content clean.
It's object-oriented and makes a quick, yet concise approach to remove spam easy.
You can install spamfilter by cloning the GitHub repository or using pip:
pip install spamfilter
Define a machine using several spam filters stacked onto each other.
from spamfilter import Machine
m = Machine([
Length(min_length=10, max_length=200, mode="crop"),
Symbols(mode="normal")
])
TEST_STRING = "This is a test string."
print(m.check(TEST_STRING).passed)
This project is licensed under the MIT License as found in the LICENSE
file.
Feel free to contribute to the project using the GitHub repository. Additions to the spam filters, machines and documentation are always welcome!
FAQs
Create spam mitigation models with ease using fully-customizable, object oriented components.
We found that spamfilter 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.