Skip to main content

Find and fix bugs in Python and TypeScript with one command

Project description

Hikaflow

Find and fix bugs in Python and TypeScript with one command.

Hikaflow scans your code with 8 engines (Ruff, Bandit, Semgrep, mypy, ESLint, Vulture, npm audit, AST), finds real bugs, and fixes them with AI — syntax-checked and linted before applying.

pip install hikaflow
hikaflow scan

No config needed. No login required for scanning.

What it finds

  • Security vulnerabilities (SQL injection, XSS, hardcoded secrets, eval usage)
  • Type errors (wrong argument types, None dereference, missing attributes)
  • Bugs (missing await, unchecked None, loose equality, empty catch blocks)
  • Dead code and unused imports
  • Dependency vulnerabilities (pip-audit, npm audit)
  • Code smells (bare except, mutable defaults, type coercion)

Quick start

Scan your project

cd your-project
hikaflow scan

Output:

Scanning 142 files...

 CRITICAL  api/auth.py:47       SQL injection via string formatting
 HIGH      payments.ts:23       Missing await on async call
 HIGH      app.tsx:91           User input in dangerouslySetInnerHTML
 MEDIUM    utils.py:12          Bare except clause hides errors
 LOW       config.py:8          Unused import: os

Found 5 issues (1 critical, 2 high, 1 medium, 1 low)

Fix issues with AI

hikaflow scan --fix

Select issues with arrow keys, preview the diff, and apply. Fixes are syntax-checked and linted before applying.

Fix everything at once

hikaflow scan --fix-all

Only scan changed files

hikaflow scan --changed

Generate an HTML report

hikaflow scan --html report.html

Supported languages

Language Engines
Python Ruff, Bandit, Semgrep, mypy, Vulture, pip-audit, 13 AST specialists
TypeScript / JavaScript ESLint, Semgrep, npm audit, 6 tree-sitter specialists

Configuration

Create .hikaflow.yml in your project root to suppress rules or paths:

ignore_rules:
  - hardcoded-secret    # Suppress specific rules
  - unused-import

ignore_paths:
  - "vendor/*"          # Skip vendored code
  - "*.test.ts"         # Skip test files
  - "migrations/*"

CI integration

hikaflow ci-setup

This generates:

  • .github/workflows/hikaflow.yml — GitHub Action that runs on every PR
  • .hikaflow.yml — default config
  • Pre-commit hook (optional)

Or add manually to your workflow:

- name: Install Hikaflow
  run: pip install hikaflow

- name: Scan for bugs
  run: hikaflow scan --json > hikaflow-results.json

- name: Fail on critical issues
  run: hikaflow scan --exit-code

AI fixes (free tier)

Scanning is free and unlimited. AI fixes require a free account:

hikaflow login
hikaflow scan --fix
Plan AI fixes / month Price
Free 5 $0
Pro 100 $19/mo
Team 1,000 $49/mo

Sign up at debug.hikaflow.com.

Commands

Command Description
hikaflow scan Scan code for bugs and security issues
hikaflow scan --fix Interactive AI fix mode
hikaflow scan --fix-all Fix all issues automatically
hikaflow scan --changed Only scan git-changed files
hikaflow scan --html out.html Generate HTML report
hikaflow ci-setup Generate CI config and pre-commit hooks
hikaflow login Authenticate (required for AI fixes)
hikaflow doctor Check environment and dependencies

Requirements

  • Python 3.9+
  • Node.js (optional, for ESLint/npm audit on JS/TS projects)

Links

License

Proprietary - All rights reserved.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hikaflow-2.5.3.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hikaflow-2.5.3-py3-none-any.whl (1.3 MB view details)

Uploaded Python 3

File details

Details for the file hikaflow-2.5.3.tar.gz.

File metadata

  • Download URL: hikaflow-2.5.3.tar.gz
  • Upload date:
  • Size: 1.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for hikaflow-2.5.3.tar.gz
Algorithm Hash digest
SHA256 5e0de31bd7c38e8f58d939eeb8c8dd764c4192b3bfd97a6d1f0a7a1f7b7ad01e
MD5 afe6987f84d23b4345c06fb6ba5c45c4
BLAKE2b-256 7bc41f32f16000949d4b36ff17dd2204e0f19bdae86f148622b6a8ac10a4ece0

See more details on using hashes here.

File details

Details for the file hikaflow-2.5.3-py3-none-any.whl.

File metadata

  • Download URL: hikaflow-2.5.3-py3-none-any.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for hikaflow-2.5.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7e709ba7e52471ae7a20da0ddd2b646b51cd1b4c3cb40cdcd781ddfde20bc6d9
MD5 21cc770331e8c6ee99c7679f7cf2e62a
BLAKE2b-256 c5160fe89b6703cedb7baad33368cf27e93058ecd02f5c2fbd0d2f5f8a247e3f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page