Skip to main content

Overview

KafkaCode supports 7 major programming languages commonly used in modern application development. The scanner automatically detects file types and applies appropriate analysis techniques.

Supported Languages

Python

.py filesFull support for Python 2 and 3

JavaScript

.js filesES5, ES6+, Node.js, Browser JS

TypeScript

.ts filesAll TypeScript versions

Java

.java filesJava 8 through Java 21

Go

.go filesAll Go versions

Ruby

.rb filesRuby 2.x and 3.x

PHP

.php filesPHP 7.x and 8.x

Language-Specific Features

Python

What KafkaCode detects in Python:

JavaScript / TypeScript

What KafkaCode detects in JS/TS:

Java

What KafkaCode detects in Java:

Go

What KafkaCode detects in Go:

Ruby

What KafkaCode detects in Ruby:

PHP

What KafkaCode detects in PHP:

File Type Recognition

KafkaCode automatically recognizes files by extension:
More languages are coming soon! Check our roadmap for upcoming support.

Ignored Files & Directories

KafkaCode automatically skips:

Built-in Ignores

Version Control

  • .git/
  • .svn/
  • .hg/

Dependencies

  • node_modules/
  • vendor/
  • bower_components/

Python

  • venv/
  • .venv/
  • __pycache__/
  • .pytest_cache/
  • *.pyc

Build Outputs

  • build/
  • dist/
  • target/
  • out/
  • .next/

Gitignore Support

KafkaCode automatically respects your .gitignore:
All files matching these patterns are automatically excluded from scanning.

Multi-Language Projects

KafkaCode handles polyglot repositories seamlessly:
All files are scanned with appropriate language-specific rules.

Language-Specific Patterns

Each language has custom detection patterns:
  • Django SECRET_KEY detection
  • Flask app.secret_key patterns
  • SQLAlchemy connection strings
  • Environment variable misuse
  • process.env misuse detection
  • JWT secret patterns
  • API key in fetch/axios calls
  • LocalStorage/Cookie PII
  • JDBC connection string patterns
  • Spring @Value misuse
  • Properties file secrets
  • Hibernate credentials
  • Connection DSN patterns
  • Const secret detection
  • Environment variable handling
  • Config struct analysis

Coming Soon

C / C++

Support planned for Q2 2025

C# / .NET

Support planned for Q2 2025

Rust

Support planned for Q3 2025

Kotlin

Support planned for Q3 2025

Swift

Support planned for Q4 2025

Scala

Support planned for Q4 2025
Want a specific language? Request it on GitHub or contribute a PR!

Next Steps

Detection Methods

Learn what KafkaCode detects

Basic Scanning

Start scanning your code

Custom Patterns

Add language-specific rules

Examples

See real-world examples