
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@commercetools/composable-commerce-test-data
Advanced tools
Data models for commercetools platform APIs
This package provides access to all the test data models used in the commercetools APIs.
$ pnpm add -D @commercetools/composable-commerce-test-data
This package gives you access to all the test data models available. In order to make sure consumers only pull the models they need, you need to import each one independently.
import {
ChanelGraphql,
ChannelDraftGraphql,
TChannelGraphql,
TChannelDraftGraphql,
} from '@commercetools/composable-commerce-test-data/channel';
import {
ProductRest,
ProductDraftRest,
TProductRest,
TProductDraftRest,
} from '@commercetools/composable-commerce-test-data/product';
// This is how to build read models
const channelGraphqlModel: TChannelGraphql = ChannelGraphql.random().build();
const productRestModel: TProductRest = ProductRest.random().build();
// This is how to build write models
const channelDraftGraphqlModel: TChannelDraftGraphql =
ChannelDraftGraphql.random().build();
const productDraftRestModel: TProductDraftRest =
ProductDraftRest.random().build();
// Some models also provide presets you can use like this
const foodStoreChannelGraphql: TChannelGraphql = ChannelGraphql.presets
.foodStore()
.build();
const happyCowMilkProductRest: TProductRest = ProductRest.presets
.happyCowMilk()
.build();
(head to the respective data model directory for more details)
FAQs
Data models for commercetools platform APIs
We found that @commercetools/composable-commerce-test-data demonstrated a healthy version release cadence and project activity because the last version was released less than 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.

Research
A malicious package uses a QR code as steganography in an innovative technique.

Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.