
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Supports sending both transactional & triggered send (marketing) emails
# config/initializers/sfmc.rb
SFMC::SFMCBase.init(
subdomain: 'mchf5m7e9wjxn-f2xxn6l5ul1x0q',
client_id: 'client_id',
client_secret: 'super_secret',
default_send_classification: 'Default Send Classification - 293',
default_subscriber_list: 'All Subscribers - 9136',
default_data_extension: 'C4530F44-5C72-4113-8EA0-5210C9222455',
default_bcc: ['example@example.com'] # optional
)
SFMC::Transactional::Email.send_email(
email: 'email_name',
to: 'example@example.com',
params: { # Each attribute should be present in the corresponding data extension in SFMC
First_Name: "Bob",
}
)
SFMC::Triggered::Email.send_email(
email: 'email_name',
to: 'example@example.com',
params: { # Each attribute should be present in the corresponding data extension in SFMC
First_Name: "Bob",
}
)
Note: Changes to transactional emails only take effect once its send definition is refreshed:
SFMC::Transactional::SendDefinition.refresh 'email_name'
Note: The first time an email is sent a send definition for it will be created with the default values. This definition takes about a minute to actually become active, so try sending again after that. You can also manually create a send definition using:
SFMC::Transactional::SendDefinition.create(
definition_key: 'definition_key',
customer_key: 'customer_key',
send_classification: 'send_classification',
subscriber_list: 'subscriber_list',
data_extension: 'data_extension',
bcc: ['example@example.com'] # optional
)
FAQs
Unknown package
We found that sfmc_emailer demonstrated a not healthy version release cadence and project activity because the last version was released 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.