Skip to content

Security: Snowflake-Labs/snowflake-ai-kit

Security

SECURITY.md

Security Policy

Reporting a Vulnerability

If you discover a security vulnerability in this project, please report it responsibly.

Do not open a public GitHub issue for security vulnerabilities.

Instead, please email security@snowflake.com with:

  • Description of the vulnerability
  • Steps to reproduce
  • Potential impact
  • Suggested fix (if any)

We will acknowledge receipt within 48 hours and provide a timeline for a fix.

Scope

This repository contains markdown skills, shell scripts, a Claude Code + Codex + Devin (CLI and Desktop) plugin, and a Devin plugin. Security concerns include:

  • Envelope enforcement in every host (local mode) — In the default local mode, Claude Code and Devin CLI run Cortex Code with --permission-prompt-tool stdio, so each tool call is checked against the security envelope. Host instructions must not add --codex (auto-approve) for any host other than Codex. In Codex (--codex), Cortex Code auto-approves individual tool calls, and only the envelope selection is validated
  • Credential leakage — skills, templates, and scripts must never contain real tokens, keys, or passwords
  • Devin plugin manifests — the MCP server config may only reference ${SNOWFLAKE_MCP_URL} and ${SNOWFLAKE_PAT} placeholders, which Devin fills from the user's saved credentials. Never commit a real token, account URL, or OAuth client ID
  • Supply chain — the install script downloads files from this GitHub repo; verify you're using the official Snowflake-Labs/snowflake-ai-kit source
  • Code injection — skills instruct AI agents to generate code; skill authors should avoid patterns that could lead to SQL injection, command injection, or XSS in generated code

Best Practices for Contributors

  • Never commit credentials, tokens, API keys, or .env files
  • Use synthetic/example data in all templates and references
  • Review generated code patterns for OWASP Top 10 vulnerabilities
  • Use environment variables for any sensitive configuration in examples

Remote MCP delegation

The optional remote backend delegates through the host's native MCP connection. It does not enforce the local CLI's per-command security envelopes or audit remote inner tool calls. Its consent and context-handling instructions are host-agent workflow guidance, not a programmatic authorization boundary. Enforce access in the host and Snowflake; organizations requiring local envelope controls should not enable remote mode. See the remote approval and data boundaries.

There aren't any published security advisories