
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.
@emilgroup/document-sdk
Advanced tools
This TypeScript/JavaScript client utilizes axios. The generated module can be used with client-based applications (i.e. React).
Language level
Module system
Although this package can be used in both TypeScript and JavaScript, it is intended to be used with TypeScript. The definition should be automatically resolved via package.json. (Reference). For more information, you can go to Emil Api documentation.
Navigate to the folder of your consuming project and run one of the following commands:
npm install @emilgroup/document-sdk@1.45.0 --save
or
yarn add @emilgroup/document-sdk@1.45.0
And then you can import DocumentsApi.
import { DocumentsApi } from '@emilgroup/document-sdk'
const documentsApi = new DocumentsApi();
To use authentication protected endpoints, you have to first authorize. To do so, use the authorize function in DocumentsApi:
async function listDocuments(): Promise<Void> {
try {
const documentsApi = new DocumentsApi();
await documentsApi.authorize('username', 'password');
const { data: { items } } = await documentsApi.listDocuments();
console.log(items);
} catch(error) {
// process error
}
}
FAQs
OpenAPI client for @emilgroup/document-sdk
The npm package @emilgroup/document-sdk receives a total of 426 weekly downloads. As such, @emilgroup/document-sdk popularity was classified as not popular.
We found that @emilgroup/document-sdk demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 20 open source maintainers 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.