惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

aimingoo的专栏
aimingoo的专栏
量子位
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
S
Schneier on Security
Cisco Talos Blog
Cisco Talos Blog
T
ThreatConnect
J
Java Code Geeks
博客园 - 司徒正美
A
Arctic Wolf
T
True Tiger Recordings
C
Cybersecurity and Infrastructure Security Agency CISA
Cyberwarzone
Cyberwarzone
Know Your Adversary
Know Your Adversary
T
Threat Research - Cisco Blogs
V
Vulnerabilities – Threatpost
Recorded Future
Recorded Future
P
Palo Alto Networks Blog
The Hacker News
The Hacker News
The Register - Security
The Register - Security
S
Securelist
www.infosecurity-magazine.com
www.infosecurity-magazine.com
C
CXSECURITY Database RSS Feed - CXSecurity.com
Application and Cybersecurity Blog
Application and Cybersecurity Blog
I
Intezer
P
Privacy & Cybersecurity Law Blog
Scott Helme
Scott Helme
K
Kaspersky official blog
博客园 - 聂微东
Last Week in AI
Last Week in AI
V
V2EX
小众软件
小众软件
F
Fox-IT International blog
Martin Fowler
Martin Fowler
Apple Machine Learning Research
Apple Machine Learning Research
T
Tenable Blog
F
Future of Privacy Forum
Microsoft Security Blog
Microsoft Security Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
腾讯CDC
Stack Overflow Blog
Stack Overflow Blog
C
Check Point Blog
阮一峰的网络日志
阮一峰的网络日志
GbyAI
GbyAI
T
Threatpost
I
InfoQ
P
Proofpoint News Feed
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
T
Tor Project blog
G
GRAHAM CLULEY
D
DataBreaches.Net

DEV Community

A solution to messy token systems for Next.js A NestJS reference app that proves the nest-native stack under realistic backend pressure Observability for AI Systems: Monitoring Drift, Hallucinations, and Reliability in Production I Thought “Data Analyst” Was the Whole Game… Then I Entered the Data Avengers Office 👀 Create and configure network security groups How to analyze the cost of Kafka? How I Shipped 2,500+ Commits With AI Agents Using a 12-Phase Workflow [Boost] We built MDCMS, a Markdown-first CMS for teams using AI agents Zero Heap Allocations at 1.18 GB/s: Deep Dive into ForgeZero 4.0.x The Minimum Viable Test Suite for Working with Agents Why Perplexity Started Citing My Blog: 5 Changes That Actually Worked Sync Supabase via OAuth: No Connection String Needed I asked three AI models the same API question. Only one had it right. Implementing Saga Pattern With Lambda Durable Function Why does AI forget what you said (and how to fix it) I built a daily Wordle-style game for AI tools - Here's how Mapping Polish company structures: querying KRS direct via API Built tmpdrop — a tiny self-hosted ephemeral file drop Running Local LLM - 0$ Personal Agentic AI Assistant - Part 3 LLD Object-Oriented Design: Interfaces & Abstract Classes (Designing Contracts) The Smaller Ship: Vitalik, the Ethereum Foundation's Restructuring, and What It Leaves for Investors Looking for 4 people to build something weird with me Building a Local-Only RAG System with Ollama and TypeScript The False Positive Tax: a 1:1 TP:FP analysis of eslint-plugin-security What's new in Data Preprocessor 1.5.x — R codegen, Robust Scaler, and a deadlock post-mortem How I self-hosted my Flask app on an old laptop for almost free I built a free DSA interview prep site because I was tired of the existing options I built an AI agent that migrates Next.js Pages Router to App Router Prisma Query Logging and PostgreSQL: Where the ORM Ends and the Database Begins Prisma query logging y PostgreSQL: dónde termina el ORM y empieza la base From Browser to Server : The Journey of an HTTP Request (Demystifying the Web’s Infrastructure) Santa Augmentcode Intent Ep.6 I Benchmarked 17 ESLint Security Plugins. Only One Found Every Vulnerability. How to Build a High-Performance Image Optimization Pipeline in 5 Minutes 50 Linux Commands Every DevOps Engineer Must Know Less Toil, More Flow - Automating the Path from Request to Implementation The Code Review Checklist I Actually Use How I run a small blog on Astro 5 + Content Collections Git: Best Practices for Professionals How IBM Bob Became My Everyday Coding Companion Solana Passkey Wallet: Replacing Seed Phrases with SIMD-0075 I built a small browser puzzle game about arrows I wrapped Claude Code in a zsh function. Here's every decision I almost got wrong. Mobile Game Optimization: A Unity Developer's Checklist Git: Best Practices for Beginners Three days I lost chasing a ghost that was already dead on disk Why Too Many Parts Hurt ClickHouse Performance Guardrails for Agent Output: Pluggable Validation Before and After LLM Calls Gemma Forge: Local AI Without the Setup Wall From Half‑dead Prototype to Local‑Only AI Medical Assistant: Rewiring MedClinic with GitHub Copilot Runninig a forkbomb in Jenkins What’s Actually Happening When You Use Git Preventing Recursive Tool Loops in LangChain Agents Building a Rock-Paper-Scissors CLI with TypeScript — Union Types, Conditionals, and Jest Your AI Coding Agent Wastes 80% of Its Context. Fixed That with Graph Theory. Why Flutter Has Become the Go-To Framework for Fintech App Development We built a scripting language just for AI agents. Here's why. Stop building AI inboxes. Build decision layers instead. Meme Monday Why I Built @editora/ui-react? Are AI tools the next level of abstraction in software development? Identity on Solana: Your Wallet Is Your Account One API Call Changed Everything The Internet Career Nobody Talks About Enough: What Is DevRel? Solar Panel Wiring Diagram: Series vs Parallel Hello everyone! Glad to join the dev.to community I Built an AI Agent That Tailors My Resume - Here's How Agents Actually Work I Built a WhatsApp OTP + AI Chatbot Platform for African Businesses MTP Explained — And Why It Matters for Android on Mac Most Beginners Learn Full-Stack Development Backwards GitHub Glow-Up: Open Source, READMEs, Badges, Streaks, Git and gh CLI System Design Cheat Sheet: Concepts Every Developer Should Know Are Junior Developer Roles Actually Dying? A Fresher's Honest Take Using DigitalOcean Droplets as Ephemeral Sandboxes for AI Agents I built a VSCode extension that visualises your code navigation as a call tree — made for legacy codebase pain Vite predev/prebuild: chaining scripts without losing your mind A website to save you from messy browser tabs Dear Web2 Developer... Solana is here calling Postgres JSONB indexes: GIN vs BTREE on the same column The $5 AI That Remembers Everything What are your goals for the week? #180 Zettelkasten for Developers: A Practical Method That Works OpenClaw vs Hermes Agent: Stars, Downloads & Usage 2026 `act` vs. `waitFor` Global Teams Don’t Struggle With Time Zones. They Struggle With Context Python as a JavaScript Dev $5.4 Billion in Damage. 8.5 Million Machines Down. Three YAML Controls Would Have Prevented It. Here's the Structural Analysis. 🚫 Stop Using PN532 V1 for Your NFC Projects (Real Debugging Experience) Probabilistic Graph Neural Inference for smart agriculture microgrid orchestration for extreme data sparsity scenarios Inference Is Becoming the New Steady-State Cost Center Why AI-Generated Code Is Always Good Enough — And Never Great I built a dark admin dashboard template in HTML — no React, no npm, just pure HTML What is the Difference Between Lattice-Based and Hash-Based Signatures? Next.js App Router caching: revalidate, dynamic, and no-store without the folklore Next.js App Router caching: revalidate, dynamic y no-store sin folklore I built Stashly — a full-stack content manager with a rich text editor published: false tags: react, node, mongodb, typescript Why I Started Building React Projects Instead of Just Watching Tutorials ? Every Tool Eventually Becomes Tuesday Nobody Warns You That Real Software Engineering Feels Chaotic
BugBench: a developer origin story and practical guide for VS Code / Kiro users
Simphiwe Twa · 2026-05-25 · via DEV Community

Simphiwe Twala

A short origin: BugBench began as a scrappy NetBeans plugin, matured into CodeRef for IntelliJ with a robust Java/Kotlin analysis engine, and was later wrapped into a JVM-backed language server and TypeScript client so the same engine could run inside VS Code and Kiro. The modern extension preserves the original analysis rules while giving you a lightweight, cross-editor experience with git-diff awareness, SARIF output, and an easy-to-rebuild VSIX.


From NetBeans to CodeRef to BugBench — the arc that matters

  • Prototype (NetBeans) — fast, focused static checks to surface likely bugs in Java projects.
  • Maturity (CodeRef / IntelliJ) — richer AST parsing, Kotlin support, and a proven rule set.
  • Port (VS Code / Kiro) — instead of rewriting the analysis core, the team wrapped ~90% of the Java/Kotlin implementation into a JVM server and built a TypeScript client. That allowed the same engine to be consumed by modern editors while keeping the analysis logic intact.

What the BugBench extension gives you (features and benefits)

  • On‑demand project scans powered by the original Java/Kotlin engine.
  • Git diff awareness so scans can focus on changed files and produce compact, review‑friendly results.
  • SARIF export for CI, code review, and security dashboards.
  • Self‑contained VSIX packaging that bundles the JVM server artifacts and the TypeScript client for easy install in VS Code compatible editors.
  • Editor commands and quick fixes surfaced inline so developers can triage issues without leaving the editor.
  • Rebuildable from source — the repo documents how to produce the fat jars and package the VSIX so teams can audit and reproduce the build.

Quick start — install, run, and CI examples

Prerequisites

  • JDK 17 (or the version documented in the repo)
  • Node 20+ and npm or yarn
  • Gradle (or use the included Gradle wrapper)
  • ovsx CLI (optional, for publishing to Open VSX)

Install the extension (VSIX)

# If you have a VSIX file:
code --install-extension ./bugbench-1.2.3.vsix

# For Kiro or other VS Code forks:
kiro --install-extension ./bugbench-1.2.3.vsix

Enter fullscreen mode Exit fullscreen mode

Download extension for VSCode and Kiro

Locate the BugBench extension from the website below;
https://open-vsx.org/extension

build the TypeScript client and package the extension

cd client
npm install
npm run build

create VSIX (uses vsce or similar packager)

npx vsce package

result: bugbench-.vsix


#### Publish to Open VSX (optional)

Enter fullscreen mode Exit fullscreen mode


bash

install ovsx

npm i -g ovsx

publish (you need an Open VSX account and token)

ovsx publish ./bugbench-.vsix --pat


#### Run the bundled JVM scanner locally

Enter fullscreen mode Exit fullscreen mode


bash

run a full workspace scan

java -jar build/libs/bugbench-server-all.jar --scan . --format sarif --out results.sarif

run a git-diff focused scan (scan only changed files)

java -jar build/libs/bugbench-server-all.jar --scan . --diff HEAD~1 --format sarif --out diff-results.sarif


#### CI example: produce SARIF and upload

Enter fullscreen mode Exit fullscreen mode


bash

produce SARIF

java -jar build/libs/bugbench-server-all.jar --scan src --format sarif > bugbench.sarif

upload to a SARIF consumer (example placeholder)

curl -X POST -H "Content-Type: application/sarif+json" --data-binary @bugbench.sarif https://ci.example.com/sarif/upload


---

### Commands and actions inside Kiro (editor commands)
The extension exposes editor commands (Command Palette) and a small set of CLI-like actions you can trigger from Kiro. Typical commands you’ll see in the Command Palette:

- **BugBench: Scan Workspace** — run a full project scan.  
- **BugBench: Scan Git Diff** — scan only files changed in the current branch or between two commits.  
- **BugBench: Toggle Live Scan** — enable/disable background scanning on file save.  
- **BugBench: Show Results** — open the results panel with issues grouped by file and rule.  
- **BugBench: Export Results as SARIF** — export the last scan to a SARIF file.  
- **BugBench: Open Server Logs** — view the JVM server logs for debugging.  
- **BugBench: Rebuild Index** — re-index project sources used by the analysis engine.  
- **BugBench: Run Rule Set** — run a specific rule or rule group by name.  
- **BugBench: Ignore Issue / Add Suppression** — add an inline suppression comment or project-level ignore entry.  

You can bind these commands to keyboard shortcuts in Kiro’s keybindings if you prefer faster access.

---

### Kiro CLI examples (install, list, manage extensions)
Kiro exposes a `kiro` CLI compatible with many `code` commands. Useful commands:

Enter fullscreen mode Exit fullscreen mode


bash

install an extension VSIX

kiro --install-extension ./bugbench-1.2.3.vsix

uninstall an extension

kiro --uninstall-extension vendor.bugbench

list installed extensions

kiro --list-extensions

show extension details (if supported)

kiro --show-versions

open Kiro with a workspace

kiro path/to/project




(If your Kiro build uses a different binary name, substitute accordingly; the extension also works via the editor UI.)

---

### Contributing and practical tips
- **Improve rules** in the Java/Kotlin analysis core if you want more precise detections.  
- **Add or refine suppressions** and project-level configuration to reduce noise.  
- **Enhance the TypeScript client** to add richer UI flows (e.g., inline fix suggestions, PR annotations).  
- **Audit and rebuild** the VSIX in your CI to ensure reproducible artifacts for your org.

---

### Closing notes
BugBench’s story is a reminder that **good analysis engines outlive any single editor**. By wrapping the proven Java/Kotlin core in a JVM server and building a lightweight TypeScript client, the project kept the analysis logic intact while making it accessible to modern workflows in VS Code and Kiro. If you want, I can turn this into a ready-to-publish dev.to post with badges, a short GitHub Actions CI snippet for building the VSIX, and a checklist for adding BugBench to a PR workflow.

Enter fullscreen mode Exit fullscreen mode