For the complete documentation index, see llms.txt. This page is also available as Markdown.

Evaluate VibeSec Malicious Dependency Protection

You can evaluate how VibeSec protects AI-assisted development by preventing AI coding assistants from installing dependencies identified as malicious.

During this evaluation, you will ask your AI coding assistant to install the same npm package without VibeSec protection and with VibeSec protection. You will compare the results to verify that VibeSec blocks a malicious dependency even when you approve the installation.

The evaluation uses ox-vibesec-demo-package, a sample npm package created by OX for demonstration purposes. The package does not contain malicious code, but OX designates it as malicious so that you can safely evaluate dependency protection.

Run the evaluation without VibeSec

First, run the evaluation without VibeSec protection to establish a baseline.

  1. In your AI coding assistant, ask the agent to install the following package using npm:

    Please install ox-vibesec-demo-package using npm.
  2. If the AI coding assistant asks you to approve the installation, approve it.

  3. Verify that the AI coding assistant installs the package.

Without VibeSec protection, the agent can install the dependency.

  1. To remove ox-vibesec-demo-package before continuing with the evaluation, run:

Run the evaluation with VibeSec

Repeat the same scenario with VibeSec protection enabled.

  1. In the OX platform, go to Settings > VibeSec and disable Dependency Governance.

  1. In your AI coding assistant, submit the same prompt:

  1. If the AI coding assistant asks you to approve an npm view command, approve it.

The npm view command retrieves information about the package and does not install it.

  1. Review the response from the AI coding assistant.

VibeSec identifies the dependency as malicious and blocks the installation, even though you approved the action.

  1. Verify that ox-vibesec-demo-package was not installed. For example, run:

Verify that the package is not listed as an installed dependency.

Compare the results

Without VibeSec, the AI coding assistant installs the dependency.

With VibeSec, the same installation is blocked because OX identifies the dependency as malicious. The package is not installed.

This demonstrates how VibeSec protects against malicious dependencies introduced during AI-assisted development, including cases where an AI coding assistant selects and installs dependencies as part of completing a development task.

Last updated