
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
A npm package of reverse-engineered Bing Image Creator API. Courtesy of Bing Image Search API and EdgeGPT by acheong08.
npm install bimg
Create a .env file in the root directory of your project and add the cookie of your Bing Image Search session. You need access to Bing Image Creator or a valid cookie from someone who has access.
The cookie you need from Bing is the _U cookie, this could be aquired using a chrome-extension or by using the Network tab in Chrome DevTools.
BING_IMAGE_COOKIE: <your Bing Image Search cookie>
import { generateImageFiles, generateImagesLinks } from "bimg";
const imageLinks = await generateImagesLinks(prompt); // returns an array of 4 image links
const imageFiles = await generateImageFiles(prompt); // returns an array of 4 image files
The image file is a object of
{
name: string,
data: string // base64 encoded image data from Buffer
}
See my simple expressjs server here.
FAQs
A reverse-engineered Bing Image Creation API
The npm package bimg receives a total of 24 weekly downloads. As such, bimg popularity was classified as not popular.
We found that bimg 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.