
Research
/Security News
11 Malicious NuGet Tools Pose as Game Cheats to Drop a Windows Host-Surveillance Payload
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.
comment-log
Advanced tools
Логирование js выражений на основе комментариев в nodejs
npm install comment-log --save
Устанавливаем NODE_ENV=development
Подключаем в главном модуле раньше всех остальных модулей
require('comment-log');
В модулях за исключением модуля, где подключали require('comment-log'), используем комментарий вида
const a = [1, 2, 3, 4] /*
-> a.filter(v => v % 2)
-> process.argv
-> <любое валидное js выражение>
*/
module.exports = { a }
Либо в одну строку
const a = [1, 2, 3, 4] /*-> a.filter(v => v % 2) -> process.argv*/
FAQs
Логирование js выражений на основе комментариев в nodejs
The npm package comment-log receives a total of 5 weekly downloads. As such, comment-log popularity was classified as not popular.
We found that comment-log 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.

Research
/Security News
11 malicious NuGet tools pose as game cheats to deploy Windows payloads, track hosts, and use Google Sheets for telemetry and control.

Research
/Security News
4 compromised asyncapi packages deliver miasma botnet loader on macOS, Linux and Windows.

Research
/Security News
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.