
Research
Malicious npm Package Brand-Squats TanStack to Exfiltrate Environment Variables
A brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.
Generates n-dimensional grid graphs.
npm install grid-graph
var gridGen = require("grid-graph")
//A 5x5 grid
console.log(gridGen([5, 5]))
//A 3x3x3 cube
console.log(gridGen([3, 3, 3]))
//Periodic grids are allowed too. Example, 4x6 torus:
console.log(gridGen([3,4], true))
//You can also make the grid periodic along only some axes. Example cylinder:
console.log(gridGen([5,5], [true, false]))
require("grid-graph")(shape[, periodic])Generates a grid graph
shape is an array of the dimensions of each axisperiodic is an optional argument which is either an array of truthy values which determine whether or not to make some axis periodic.Returns An array of edges for the newly generated grid.
(c) 2013 Mikola Lysenko. MIT License
FAQs
Generates a grid shaped graph
We found that grid-graph 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 brand-squatted TanStack npm package used postinstall scripts to steal .env files and exfiltrate developer secrets to an attacker-controlled endpoint.

Research
Compromised SAP CAP npm packages download and execute unverified binaries, creating urgent supply chain risk for affected developers and CI/CD environments.

Company News
Socket has acquired Secure Annex to expand extension security across browsers, IDEs, and AI tools.