
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.
synology-node-api
Advanced tools
This package is a fork from https://www.npmjs.com/package/synology-api
A NodeJS API to communicate with your Synology NAS
You can :
Installation
$ npm install synology-node-api --save
Create your Synology object
var Syno = require('synology-node-api');
var syno = new Syno(
protocol = "HTTPS",
address = "192.168.0.0",
port = "5000",
username = "admin",
password = "password",
debug = true
);
Now, you can get all tasks from your Synology NAS like that
syno.Auth.Connect().then(function(value) {
console.log("Your are connected!");
syno.DS.getTasks().then(function(value) {
console.log("Success : " + value.Success)
//Get your tasks
for(var task in value.Tasks){
console.log(value.Tasks[task].id)
}
}, function(reason) {
console.log("Error : " + reason.Message)
})
}, function(reason) {
console.log("Error : " + reason.Message);
});
After doing your business, logout :)
data.Auth.Logout().then(function(data){
console.log("You're log out")
},function(reason){
console.log("You're not log out")
}
);
For documentation go to https://github.com/LionelPaulus/Synology-NodeJS-API/wiki
FAQs
Node API to communicate with Synology NAS
We found that synology-node-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.