
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.
contour_plot
Advanced tools
Supply Chain Security
Vulnerability
Quality
Maintenance
License
A D3 plugin to draw contour plots of 2D functions.
Uses the marching squares algorithm from d3.geom.contour to generate contour lines.
This project is a work in progress, and not ready for public consumption. Notably this doesn't generate
If you use NPM, npm install contour_plot
. Otherwise, download the latest
release.
Draw the Goldstein Price function:
function goldsteinPrice(x, y) {
return (1. + Math.pow(x + y + 1, 2) *
(19 - 14*x + 3*x*x - 14 * y + 6 * x * x + 3 * y * y))
* (30 + Math.pow(2*x-3*y, 2)*(18 - 32*x + 12 * x * x + 48*y - 36 * x * y + 27 * y* y));
}
var plot = contour_plot.ContourPlot()
.f(goldsteinPrice)
.drawAxis(true)
.xDomain([-2, 2])
.yDomain([1, -2])
.colourRange(["white", "green"]);
var elements = plot(d3.select("#contour_graph"));
Should produce something like:
FAQs
Contour Plots of Mathematical Functions
The npm package contour_plot receives a total of 147,197 weekly downloads. As such, contour_plot popularity was classified as popular.
We found that contour_plot 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.