Truth in IT
    • Sign In
    • Register
        • Videos
        • Channels
        • Pages
        • Galleries
        • News
        • Events
        • All
Truth in IT Truth in IT
  • Data Management ▼
    • Converged Infrastructure
    • DevOps
    • Networking
    • Storage
    • Virtualization
  • Cybersecurity ▼
    • Application Security
    • Backup & Recovery
    • Data Security
    • Identity & Access Management (IAM)
    • Zero Trust
    • Compliance & GRC
    • Endpoint Security
  • Cloud ▼
    • Hybrid Cloud
    • Private Cloud
    • Public Cloud
  • Webinar Library
  • TiPs
  • DRAW
  • CPE

Snyk: AI Code Assistant Runs Its Own Security Audit

Snyk
07/05/2026
0 (0%)
Share
  • Comments
  • Download
  • Transcript
Report Like Favorite
  • Share/Embed
  • Email
Link
Embed

Transcript


It's on the last step of its to-do list for this prompt. I noticed it's running its own audit. I'm using PMPM on this machine. It ran PMPM audit, and that's giving it a little bit of an advantage in the sense that it's going to read the security results for open source dependencies that PMPM provides to it. And so now what it's trying to do is address those. And I think that kind of gives it a little bit of an unfair advantage, but the fact that it knew to do that is also a nice thing. On the other hand, it'd be great if the model just chose open source dependencies that didn't have vulnerabilities in them in the first place, so that it would not have to go through this iteration of finding and fixing vulnerabilities in those dependencies.

TL;DR

  • An AI code assistant autonomously ran a pnpm security audit mid-task, demonstrating proactive security awareness without being explicitly instructed to do so.
  • The model read the audit results and attempted to fix vulnerable open-source dependencies, adding a self-directed remediation step to its workflow.
  • The presenter argues the ideal outcome would be for AI models to select vulnerability-free dependencies upfront, eliminating the need for iterative find-and-fix cycles.

Summary

This short clip captures a live observation of an AI code assistant — running inside the Cursor IDE — autonomously executing a package manager security audit (pnpm audit) as part of its own workflow. The presenter notes that the model proactively ran the audit to read open-source dependency vulnerability results and then attempted to remediate the flagged issues. While this self-directed security awareness is framed as a positive signal — demonstrating that AI agents can recognize and act on security signals without being explicitly prompted — the presenter also raises a more fundamental concern: ideally, the AI model would select secure open-source dependencies from the outset, avoiding the need for a find-and-fix iteration loop altogether. The clip is an excerpt from a longer video exploring AI code security practices, and highlights the evolving capability — and current limitations — of AI-assisted development when it comes to dependency security.

Chapters

0:00 - Task Nearing Completion
0:05 - AI Runs Its Own Audit
0:20 - Addressing Vulnerabilities
0:30 - The Ideal: Secure Dependencies Upfront

Key Quotes

0:05 "I noticed it's running its own audit."
0:11 "... that's giving it a little bit of an advantage in the sense that it's going to read the security results for open source dependencies that PMPM provides to it."
0:30 "... it'd be great if the model just chose open source dependencies that didn't have vulnerabilities in them in the first place, so that it would not have to go through this iteration of finding and fixing vulnerabilities in those dependencies."

FAQ

What did the AI code assistant do that was notable in this clip?

Without being explicitly prompted, the AI assistant ran a pnpm audit to check open-source dependencies for known vulnerabilities, then attempted to address the issues it found — all as part of completing its assigned task.

Why does the presenter call this an 'unfair advantage'?

Because the AI leveraged the pnpm audit tool's security output to inform its decisions, giving it access to vulnerability data that a developer might not have manually checked — though the presenter also sees this as a positive capability.


Categories:
  • » Cybersecurity » Application Security
  • » Data Protection
Channels:
News:
Events:
Tags:
  • AI & Machine Learning
  • Application Security
  • DevSecOps
  • Demo
  • Getting Started
  • AI code assistants
  • Open-source dependency security
  • Automated security auditing
  • pnpm audit
  • AI-assisted development
  • Vulnerability remediation
Show more Show less

Browse videos

  • Related
  • Featured
  • By date
  • Most viewed
  • Top rated
  •  

              Video's comments: Snyk: AI Code Assistant Runs Its Own Security Audit

              How secure is your Microsoft enterprise? Under 5 minutes, earn $10 in TruthPoints.

              View CPE Certificates

              XStreaminars (watch here)

              • Dec
                09

                Beyond Continuous Compliance: Getting Ready to Detect, Recalculate, and Adapt

                12/09/202601:00 PM ET
                More events

                Industry Events (Sponsor Hosted)

                • Dec
                  02

                  Skylight en acción: resguardando la IA más allá del usuario.

                  12/02/202604:00 AM ET
                  • Dec
                    03

                    CISO Insights: Steering Cybersecurity Strategies in an AI-Driven Era

                    12/03/202601:00 PM ET
                    • Dec
                      09

                      Strategies for Safeguarding Endpoints in the Agentic Era with Cyera

                      12/09/202602:00 PM ET
                      • Jan
                        19

                        Skylight in Aktion: Gewährleisten Sie KI-Schutz über den Benutzer hinaus

                        01/19/202704:00 AM ET
                        • Jan
                          19

                          HUMAN Dialogue: Embracing the Rise of the Empowered AI Consumer.

                          01/19/202702:00 PM ET
                          More events

                          Upcoming Webinar Calendar

                          • 12/02/2026
                            04:00 AM
                            12/02/2026
                            Skylight en acción: resguardando la IA más allá del usuario.
                            https://www.truthinit.com/index.php/channel/2147/skylight-en-acción-resguardando-la-ia-más-allá-del-usuario/
                          • 12/03/2026
                            01:00 PM
                            12/03/2026
                            CISO Insights: Steering Cybersecurity Strategies in an AI-Driven Era
                            https://www.truthinit.com/index.php/channel/2231/ciso-insights-steering-cybersecurity-strategies-in-an-ai-driven-era/
                          • 12/09/2026
                            01:00 PM
                            12/09/2026
                            Beyond Continuous Compliance: Getting Ready to Detect, Recalculate, and Adapt
                            https://www.truthinit.com/index.php/channel/2250/beyond-continuous-compliance-getting-ready-to-detect-recalculate-and-adapt/
                          • 12/09/2026
                            02:00 PM
                            12/09/2026
                            Strategies for Safeguarding Endpoints in the Agentic Era with Cyera
                            https://www.truthinit.com/index.php/channel/2256/strategies-for-safeguarding-endpoints-in-the-agentic-era-with-cyera/
                          • 01/19/2027
                            04:00 AM
                            01/19/2027
                            Skylight in Aktion: Gewährleisten Sie KI-Schutz über den Benutzer hinaus
                            https://www.truthinit.com/index.php/channel/2176/skylight-in-aktion-gewährleisten-sie-ki-schutz-über-den-benutzer-hinaus/
                          • 01/19/2027
                            02:00 PM
                            01/19/2027
                            HUMAN Dialogue: Embracing the Rise of the Empowered AI Consumer.
                            https://www.truthinit.com/index.php/channel/2160/human-dialogue-embracing-the-rise-of-the-empowered-ai-consumer/
                          • 03/18/2027
                            01:00 PM
                            03/18/2027
                            Securing Access for People, Partners and AI Agents
                            https://www.truthinit.com/index.php/channel/2251/securing-access-for-people-partners-and-ai-agents/
                          • 06/17/2027
                            01:00 PM
                            06/17/2027
                            Stop the Leak: Data Loss Prevention for the AI Era
                            https://www.truthinit.com/index.php/channel/955/360view-stop-the-leak-data-loss-prevention-for-the-ai-era/
                          • 08/19/2027
                            01:00 PM
                            08/19/2027
                            Who Has Access to What...and Should They?
                            https://www.truthinit.com/index.php/channel/2252/who-has-access-to-what-and-should-they/
                          • 10/21/2027
                            01:00 PM
                            10/21/2027
                            After VMware: Building the Private Cloud You Actually Want
                            https://www.truthinit.com/index.php/channel/2253/after-vmware-building-the-private-cloud-you-actually-want/
                          • 11/18/2027
                            01:00 PM
                            11/18/2027
                            Assume Breach, Prove Recovery
                            https://www.truthinit.com/index.php/channel/2254/assume-breach-prove-recovery/
                          • 12/16/2027
                            01:00 PM
                            12/16/2027
                            The Self-Running Service Desk
                            https://www.truthinit.com/index.php/channel/2255/the-self-running-service-desk/
                          Truth in IT
                          • Sponsor
                          • About Us
                          • Terms of Service
                          • Privacy Policy
                          • Contact Us
                          • Preference Management
                          Desktop version
                          Standard version