
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
@kano/debug-logger
Advanced tools
A unified debug logging system for StemFM applications, providing comprehensive logging, performance monitoring, and debugging capabilities.
A unified debug logging system for StemFM applications, providing comprehensive logging, performance monitoring, and debugging capabilities.
yarn add @stemfm/debug-logger
import debugLogger from '@stemfm/debug-logger';
// Enable logging
debugLogger.enable();
// Log messages
debugLogger.log('NETWORK', 'API Request', { url: '/api/endpoint' });
// Enable specific categories
debugLogger.enableCategory('AUDIO');
debugLogger.enableCategory('PERFORMANCE');
import { useDebugLogger } from '@stemfm/debug-logger';
function MyComponent() {
const logger = useDebugLogger({
componentName: 'MyComponent',
trackProps: true,
trackLifecycle: true
});
logger.log('Component initialized');
return <div>My Component</div>;
}
import { useDebugMetrics } from '@stemfm/debug-logger';
function PerformanceMonitor() {
const metrics = useDebugMetrics();
// Access performance metrics
console.log('Network stats:', metrics?.network);
console.log('Memory usage:', metrics?.memory);
return null;
}
debugLogger.updateConfig({
enabled: true,
maxStoredLogs: 1000,
persistLogs: true,
consoleOutput: true,
performanceMonitoring: {
enabled: true,
sampleRate: 60000,
retentionPeriod: 3600000
}
});
# Install dependencies
yarn install
# Build package
yarn build
# Run tests
yarn test
# Run linter
yarn lint
Private - StemFM
FAQs
A unified debug logging system for StemFM applications, providing comprehensive logging, performance monitoring, and debugging capabilities.
The npm package @kano/debug-logger receives a total of 0 weekly downloads. As such, @kano/debug-logger popularity was classified as not popular.
We found that @kano/debug-logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.