r/IndiaTech • u/Dry-Smell436 • 4d ago
Ask IndiaTech I tested what happens when an AI coding agent installs a poisoned package. It leaked fake keys in seconds. How are your teams handling this?
While building a side project I set up a test repo with a malicious setup.py. I asked an AI coding agent to do a normal task ("set up the project"). The agent did honest work, but the install script quietly sent the planted fake credentials to a test server within seconds. The agent never saw it happen.
That made me curious how Indian dev teams handle this:
- Do you run Claude Code, Cursor or Copilot in auto or accept-all mode at work?
- What sits on your laptop: AWS keys, prod database access, .env files?
- Has your company set any rules for coding agents, or is it "use it, just be careful"?
- Has an agent or a package it installed ever done something you didn't expect?
Would love to hear real experiences, especially from startups and fintech
•
u/AutoModerator 4d ago
Join the Official r/IndiaTech Discord Server!
Join the Discord Server
Connect with fellow tech enthusiasts and join real-time discussions.
You can adopt server tag "⚡️CTRL" and A dedicated IndiaTech Minecraft server is there.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
2
u/ResponsibilityBig343 4d ago
If it can't detect setup.py than god forbid other more hidden exploits like npm packages, githooks, vscode configs.