
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@scalecube/utils
Advanced tools
[](https://gitter.im/scalecube-js/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
NOTICE versions 0.0.x are experimental without LTS or the API and behavior might change from patch to patch
reusable utils library
Given valid address: Address
When calling getFullAddress(address)
Then fullAddress will be added to the address object
Given address: any
And isOptional: boolean
# isOptional = true
When calling validateAddress(address, isOptional)
Then valid address can be undefined or type Address
# isOptional = false
When calling validateAddress(address, isOptional)
Then valid address must be of type Address
NOT_VALID_PROTOCOL
NOT_VALID_ADDRESS
NOT_VALID_HOST
NOT_VALID_PATH
NOT_VALID_PORT
##check
assert
isDefined
isString
assertNonEmptyString
isArray
isNonEmptyArray
assertArray
isObject
assertObject
assertNonEmptyObject
isOneOf
assertOneOf
isFunction
assertFunction
assertNumber
FAQs
[](https://gitter.im/scalecube-js/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
The npm package @scalecube/utils receives a total of 29 weekly downloads. As such, @scalecube/utils popularity was classified as not popular.
We found that @scalecube/utils demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 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
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.