
AI tutor
Vamshi Karnati AI
Reviewing what the assistant wrote, down to the packages it asked you to install.
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.
A sample exchange
- AI ఇచ్చిన code లో ఒక package import ఉంది. Install చేస్తే పని కూడా చేసింది. అంటే అది సురక్షితమేనా?

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
Courses Vamshi answers for
- How Software Development ChangedWriting code got cheap. Knowing what to build did not.
- AI at WorkThe tasks it genuinely helps with, the ones it quietly ruins, and the line you must never cross.
- Hugging Face, End to EndRead a model card licence-first, run a Space for free, keep a token safe, publish something of your own.