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.
@viamrobotics/prime-editor
Advanced tools
@viamrobotics/prime-editor
@viamrobotics/prime-editor
is a collection of Svelte components that wrap code-editing tools.
This primarily based around Codemirror
Install use the README instructions at @viamrobotics/prime-core to install prime-core. Then install prime-editor using your package manager of choice:
pnpm add --save-dev @viamrobotics/prime-editor
These components require that ssr is disabled.
Ensure that you have a +layout.ts
above all pages that use these components:
export const prerender = false;
export const ssr = false;
Once installed, you can use the components in your app:
<script lang="ts">
import { JsonEditor } from '@viamrobotics/prime-editor';
</script>
<JsonEditor
initialValue={'{"a": "b"}'}
label="editor"
onChange={(e) => console.log(e)}
/>
FAQs
## Getting started
We found that @viamrobotics/prime-editor demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
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.