Skip to content

Releases

Sudeshi Code Review v1.2.0 — Security Hardening

Choose a tag to compare

@sriram23 sriram23 released this 05 Nov 15:07
c2da967

Sudeshi Code Review v1.2.0 — Security Hardening

This release focuses on making the existing security checks more reliable and strengthening safeguards around AI-assisted review. It does not add new detection rules.

What's new

Security detection and evidence

  • Improved hardcoded-secret detection for credentialed database URLs and quoted or statically computed object-property keys.
  • Redacted all detected secret literals from the affected finding-evidence line.
  • Improved unsafe-link detection for JavaScript URLs in direct JSX string expressions and static template expressions.
  • Avoided resolving shadowed outer variables as if they were local values.
  • Corrected JSX parsing for .js and .jsx source files so the existing JSX-based rules can analyze JavaScript files containing JSX.

AI-context redaction

  • Hardened redaction for recognized secret values in supported source patterns, including quoted and statically computed object-property keys.
  • Expanded regression coverage for repeated occurrences and edge cases.
  • Clarified the best-effort limitation: the tool cannot guarantee that every secret will be detected or removed before source context is sent to Sarvam AI.

CLI and package

  • Expanded CLI help with usage, options, environment variables, and examples.
  • Verified short and long help/version flags.
  • Validated the published-package layout and clean production installation, including the runtime TypeScript dependency and npm CLI executable.

Validation

  • 176 tests passed across 19 test files.
  • Formatting, lint, and build checks passed.
  • The v1.2.0 tarball installed successfully in a clean consumer project with production dependencies only.
  • The installed CLI was verified against a sample repository, including Markdown and JSON report generation and redacted secret evidence.
  • Deterministic scanning was verified without SARVAM_API_KEY.

Install

npm install --global sudeshi-code-review

Requires Node.js 24 or later.

Important limitations

Sudeshi Code Review is a focused static-analysis tool, not a comprehensive security scanner. Findings can include false positives and false negatives. AI-context redaction is best-effort and must not be treated as a guarantee that every secret is removed. Review the README and SECURITY.md before enabling AI review on private or sensitive source code.

Full Changelog: v1.1.1...v1.2.0

Sudeshi Code Review v1.1.1

Choose a tag to compare

@sriram23 sriram23 released this 24 Oct 08:08
624dd7b

What's New in v1.1.1

Improved terminal output

  • Added severity-based colors for high, medium, and low findings.
  • Improved report headings, summaries, and separators.
  • Wrapped long finding messages, file paths, and AI recommendations.
  • Respected terminal color settings and the NO_COLOR environment variable.

Testing

  • Expanded tests for terminal formatting and constrained-width wrapping.

No new runtime dependencies.

Full Changelog: v1.1.0...v1.1.1

Sudeshi Code Review v1.1.0

Choose a tag to compare

@sriram23 sriram23 released this 23 Oct 14:39
77bb07f

What's New in v1.1.0

Improvements

  • Better scan quality: Improve repository scanning and finding accuracy.
  • Flexible reporting: Support JSON reports and configurable output paths.
  • CLI progress feedback: Show scan progress while keeping JSON output clean.
  • Secret redaction: Redact hardcoded secret values from finding evidence, including variable declarations, object properties, and escaped string literals.

Testing

  • 147 tests passing.
  • Build, lint, and formatting checks passing.

What's Changed

Full Changelog: v1.0.0...v1.1.0

Sudeshi Code Review v1.0.0

Choose a tag to compare

@sriram23 sriram23 released this 20 Oct 11:36

Sudeshi Code Review v1.0.0

The first public release of Sudeshi Code Review, a TypeScript CLI for detecting selected security patterns in JavaScript and TypeScript repositories.

Features

  • Detects selected dangerous HTML insertion patterns.
  • Flags selected hardcoded-secret patterns.
  • Detects JavaScript URLs in JSX links.
  • Generates Markdown reports with severity and evidence.
  • Supports optional AI-assisted review using Sarvam AI.
  • Works without an AI API key using deterministic rules.

Installation

npm install --global sudeshi-code-review

Run a review:

sudeshi-code-review /path/to/repository

Important limitations

This is a focused static-analysis tool, not a comprehensive security scanner. Findings may include false positives or false negatives. AI assessments are advisory, and AI-context redaction has known limitations. Review the README and SECURITY.md before using AI review with private or sensitive source code.