Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
@hpcc-js/common
Advanced tools
This package is part of the mono repository "@hpcc-js" (aka Visualization Framework), for more information including Quick Start, Gallery and Tutorials, please visit the main page on GitHub: hpcc-systems/Visualization.
<html>
<head>
<title>Simple EntityCard</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"/>
<script src="https://unpkg.com/@hpcc-js/util"></script>
<script src="https://unpkg.com/@hpcc-js/common"></script>
</head>
<body>
<div id="placeholder" style="width:800px;height:600px;"></div>
<script>
console.log(window["@hpcc-js/common"].EntityCard);
var chart = new window["@hpcc-js/common"].EntityCard()
.target("placeholder")
.icon("")
.iconDiameter(55)
.iconPaddingPercent(0)
.title("Hello\nEntityCard")
.titleFontSize(28)
.titleColor("#ecf0f1")
.description("This is an EntityCard description")
.descriptionColor("#ecf0f1")
.iconColor("#ecf0f1")
.backgroundShape("rect")
.backgroundColorFill("#2980b9")
.backgroundColorStroke("#2c3e50")
.annotationIcons([
{ faChar: "A", image_colorFill: "#2c3e50", shape_colorFill: "#f1c40f", shape_colorStroke: "none" },
{ faChar: "B", image_colorFill: "#2c3e50", shape_colorFill: "#e67e22", shape_colorStroke: "none" },
{ faChar: "C", image_colorFill: "#2c3e50", shape_colorFill: "#e74c3c", shape_colorStroke: "none" }
])
.render();
</script>
</body>
</html>
FAQs
hpcc-js - Viz Common
The npm package @hpcc-js/common receives a total of 2,170 weekly downloads. As such, @hpcc-js/common popularity was classified as popular.
We found that @hpcc-js/common 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 researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.