
Research
Security News
Malicious npm Package Wipes Codebases with Remote Trigger
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
@evo/gotcha-log
Advanced tools
Logger for gotcha.
npm install --save -E @evo/gotcha-log
import * as gotcha from '@evo/gotcha-log';
// or import { log } from '@evo/gotcha-log';
gotcha.log('test msg')
// or log('test msg')
Example of the resulting message:
{
"message":"test msg",
"filename":"default",
"screenWidth":1855,
"screenHeight":1056,
"userLanguage":"US",
"currentUrl":"http://localhost:8000/",
"site":"evodoc-dev",
"type":"log"
}
const extra = { user: { name: 'test', age: 1 } };
gotcha.log('test msg', extra);
Will log:
{
message: "test msg",
ctx: { user_name_str: "test", user_age_int: 1 },
//...
}
extra will be flattened as described here
FAQs
Logger for [gotcha](https://gitlab.uaprom/gotcha/gotcha). Will use global gotcha config (if gotcha client is already present in page than *window._GOTCHA_IS_HERE* will be *true* ). Or if there is no gotcha on page, it will not work until you will set the
The npm package @evo/gotcha-log receives a total of 530 weekly downloads. As such, @evo/gotcha-log popularity was classified as not popular.
We found that @evo/gotcha-log demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 14 open source maintainers 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
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.
Security News
New CNA status enables OpenJS Foundation to assign CVEs for security vulnerabilities in projects like ESLint, Fastify, Electron, and others, while leaving disclosure responsibility with individual maintainers.