Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
A Web Component built with Stencil that allows you to add a chat dialog to a web page that is connected to a public Scriv bot.
To try this component out, run:
npm install
npm start
Now load the localhost URL shown in the console in your browser.
Note that this requires you to have Scriv running locally on port 8000. If you want to change that, edit
the src/index.html
file and change the scriv
property on the scriv-chat
element.
To build the component for production, run:
npm run build
To run the unit tests for the components, run:
npm test
To make changes to the component, you can edit the files in the src/components/scriv-chat
directory. You can
also edit the src/index.html
file to change the page that is loaded when you run npm start
.
The component uses Tailwind CSS with DaisyUI for styling.
There are three strategies we recommend for using web components built with Stencil.
The first step for all three of these strategies is to publish to NPM.
<script type='module' src='https://unpkg.com/scriv-chat@0.0.1/dist/scriv-chat.esm.js'></script>
in the head of your index.htmlnpm install scriv-chat --save
<script type='module' src='node_modules/scriv-chat/dist/scriv-chat.esm.js'></script>
in the head of your index.htmlFAQs
Chat component for scriv.ai
The npm package scriv-chat receives a total of 520 weekly downloads. As such, scriv-chat popularity was classified as not popular.
We found that scriv-chat 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.