How Software Development ChangedLesson 69 of 87

Module 8 · Provenance, security and the unsettled law

The package that did not exist until an attacker made it

In this lesson

  • 9 min read
  • 6 reading sections
  • Knowledge check
  • Lesson 1 of 10 in this chapter

This chapter’s goalSecure a change whose author may have been a model: verify a dependency before installation rather than after, name the vulnerability classes that arrive by default and the one class no scanner can find, break the lethal trifecta so an injected instruction cannot both reach secrets and send them anywhere, and state the shape of the copyright disagreement across jurisdictions without pretending it is settled.

This chapter’s media

The film explains chapter ideas. The audiobook narrates the complete teaching text.

FormatEnglishहिंदी
Chapter filmNot availableNot available
Full audiobookNot availableNot available

A little at a time

Explore an idea, try it, then check what stays.

Step 1 of 7Free · no account needed
Lesson steps

A new door, opened by a specific failure

Ask for code that parses a config format and you may get an import for a library that has never existed. The model produced a name of the right shape (plausible prefix, plausible suffix, the naming convention of that ecosystem) because that is what it does. The name is fiction.

On its own that is a broken build, and broken builds are cheap. The problem is what happens next. An attacker who knows which names get invented can register them. Then the fictional import resolves, the install script runs, and code the attacker wrote is executing on a developer machine with that developer’s credentials.

The name that stuck for this is slopsquatting, by analogy with typosquatting.

Your place and first choices stay on this browser. Classroom credit is recorded separately.

Every lesson here is open. Your progress is recorded once you pass the AI at Work exam.

Stuck on something?Ask Larissa, your AI tutor

How to cite: Addaly (2026) ‘The package that did not exist until an attacker made it’, in How Software Development Changed. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/how-software-changed/packages-that-do-not-exist (Accessed: 29 November 2026).