Nikita Kuznetsov, Founder, GameAP.com

  • Attacks via MCP servers
    Model Context Protocol (MCP) servers give AI agents access to external data and tools. They can introduce risks including context poisoning, command injection, and token theft.
    MCP-related packages can also be malicious.
    Before adding an MCP server, review its source code, publisher, release history, requested permissions, and network activity. Restrict the data, credentials and systems it can access.
  • Indirect prompt injection
    This occurs when malicious instructions are placed in content an AI system retrieves from an external source, such as a documentation page, issue tracker, dependency README, or code comment. An agent may treat that content as an instruction rather than data. This is particularly relevant to agentic workflows that can browse the web, read repositories, use tools, or execute commands.
    Treat all externally retrieved content as untrusted. Limit what agents can do with that content, require approval for consequential actions, and separate read-only research tasks from tasks that can modify code, infrastructure, or data.
  • Hallucinated dependencies
    AI models can generate plausible but nonexistent package names. Attackers may register those names and publish malicious packages, a technique known as slopsquatting. The same issue can apply to URLs: a model may generate a non-existent domain, which an attacker can register and use for phishing or malware distribution.
    Check dependencies before installation. Verify a suggested package before installing it. Check whether it exists in the official registry, when it was published, how many downloads it has, whether its repository URL points to a real source repository, and whether the maintainer has published other packages.
    Be especially cautious with packages that are newly published, have few downloads, lack a source repository, or have a name similar to a well-known library.
  • ✓ Run SCA continuously in CI rather than relying on manual checks. Define a policy for handling findings, such as failing builds on critical-severity vulnerabilities or requiring review before merging.
    SCA can identify known vulnerabilities and outdated dependencies, but it may not detect a newly published malicious package before that package is added to vulnerability databases.
  • ✓ Also, generate a software bill of materials (SBOM) including direct and transitive dependencies, versions, licenses, and hashes, as a build artifact in a standard format such as CycloneDX or SPDX. When a vulnerability is disclosed in a widely used library, an SBOM can help teams determine whether their products include the affected component.
  • ✓ Pin versions and verify integrity: commit lockfiles to version control, and use integrity hashes where the package ecosystem supports them. Verify package signatures where available.
  • ✓ Require review for changes involving authentication, authorization, secrets, infrastructure, dependencies, data deletion, and external integrations.
  • ✓ Ensure reviewers have enough context to assess not only whether code works, but also what external content, tools, and credentials it can access.