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.
Unknown and invented packages card 2 of 6

Invented names that attackers claim

builds on: Outdated knowledge and invented APIs
The agent can invent a package name the same way it invents a function: it produces the most plausible-sounding text. The same invented names tend to come up again and again for similar requests. Attackers find them by asking AI tools common questions themselves, then publish harmful packages under those names (**slopsquatting**). Others publish misspellings of popular packages (**typosquatting**). Installing can run the package's setup code right away, with your user's access, before your script ever uses it.
Terms on this card
package
A bundle of reusable code published by someone else that you download into your project, such as `requests` or `pdfplumber`.
slopsquatting
Publishing a harmful package under a name AI tools tend to invent, hoping someone installs it on an agent's suggestion.
typosquatting
Publishing a harmful package under a misspelling or look-alike of a popular package's name, such as `reqeusts` for `requests`.
setup code
Code a package can run automatically while it is being installed. A harmful package can do damage at this moment.
script
A small program, usually one file, that you run to do a task, like `report.py`.
Learn this step by step on Bytewise
Lesson goal: Explain why an agent may suggest a package that does not exist or is a malicious look-alike, which attackers register on purpose. Check name, publisher, popularity and need before approving an install. · the whole lesson