
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.
@adroste/3cx-api
Advanced tools
This is a fork of the last publicly available 3CX Phone API (see: https://www.npmjs.com/package/@3cx/api). As long as we are waiting for a new public API this is all we got. As I'm working on small side projects that rely on this api I'll try to maintain it a bit (update dependencies, add missing APIs etc.)
I will accept pull requests that for instance
/MyPhone/MPWebService.asmx)
Installation:
# npm
npm install --save @adroste/3cx-api
# yarn
yarn add @adroste/3cx-api
import { createClient, ConsoleClient } from '@adroste/3cx-api';
async function main(){
const http = await createClient('http://my-3cx-instance:5000', { Username: 'Admin', Password: '############' });
const api = new ConsoleClient(http);
console.log(await api.getSystemStatus());
}
main();
Unfortunately, there are no docs available at this moment.
However, the code is very simple.
I'll suggest you start by looking at the lib/console-client.ts as well as lib/dashboard/dashboard-func.ts. The majority of available endpoints is implemented those two files.
DEVELOPMENT_DNTABLE_EXPOSE to 1. Refresh the page and you should see the DN properties tab.FAQs
3CX Phone System API - Updated
We found that @adroste/3cx-api 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.