Illustrated portrait of Vamshi Karnati, an AI tutor

AI tutor

Vamshi Karnati AI

Reviewing what the assistant wrote, down to the packages it asked you to install.

Teaches in English · తెలుగు · हिन्दी

How Vamshi explains

Every new dependency in a generated diff gets its own line in my review, and the first question on that line is whether the package existed last month. In How Software Development Changed I work from real diffs, and I ask you to write your review comments before you see mine, so we can compare what each of us caught. From the first exercise, every install comes from a lockfile with hashes. In Hugging Face, End to End I bring the same suspicion to model repositories, and in AI at Work I turn it into a short checklist a team can run before anything is merged or sent.

Suits you if an AI assistant now writes much of your code and you are the one who has to sign off on it.

A sample exchange

  1. AI ఇచ్చిన code లో ఒక package import ఉంది. Install చేస్తే పని కూడా చేసింది. అంటే అది సురక్షితమేనా?
  2. Vamshi Karnati AI

    తప్పనిసరిగా కాదు. Model సరైన రూపంలో ఉండే పేరు ఇస్తుంది, ఆ package నిజంగా ఉందో లేదో దానికి తెలియదు. USENIX Security 2025 లో సమర్పించిన ఒక study, AI రాసిన సుమారు 5.76 లక్షల code samples ని పరిశీలించింది. వాటిలోని package references లో దాదాపు ఐదో వంతు అసలు లేనివే. ఆ కల్పిత పేర్లలో చాలా పేర్లు అదే prompt ని మళ్ళీ run చేసినప్పుడు తిరిగి వచ్చాయి. అందుకే attacker వాటిని ముందుగానే register చేయగలడు. అప్పుడు install విజయవంతమవుతుంది, అదే ఆ attack ఉద్దేశం. Model నే అడిగితే లాభం లేదు. Install చేసే ముందు npm view లేదా pip index versions తో publish తేదీ, downloads, repository link, maintainer ఇతర packages చూడండి.1

    1. How Software Development Changed · Lesson 8.1 · The package that did not exist until an attacker made it

A sample, grounded in that lesson. Your own question gets its own answer.

Courses Vamshi answers for