Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
ai-content-moderation
Advanced tools
AI-powered content moderation system with subscription management
The AI Content Moderation System is a comprehensive Node.js package that provides content moderation capabilities powered by AI. This system is designed to be easily integrated into existing applications to provide robust content moderation features.
npm install ai-content-moderation
import { initContentModeration, ModerationConfig } from 'ai-content-moderation'
const config = {
aiProviders: {
textAI: 'https://your-text-ai-endpoint.com',
imageAI: 'https://your-image-ai-endpoint.com',
videoAI: 'https://your-video-ai-endpoint.com',
},
licenseSecretKey: 'your-license-secret-key',
backendUrl: 'https://your-backend-url.com',
rateLimitPoints: 100,
rateLimitDuration: 60,
cacheTTL: 3600,
}
const licenseKey = 'your-license-key'
const moderationService = initContentModeration(config, licenseKey)
// Moderate content
moderationService
.moderateContent({
type: 'text',
data: 'Content to moderate',
})
.then((result) => console.log(result))
.catch((error) => console.error(error))
// Set webhook URL
moderationService.setWebhookUrl('https://your-webhook-url.com')
// Get usage report
moderationService.getUsageReport().then(console.log).catch(console.error)
For detailed usage instructions, please refer to the INSTRUCTIONS.md file.
For API documentation, please see the API_DOCUMENTATION.md file.
For a list of changes and version history, please see the CHANGELOG.md file.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any questions or support needs, please contact our support team at support@vaif.tech.
FAQs
AI-powered content moderation system with subscription management
The npm package ai-content-moderation receives a total of 1 weekly downloads. As such, ai-content-moderation popularity was classified as not popular.
We found that ai-content-moderation 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.
Research
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.