Ask your AI Ask your AI to turn this code into a guided bug-finding exercise.
Claude ChatGPT I am reading "A generated change adds a familiar-looking package for a small helper. Which evidence best supports admitting it?" on CodeWiki (https://codewiki.com/practice/mcq/ai-era/generated-code-security/choose-dependency-admission-evidence/).
Context (verbatim from the page):
"""
A generated change adds a familiar-looking package for a small helper. Which evidence best supports admitting it?
Manifest and lockfile review, expected registry and integrity, transitive and install-script changes, vulnerability results, and justified need
The package name resembles a popular package and the model recommends it
The application unit tests pass after ignoring lockfile changes
The direct package has few source lines
"""
Introduce three subtle bugs into the example above and let me find them. Reveal each answer only after I have guessed.
Answer in English. Keep code examples in Coding in the AI era. Where you are unsure, say so.