Skip to main content
AK Ankush Kaura
← All writing

Topic

AI Coding Assistants

4 posts tagged AI Coding Assistants: guides, how-tos and notes.

HalluSquatting AI coding assistant attack

Why I'm Now Double-Checking Every Repo My AI Assistant Suggests

I've been leaning on AI coding assistants a lot lately, so a piece of security news I came across this month genuinely made me stop and rethink my workflow. Researchers have found a way to trick these tools into quietly installing malware, and the more I dug into it, the more it felt like something worth writing down. The technique has a name that stuck with me: HalluSquatting. It plays on a habit a lot of us have already noticed, which is that AI assistants sometimes invent repository names that don't actually exist. Attackers figured out they can register those made-up names ahead of time and stuff them with malicious instructions, betting that the AI will eventually hallucinate and recommend one of them. Here's the part that unsettled me. When you ask your assistant for help, it can pull code from one of these fake repos instead of the real thing, and the hidden instructions inside can push it to download and run harmful software on your machine, all while it looks like it's just doing normal project work. Reportedly this has been demonstrated against nine major tools, including Cursor, GitHub Copilot, Windsurf, Gemini CLI, and others, with success rates reaching as high as 100 percent on certain common tasks. What worries me most is how invisible it is. There's no obvious red flag, no shady download prompt. The agent follows what reads like a legitimate instruction while quietly stealing credentials, dropping backdoors, or roping the machine into a botnet. So I'm changing a few things about how I work. I'm actually reading the code my assistant suggests instead of skimming it, testing anything new in an isolated environment, and being far stricter about the permissions I hand my agents. It's a small tax on speed, but after reading this, it feels more than worth it. The tools are getting more powerful, and I'd rather they stay working for me than get turned against me.

20 Jul 2026 · 2 min read

Types of AI Agent Loops

The 4 AI Agent Loops in Claude Code (Explained Simply)

A plain-English guide to the four AI agent loop types in Claude Code: turn-based, goal-based, time-based, and proactive. The one question that picks the right one, easy examples for each, and the mistakes that break loops in practice.

20 Jul 2026 · 4 min read

How OpenAI Uses Codex: 7 Real-World Engineering Use Cases and Best Practices

How OpenAI Uses Codex: 7 Real-World Engineering Use Cases and Best Practices

OpenAI's engineering teams use Codex daily across Security, Product, Frontend, API, Infrastructure, and Performance Engineering. This article explores 7 key use cases from code understanding and refactoring to performance optimization and exploration along with best practices that help teams move faster, write better code, and manage complexity at scale.

17 May 2026 · 2 min read

mistral vibe

Build and Use Mistral Vibe — The CLI Coding Assistant

Mistral Vibe is a modern command-line coding assistant that lets you query, explore, and modify your codebase using natural language right in the terminal. It’s like having a smart junior dev that lives in your shell and understands your whole repo.In this walkthrough, we’ll break down how to set it up, configure it, and start using it — so you can share this on your blog with no fluff and all the practicals.

17 Dec 2025 · 3 min read