
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
fork from https://github.com/mikolalysenko/teapot https://github.com/mikolalysenko/bunny
fork from https://github.com/mikolalysenko/teapot https://github.com/mikolalysenko/bunny
import { bunny } from 'gl-model'
/*
bunny: {
positions: [number, number, number][];
cells: [number, number, number][];
}
*/
draw(bunny.positions, bunny.cells)
import REGL from "regl";
import { mat4 } from "gl-matrix";
import { bunny } from "gl-model";
import createCamera from "regl-camera-ts";
export default (canvas: HTMLCanvasElement) => {
const regl = REGL(canvas);
const camera = createCamera(regl, {
center: [0, 5, 0],
theta: 0,
distance: 30,
});
interface Uniforms {
model: mat4;
}
interface Attributes {
position: REGL.Vec3[];
}
const drawBunny = regl<Uniforms, Attributes>({
vert: `
precision mediump float;
attribute vec3 position;
uniform mat4 model, view, projection;
void main() {
gl_Position = projection * view * model * vec4(position, 1);
}`,
frag: `
precision mediump float;
void main() {
gl_FragColor = vec4(1, 1, 1, 1);
}`,
// this converts the vertices of the mesh into the position attribute
attributes: {
position: bunny.positions,
},
// and this converts the faces fo the mesh into elements
elements: bunny.cells,
uniforms: {
model: mat4.identity(new Float32Array(16)),
},
});
regl.frame(() => {
camera((state) => {
if (!state.dirty) return;
regl.clear({
depth: 1,
color: [0, 0, 0, 1],
});
drawBunny();
});
});
};
FAQs
fork from https://github.com/mikolalysenko/teapot https://github.com/mikolalysenko/bunny
We found that gl-model 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.