
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.
@boozt/sfmc-request
Advanced tools
sfmc-request
Many years ago, one decided to take matters into their own hands and build a module that would help people avoid the unbearable burden of dealing with unexpected responses from the Marketing Cloud API.
The hero tried to use the existing SDKs and thoughtfully inspect the documentation. After some time of careful research, his labors were rewarded and this package was born.
At the moment, this is limited but quite useful functionality that will be expanded later.
import { Client, DataExtensionRowAsync, DataExtensionRow } from '@boozt/sfmc-request'
const client = new ClientProvider(SFMC_BASE_URL, SFMC_SOAP_URL, SFMC_TOKEN_URL, [
{ name: SFMC_UNIT_NAME, clientId: SFMC_CLIENT_ID, clientSecret: SFMC_CLIENT_SECRET }
]).getClient(SFMC_UNIT_NAME)
const requestAsync = new DataExtensionRowAsync(client)
const requestSync = new DataExtensionRow(client)
const upsertResult = await requestAsync.upsert(TARGET_DE_KEY, upsertData)
if (upsertResult.ok) {
logger.status(`Update successful, requestId: ${upsertResult.value.requestId}`)
} else if (upsertResult.ok === false) {
return res.status(500).send(upsertResult.error.message)
}
const deleteResult = await requestSync.delete({ key: TARGET_DE_KEY }, deleteData)
if (deleteResult.ok) {
logger.status(`Deletion successful, requestId: ${deleteResult.value.RequestID}`)
} else if (deleteResult.ok === false) {
return res.status(500).send(JSON.stringify(deleteResult.error))
}
FAQs
SFMC Request
The npm package @boozt/sfmc-request receives a total of 1 weekly downloads. As such, @boozt/sfmc-request popularity was classified as not popular.
We found that @boozt/sfmc-request demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 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.
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.