
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.
mousecape-from-windows-cursor
Advanced tools
.png)
Converts Windows cursors (.cur, .ani) to macOS Mousecape .cape files.
npm install -G mousecape-from-windows-cursor
mousecape-from-windows-cursor ./install.inf
import { dirname, resolve } from "path";
import { buildMousecape, parseInstall, stringifyMousecape } from "mousecape-from-windows-cursor";
import { readFile, writeFile } from "fs/promises";
const installInfPath = "./windows-cursor/Install.inf";
const cursorsPath = dirname(installInfPath);
// parse install.inf
const install = parseInstall(await readFile(installInfPath, "utf8"));
// create { ["fileName.cur"]: { cursor: Buffer, animated?: boolean } } object
const cursors = await Promise.all(Object.entries(install)
.filter(([e]) => e == e.toLowerCase())
.map(
async ([cursor, path]) => ([
cursor, {
animated: path.endsWith(".ani"),
cursor: await readFile(resolve(cursorsPath, path))
}] as [string, { cursor: Buffer, animated?: boolean }]
)));
// create cape
const cape = await buildMousecape(Object.fromEntries(cursors), {
author: install.INF_Provider ?? "you",
capeName: install.SCHEME_NAME ?? "Unnamed"
});
// and stringify it to plist
await writeFile(resolve(cursorsPath, `./${cape.id}.cape`), stringifyMousecape(cape))
FAQs
Converts Windows cursors to macOS Mousecape .cape files
The npm package mousecape-from-windows-cursor receives a total of 0 weekly downloads. As such, mousecape-from-windows-cursor popularity was classified as not popular.
We found that mousecape-from-windows-cursor demonstrated a healthy version release cadence and project activity because the last version was released less than 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.