OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Security & Sandboxing

Project CodeGuard

Project CodeGuard is an open-source security framework and ruleset that adds secure-by-default guidance to AI coding-agent workflows. It supplies security rules, translators for popular coding agents, and validators for testing whether agents follow the rules.

Independent OpenViST project profile, based on linked sources.

Project CodeGuard — Projects using one of the coding tools covered by the setup guide
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use CodeGuard when configuring security guidance for an AI coding agent, or when selecting a tool-specific route for loading rules into a project.

Who it is for

  • Developers using AI coding agents to generate or review code.
  • Teams configuring security guidance for multiple coding tools.

Documented uses

  • Make security rules available to a coding agent during code generation and review.
  • Adapt a shared security ruleset for different coding-agent formats.
  • Check whether an agent follows security rules using validators.
Before you choose

Requirements & limits

  • The setup method differs by coding tool: bundles, skills, remote instructions, or a plugin are documented routes.
  • For OpenCode, skills load relevant rules according to files being edited; remote instructions load all 23 listed rules in every session.
  • OpenCode remote instructions do not install the reviewer agent, while the skills route does.
  • The OpenCode guide recommends pinning remote instruction URLs to a release tag for a stable snapshot.
  • The guide says Codex should be updated before installing its skills.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install a CodeGuard bundle for Cursor

Add CodeGuard rules to a Cursor project.

Before you start

  • Cursor
  • Familiarity with how Cursor rules work, including the .cursor/rules configuration path
  • A downloaded codeguard-cursor.zip bundle from the Releases page

Steps

  1. Download and extract codeguard-cursor.zip.

  2. Copy the extracted .cursor/ directory to the project root.

  3. Restart Cursor to load the rules and reviewer agent.

Expected outcome

The project contains CodeGuard’s Cursor rules, and restarting Cursor loads the rules and reviewer agent.

Guide limitations

  • This setup route installs rules and a reviewer agent; it does not document a compliance-validation run.
  • The guide does not provide steps for customizing the rules.
COMPARE OPTIONS

Compare options for AI coding assistance

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
Project CodeGuardMake security rules available to a coding agent during code generation and review.
LaguneEstablish project-specific security rules and relevant security specializations.CLI, Server, Self-hostedNode.js LTS is required. Installation method depends on the AI agent; the documentation also provides an npm command for installing Lagune in a project for offline use.
GreyhavenObserve agent filesystem reads and writes, network connections and command attempts.Linux, macOS, CLI, Self-hostedGreywall is described as running entirely on the user's machine, and no account is described as needed for its primary local command-line use. The source code is described as open and auditable.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
8 November 2026