Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Untrusted text steering the agent card 1 of 6

Where did that command come from?

builds on: The agent loop: act, observe, repeat, What the agent can and cannot see
You ask the agent to fix a bug that a stranger reported in your project's public **issue tracker**. The agent reads the issue. Then it wants to run a command that sends your file of passwords to a website you have never heard of. You never asked for anything like that. So where did that step come from?
Terms on this card
issue tracker
A public list where people report bugs or requests for a project, for example on GitHub. Anyone can write in it.
issue
One bug report or request in an issue tracker, written by whoever opened it.
command
A line of text that tells the computer to run a program, typed in a terminal, for example `python src/cart.py`.
agent
An AI tool that doesn't just chat. It reads your project's files, edits them and runs commands to carry out a task you give it.
Learn this step by step on Bytewise
Lesson goal: Explain prompt injection: instructions hidden in a web page, issue, README, dependency or data file can redirect the agent. Explain why private data plus untrusted input plus a way to send data out is the dangerous combination. · the whole lesson