
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.
Simple authentication and secure requests to your Freebox OS server
fetch for HTTP (no Axios dependency).d.ts)Official Freebox OS API documentation: https://dev.freebox.fr/sdk/os
pnpm add freebox
# or npm install freebox
You must be on the Freebox local network to register an app. Visit https://mafreebox.freebox.fr to confirm.
import {FreeboxRegister} from 'freebox';
const freeboxRegister = new FreeboxRegister({
app_id: 'fbx.my_amazing_app',
app_name: 'My Amazing App',
app_version: '1.0.0',
device_name: 'My cool PC',
});
// Obtaining an app_token & everything you need
// following the guide at https://dev.freebox.fr/sdk/os/login/
const access = await freeboxRegister.register();
console.log(access);
Freebox server LCD screen to authorize your app access.
import {Freebox} from 'freebox';
const freebox = new Freebox({
app_token: 'etCEF2aytGPLWm1KZM0vIW/ziZOU58v/0qv9jUiJcedjadjaRZ/bflWSKy6HODORGUo6',
app_id: 'fbx.my_amazing_app',
api_domain: 'r42bhm9p.fbxos.fr',
https_port: 35023,
api_base_url: '/api/',
api_version: '6.0',
});
// Open a session
await freebox.login();
// Get the current Wi-Fi global configuration
const response = await freebox.request({
method: 'GET',
url: 'wifi/config',
});
console.log(response.data);
// Close the current session
await freebox.logout();
new FreeboxRegister(appIdentity?)
.register(options?) → returns { app_token, app_id, api_domain, https_port, api_base_url, api_version }.discovery() → reads API info from the Freebox.requestAuthorization() / .getAuthorizationStatus(trackId) / .trackAuthorizationProgress(trackId)new Freebox(appRegistered)
.login(challenge?) → resolves { session_token, permissions }.logout().request(requestConfig) → thin wrapper over native fetch with Axios-like response shapeAll public APIs are fully typed. Hover in your editor or read the generated dist/index.d.ts for details.
pnpm build # tsdown build (ESM + CJS + types)
pnpm test # vitest
pnpm lint # oxlint (voidzero)
pnpm format # oxfmt (voidzero)
MIT License Copyright (c) 2019-2025 Mathieu Schimmerling.
FAQs
Simple authentification and secure requests to your Freebox OS server
We found that freebox 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.