WhoBuilt

Agentic Security: Permissions, Provenance, and the Agent Supply Chain

Jul 20, 2026· 23 min· 4.0K views·Watch on YouTube

Speaker

Steve Yegge, speaking on behalf of Snyk at an AI Engineer event, warns about security risks from AI-generated code and agents, and describes ways to review code and limit agent permissions.

AI coding expands the security surface

Yegge argues that faster code production can multiply security defects, and that AI may also increase the defect rate. He gives slopsquatting as an example: an AI invents a package name, and an attacker publishes a convincing package under that name with a backdoor.

Find vulnerabilities while code is being written

Drawing on his experience with Google's test automation work, Yegge says issues are easier to fix when surfaced during coding. Security risks do not fade with time, so he recommends bringing security findings directly to developers or agents.

Run security as a dedicated review pass

Yegge says an AI security hardening pass on his long-running game missed issues that Snyk found: 241 vulnerabilities. He recommends giving agents separate review passes for security and other goals, and using tools such as Snyk and Chainguard to check code and dependencies.

Prepare for agent actions and prompt injection

In the Q&A, Yegge describes always-on agents as a new security challenge, since agents may have more credentials than their tasks require. He recommends adversarial supervision and separating permissions by action. On prompt injection, he says attacks can place instructions in user-supplied text and calls for broader education.

Treat personal scams as a security risk

Yegge urges people to refresh family code words to help identify convincing AI-generated distress calls. He warns that such scams could be used to drain bank accounts, and says the effects of AI security threats will reach individuals as well as companies.

Takeaways

  • Add a dedicated security review pass to AI-generated code before shipping.
  • Run security checks as code is produced, when findings are easier to fix.
  • Check dependency names and provenance before accepting AI-suggested packages.
  • Give agents only the credentials needed for each action, and supervise long-running work.
  • Set a private family code word to verify urgent requests for money.

Mentioned in this talk

Search inside this talk

What was claimed 12

  • previously at
    Steve Yegge previously at Google
    “When I worked at Google”
    YouTube
    Verified2 sources· Talk, Web· archived
  • works at
    Steve Yegge works at Snyk
    “I'm here on behalf of Snyk today.”
    YouTube
    Unverified1 source· Talk
  • feature
    Fable: Generated an XSS vulnerability during Yegge's brief use
    “Fable wrote an XSS vulnerability during the short time I had with it.”
    YouTube
    Unverified1 source· Talk
  • metric
    Steve Yegge: Has worked on his game for 30 years
    “I have a game I've been working on for 30 years.”
    YouTube
    Unverified1 source· Talk
  • metric
    Snyk: Found 241 vulnerabilities in Yegge's game codebase
    “It found 241 vulnerabilities”
    YouTube
    Unverified1 source· Talk
  • feature
    Snyk: Scans code and dependencies for vulnerabilities
    “I ran Snyk. ... It found 241 vulnerabilities”
    YouTube
    Unverified1 source· Talk
  • feature
    Chainguard: Provides pre-vetted images with no vulnerabilities and updates them
    “they give you images that have been pre-vetted to have no vulnerabilities, and they update them”
    YouTube
    Unverified1 source· Talk
  • feature
    Steve Yegge: Recommends security as both the first and last code review pass
    “security should be your first one and your last one”
    YouTube
    Unverified1 source· Talk
Show all 12 facts

Related talks