
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@contentful/app-action-utils
Advanced tools
This repo is a growing collection of utils for interacting with App Actions
npm install --save @contentful/app-action-utils
# or
yarn add @contentful/app-action-utils
Right now it only supports calling the app action and retrieving the result. This consist of:
When passing the plain client generated from contentful-management
, it has to have org
, space
and environment
set as defaults. If not you can pass in the spaceId
and environmentId
to each of the methods.
To call an app action and get the result callAppAction
can be used like this
import { createClient } from 'contentful-management'
const api = createClient({
accessToken: '<token>'
}, {
type: 'plain'
})
const parameters: AppActionCategoryParams<'<appActionCategory>'> = {} // The parameters the app action expects, when the generic is correct it will be fully typed
const abortController = new AbortController()
const additionalParameters = {
spaceId: '<spaceId>',
environmentId: '<environmentId>'
}
const appActionResult = await callAppAction({
api,
appActionId: '<appActionId>',
appDefinitionId: '<appDefinitionId>',
parameters,
})
const appActionResult = await callAppActionResult({
api,
appActionId: '<appActionId>',
callId: '<callId>',
spaceId: '<spaceId>',
environmentId: '<environmentId>'
})
FAQs
Utilities for intearcting with Hosted App Actions
The npm package @contentful/app-action-utils receives a total of 39,510 weekly downloads. As such, @contentful/app-action-utils popularity was classified as popular.
We found that @contentful/app-action-utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.