
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.
sfcc-webdav
Advanced tools
Salesforce Commerce Cloud simple webdav API
$ npm i sfcc-webdav
Requires a dw.json with client_id/secret
{
"hostname": "dev01-mysandbox.demandware.net",
"client_id": "a12464ae-b484-4b90-4dfe-17e20844e9f0",
"client_secret": "mysupersecretpassword"
}
The API client must be created from the account.demandware.com consoleand must be granted the required permissions for accessing the cartridges
folder through webdav.
For doing so access Business Manager and add the following in Administration -> Organization -> WebDAV Client Permissions. Replace client id with your client id, you may need to merge these settings with existing ones.
{
"clients": [
{
"client_id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"permissions": [
{
"path": "/cartridges",
"operations": [
"read_write"
]
}
]
}
]
}
const sfccwebdav = require('sfcc-webdav');
sfccwebdav.fileUpload('/path/to/local/file', '/cartridges/mycodeversion/app_storefront/cartridge/static/filetoupload');
sfccwebdav.fileDelete('/path/to/local/file', '/cartridges/mycodeversion/app_storefront/cartridge/static/filetodelete');
Released under the MIT license.
FAQs
Salesforce Commerce Cloud simple webdav API
The npm package sfcc-webdav receives a total of 73 weekly downloads. As such, sfcc-webdav popularity was classified as not popular.
We found that sfcc-webdav 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.