New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

kafkacode

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

kafkacode

AI-powered privacy and compliance scanner by KafkaLabs - identify PII leaks, secrets, and compliance violations

latest
Source
npmnpm
Version
1.2.0
Version published
Maintainers
1
Created
Source

KafkaCode Privacy Scanner

by KafkaLabs

🔐 Shift-left privacy and compliance scanner for source code

WebsiteGitHubnpm

KafkaCode is an AI-powered privacy scanner by KafkaLabs that helps developers identify potential privacy issues, PII leaks, and compliance violations in their source code before they reach production.

Features

  • 🔍 Pattern-based Detection: Identifies hardcoded secrets, API keys, and sensitive data
  • 🤖 AI-powered Analysis: Uses advanced LLM analysis for contextual privacy issues
  • Fast & Efficient: Scans entire codebases in seconds
  • 🎯 Multiple File Types: Supports Python, JavaScript, TypeScript, Java, Go, Ruby, PHP
  • 📊 Detailed Reports: Beautiful console reports with severity levels
  • 🚀 CI/CD Ready: Easy integration with build pipelines

Installation

npm install -g kafkacode

Or using npx (no installation required):

npx kafkacode scan /path/to/your/project

Usage

Basic Scan:

kafkacode scan /path/to/your/project

Verbose Output:

kafkacode scan /path/to/your/project --verbose

What it detects

  • Critical Issues: AWS keys, Stripe keys, Private keys
  • High Severity: Sensitive keywords in assignment context
  • Medium Severity: Email addresses, Phone numbers, High entropy strings
  • Low Severity: IP addresses, URLs

Privacy Grade

KafkaCode assigns a privacy grade (A+ to F) based on the severity and number of issues found:

  • A+/A/A-: Excellent privacy practices
  • B+/B/B-: Good privacy practices with minor issues
  • C+/C/C-: Moderate privacy issues that should be addressed
  • D: Multiple high-severity privacy issues
  • F: Critical privacy vulnerabilities detected

Example Output

🎯 PRIVACY SCAN REPORT
═══════════════════════════════════════

📊 SCAN SUMMARY
📁 Directory: ./src
⏰ Timestamp: 2024-01-15 10:30:45
📄 Files Scanned: 25
🔍 Total Issues: 3
🏆 Privacy Grade: 🟡B-

License

MIT License - Copyright (c) 2025 KafkaLabs

See LICENSE file for details.

About KafkaLabs

KafkaCode is built by KafkaLabs, helping developers build privacy-first applications.

Made with ❤️ by KafkaLabs

Keywords

privacy

FAQs

Package last updated on 05 Oct 2025

Did you know?

Socket

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.

Install

Related posts