{"score":100,"grade":"A","scannedAt":"2026-12-05T23:03:59.399Z","scanner":"grades-0.2","signals":{"ecosystem":"npm","name":"cerfaless-dsnap","version":"1.2.0","license":"SEE LICENSE IN LICENSE","repository":"https://github.com/64Etienne/cerfaless-dsnap","firstPublished":"2026-11-19T09:51:54.688Z","lastPublished":"2026-11-19T09:56:03.408Z","versions":2,"maintainers":1,"files":31,"bytes":429367,"hosts":["cerfaless.fr","consultation.dsnrg.net-entreprises.fr","demo.dsnap.invalid","depot.dsnrg.net-entreprises.fr","portail.net-entreprises.fr","services.net-entreprises.fr","telechargement-edit.dsnrg.net-entreprises.fr","telechargement.dsnrg.net-entreprises.fr","www.net-entreprises.fr"]},"capabilities":{"network":true,"files":true,"shell":true,"env":true,"dynamicCode":false},"findings":[{"rule":"network","severity":"info","title":"Makes network requests","file":"server/lib/calcul.js","line":22,"snippet":"const r = await fetch(base + chemin, { method: 'POST', headers: { 'Content-Type': 'application/json', 'User-Agent': 'DSNap' }, body: JSON.stringify(corps)"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"server/lib/chemins.js","line":17,"snippet":"const ENV = process.env;"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"server/lib/chemins.js","line":48,"snippet":"fs.writeFileSync(tmp, JSON.stringify(r, null, 2), { mode: 0o600 });"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"server/lib/chemins.js","line":49,"snippet":"fs.renameSync(tmp, f);"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"server/lib/chemins.js","line":73,"snippet":"const systeme = process.env.SystemRoot || 'C:\\\\Windows';"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"server/lib/configuration.js","line":20,"snippet":"const { spawn } = require('child_process');"},{"rule":"env","severity":"info","title":"Reads environment variables (where API keys usually live)","file":"server/lib/configuration.js","line":100,"snippet":"dossierImpose: !!(process.env.DSNAP_DOSSIER || (process.env.NE_DOSSIER && !/^\\$\\{/.test(process.env.NE_DOSSIER))),"},{"rule":"files","severity":"info","title":"Writes, moves or deletes files","file":"server/lib/configuration.js","line":257,"snippet":"fs.writeFileSync(path.join(dir, nom), buf);"},{"rule":"network","severity":"info","title":"Makes network requests","file":"server/lib/licence.js","line":73,"snippet":"const r = await fetch(base + '/licence', { method: 'POST', headers: { 'Content-Type': 'application/json', 'User-Agent': 'DSNap/' + (corps.version || '?')"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"server/lib/nomenclatures.js","line":22,"snippet":"const { execFile } = require('child_process');"},{"rule":"network","severity":"info","title":"Makes network requests","file":"server/lib/nomenclatures.js","line":535,"snippet":"return fetch(url, { headers: { 'User-Agent': UA }, redirect: 'manual', signal: signal }).then(async function (r) {"},{"rule":"shell","severity":"info","title":"Runs shell commands or other programs","file":"server/lib/secrets.js","line":20,"snippet":"const { spawn } = require('child_process');"}],"vulns":[],"installScripts":[],"server":{"name":"io.github.64Etienne/cerfaless-dsnap","title":"DSNap : DSN et paie de SASU","description":"DSN et paie du président de SASU (déclaration sociale nominative), déposées sur net-entreprises.","websiteUrl":"https://cerfaless.fr/dsnap","repository":"https://github.com/64Etienne/cerfaless-dsnap","version":"1.2.1"}}