Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
@blueprintui/crane
Advanced tools
Simple and lightweight drag and drop components and utilities.
npm install @blueprintui/crane
import 'https://cdn.jsdelivr.net/npm/@blueprintui/crane@0.0.0/include/crane.js/+esm';
<bp-crane>
<button>1</button>
<button>2</button>
<button>3</button>
<button>4</button>
<bp-dropzone></bp-dropzone>
</bp-crane>
import '@blueprintui/crane/include/crane.js';
document.querySelector('bp-crane').addEventListener('bp-crane-drop', e => {
e.detail.target.parentElement.insertBefore(e.detail.source, e.detail.target);
});
bp-crane
bp-dropzone
Event | Description | Detail Return Type |
---|---|---|
bp-crane-start | user starts dragging an item | BpDraggableChangeEvent |
bp-crane-enter | item enters valid drop target | BpDraggableChangeEvent |
bp-crane-leave | item leaves valid drop target | BpDraggableChangeEvent |
bp-crane-end | drag operation ends | BpDraggableChangeEvent |
bp-crane-drop | item is dropped on a valid drop target | BpDraggableChangeEvent |
bp-crane-over | item is dragged over a valid drop target | BpDraggableChangeEvent |
bp-crane-drag | item is dragged | BpDraggableChangeEvent |
interface BpDraggableChangeEvent {
source?: HTMLElement;
target?: HTMLElement;
type: 'start' | 'drag' | 'over' | 'drop' | 'enter' | 'leave' | 'end';
interaction?: 'pointer' | 'key';
}
FAQs
Simple and lightweight drag and drop components and utilities.
The npm package @blueprintui/crane receives a total of 7 weekly downloads. As such, @blueprintui/crane popularity was classified as not popular.
We found that @blueprintui/crane 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.