
Research
Supply Chain Attack on Axios Pulls Malicious Dependency from npm
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.
doc-giggle
Advanced tools
Give me a docx/xlsx/pptx, I'll give you a pdf.
npm i doc-giggle --save
import { convert } from "doc-giggle";
import fs from "fs";
const pdfResponse = await convert("https://your-word/excel/ppt/url");
fs.writeFileSync("test.pdf", pdfResponse.body);
Caution: The download link is temporary and will be deleted by arbitrary time, so you should download and save it to your storage as quickly as you can.
import { convertByFcDocRotary } from "doc-giggle";
const { sourceFileUrl, pdfUrl } = await convertByFcDocRotary(
"https://your-word/excel/ppt/url"
);
There are several backend servers work behind the scene, which use libreoffice's command line to convert the the office document into pdf file.
This project was bootstrapped with TSDX.
pnpm i
# or
npm i
# or
yarn install
Below is a list of commands you will probably find useful.
npm start or yarn startRuns the project in development/watch mode. Your project will be rebuilt upon changes. TSDX has a special logger for you convenience. Error messages are pretty printed and formatted for compatibility VS Code's Problems tab.
Your library will be rebuilt if you make edits.
npm run build or yarn buildBundles the package to the dist folder.
The package is optimized and bundled with Rollup into multiple formats (CommonJS, UMD, and ES Module).
npm test or yarn testRuns the test watcher (Jest) in an interactive mode. By default, runs tests related to files changed since the last commit.
FAQs
> Give me a docx/xlsx/pptx, I'll give you a pdf.
The npm package doc-giggle receives a total of 1 weekly downloads. As such, doc-giggle popularity was classified as not popular.
We found that doc-giggle 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 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.

Security News
TeamPCP is partnering with ransomware group Vect to turn open source supply chain attacks on tools like Trivy and LiteLLM into large-scale ransomware operations.