
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
This is an attempt to build clean, simple yet powerfull React.js based block text editor
npm install --save edith
import { Edith, EdithImport, EdithAddBlock } from 'edith';
import CustomBlock from 'path/to/CustomBlock';
EdithAddBlock('Custom Block', CustomBlock);
render() {
return (
<Edith
import={EdithImport.fromHTML('<div data-edith="Text"><p>HTML string</p></div>')}
strings={{
controls: {
save: 'Save'
},
block: {
ctrl: {
grab: 'Grab',
clone: 'Clone',
remove: 'Remove'
}
},
block_panel: {
expand: '+',
put: 'Put'
}
}}
blocks={[
{
name: 'H1',
label: 'Title',
config: {
toolbar: [
{ label: 'I', style: 'ITALIC' },
{ label: 'U', style: 'UNDERLINE' },
]
}
},
{
name: 'Text',
label: 'Text',
config: {
toolbar: [
{ label: 'B', style: 'BOLD' },
{ label: 'I', style: 'ITALIC' },
{ label: 'U', style: 'UNDERLINE' },
]
}
},
{
name: 'InlineImage',
label: 'Image',
config: {
accept: 'image/*',
placeholder: 'Drop your image here'
}
},
{
name: 'Quote',
label: 'Quote',
config: {
toolbar: [
{ label: 'B', style: 'BOLD' },
{ label: 'I', style: 'ITALIC' },
{ label: 'U', style: 'UNDERLINE' },
]
}
},
{
name: 'Custom Block',
label: 'Custom Block'
}
]}
onSave={content => {
// ...
}}
/>
);
}
A list of blocks recognized by EdithImport
Object containing UI translation strings, divided in three sections:
controls: {
save: 'Save'
}
block: {
ctrl: {
grab: 'Grab',
clone: 'Clone',
remove: 'Remove'
}
}
block_panel: {
expand: '+',
put: 'Put'
}
Array of blocks, where each block is an object:
{
name: 'Block Name',
label: 'Block Title', // How it will be presented in the Block Panel
config: {
// Optional
// Block configuration
}
}
Order of blocks determines their position in the Block Panel.
A callback that fires when Save button is clicked
FAQs
Block based content editor
The npm package edith receives a total of 0 weekly downloads. As such, edith popularity was classified as not popular.
We found that edith 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.