
Research
Namastex.ai npm Packages Hit with TeamPCP-Style CanisterWorm Malware
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.
@particle/react-native-crypto
Advanced tools
@particle/react-native-cryptoReact Native compatible crypto functions
npm install @particle/react-native-crypto --save
NOTE: @particle/react-native-crypto declares react-native and @particle/device-constants as a peerDependency - this ensures your app only ever has one copy of those dependencies
A React Native class for an AES-128 cipher operating in ECB mode.
Kind: global class
Promise.<Uint8Array>Encrypt a single block of data.
Kind: instance method of ReactNativeAes128Cipher
Returns: Promise.<Uint8Array> - Ciphertext block.
| Param | Type | Description |
|---|---|---|
| block | Uint8Array | Plaintext block. The block must be 16 bytes long. |
A React Native environment class.
Kind: global class
Aes128CipherPromise.<Uint8Array>Aes128CipherCreate an AES-128 cipher operating in ECB mode.
Kind: instance method of ReactNativeEnv
Returns: Aes128Cipher - Cipher object.
| Param | Type | Description |
|---|---|---|
| key | Uint8Array | Encryption key. The key must be 16 bytes long. |
Promise.<Uint8Array>Generate cryptographically strong random data.
Kind: instance method of ReactNativeEnv
Returns: Promise.<Uint8Array> - Random data.
| Param | Type | Description |
|---|---|---|
| size | Number | Number of bytes to generate. |
NOTE: Unfortunately, docs have a nasty habit of falling out of date. When in doubt, check usage in tests
FAQs
React Native compatible crypto functions
We found that @particle/react-native-crypto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 23 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
Malicious Namastex.ai npm packages appear to replicate TeamPCP-style Canister Worm tradecraft, including exfiltration and self-propagation.

Product
Explore exportable charts for vulnerabilities, dependencies, and usage with Reports, Socket’s new extensible reporting framework.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.