
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.
@netology-group/wc-chat
Advanced tools
@netology-group/wc-chat
Chat relies on dependencies described at peerDependencies section.
They should be included according your pipeline or like that.
Chat in a nutshell can be accessed like this:
<script src="<path/to>/dist/chat.min.js"></script>
<script>
window.customElements.define('wc-chat', window.WcChat.Chat);
</script>
Chat is able to be enhanced. It provides some mixins and utilities.
An example can be seen here.
Chat supports internationalization and contains basic dictionary within. You have to specify language attribute to make it work (uses en-US
locale by default).
For instance:
<script src="https://cdn.jsdelivr.net/npm/intl-messageformat@2.2.0/dist/intl-messageformat-with-locales.min.js"></script>
<wc-chat
language="en-US"
placeholder="Write something…"
placeholderdisabled="Chat is blocked now"
/>
Chat supports parsers to render a message.
Here are built-in ones:
Chat renders string as is unless parser
is defined.
This parser just encodes a string with HTML entities.
For instance:
<wc-chat parser='html-entities' />
Result
:s/Scotch & Soda/Scotch & Soda/
This parser renders any string according to Markdown markup.
For instance:
<script src="https://cdn.jsdelivr.net/npm/markdown-it@8.4.2/dist/markdown-it.min.js"></script>
<wc-chat parser='markdown' />
FAQs
Messenger's webcomponents
The npm package @netology-group/wc-chat receives a total of 1 weekly downloads. As such, @netology-group/wc-chat popularity was classified as not popular.
We found that @netology-group/wc-chat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.