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.
@elementor/editor-site-navigation
Advanced tools
> [!WARNING] > This package is under development and not ready for production use.
[!WARNING] This package is under development and not ready for production use.
Get all pages and create a new one:
import * as React from 'react';
import { useEffect } from 'react';
import { usePosts } from './use-posts';
const PageList = () => {
const { getPosts: getPages, createPost: createPage, isLoading, posts } = usePosts( 'page' );
useEffect( () => {
getPages();
}, [ getPages ] );
const createNewPage = () => {
const newPage = {
title: 'New Page',
content: 'This is a demo page',
status: 'publish',
};
createPage( newPage );
};
if ( isLoading ) {
return <div>Loading...</div>;
}
return (
<div>
<h1>Pages</h1>
<button onClick={ createNewPage }>Create New Page</button>
<ul>
{
posts.map( ( page ) => (
<li key={ page.id }>{ page.title }</li>
) )
}
</ul>
</div>
);
};
export default PageList;
FAQs
> [!WARNING] > This package is under development and not ready for production use.
We found that @elementor/editor-site-navigation 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.