Skip to content

Replace curl | sh install pattern to pass security audits #31

@jacksweeney5

Description

@jacksweeney5

Summary

A prospective user (Jesse) flagged that several skills in omni-agent-skills are failing security audits (Snyk, Gen Agent Trust Hub) due to the curl | sh installation pattern for the Omni CLI. Their team's policy is that any skill with a failed security audit is not safe to use in their codebases, which is blocking adoption.

Skills affected:

  • omni-query
  • omni-model-explorer
  • omni-model-builder
  • omni-content-builder
  • omni-content-explorer
  • omni-embed
  • omni-ai-optimizer
  • omni-to-snowflake-semantic-view

Problem

The current install instruction:

curl -fsSL https://raw.githubusercontent.com/exploreomni/cli/main/install.sh | sh

Is flagged by both Snyk (E005/W012) and Gen Agent Trust Hub as a supply chain / remote code execution risk. This single issue accounts for the majority of security audit failures across all skills.

Desired outcome

Replace the curl | sh pattern with a more secure distribution method. Options to consider (not prescriptive on which):

  • Package manager (Homebrew, npm global, etc.) — checksummed and versioned by the registry
  • Signed releases — GPG/cosign signatures on GitHub release artifacts
  • Pinned versions + checksum verification — download a specific tagged release and verify SHA256 before executing
  • Some combination of the above

Once the CLI install method is updated, the install instructions in all skill SKILL.md files will need to be updated accordingly.

Context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions