Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

NebuSec CLI plugin

This repository packages the NebuSec Platform CLI as a self-contained plugin for Codex and Claude Code. The plugin teaches the agent how to query projects, repositories, scans, code findings, and cloud findings, and how to run bounded security scans and remediation workflows safely.

The published plugin supports macOS and Linux on x64 and arm64. It embeds all four executables, so installation and first use do not download another runtime.

Repository layout

  • plugins/nebu-cli/ is the installable, dual-format plugin source.
  • .agents/plugins/marketplace.json is the Codex marketplace catalog.
  • .claude-plugin/marketplace.json is the Claude Code marketplace catalog.
  • scripts/ assembles, validates, versions, and packages releases.
  • submission/ contains store listing copy.

Local build outputs belong in build/ or dist/. The nebu-cli release workflow assembles the signed binaries, updates the skill and checksums, and compresses the Claude directory. It merges the complete plugin through a pull request before pushing the plugin tag. The tagged workflow packages that prepared source for npm and GitHub release. Claude community review can pin the complete Git source.

Build a plugin package

The artifact directory must contain these release archives:

nebu-linux-x64.tar.gz
nebu-linux-arm64.tar.gz
nebu-darwin-x64.tar.gz
nebu-darwin-arm64.tar.gz

Each archive must contain an executable named nebu.

scripts/build-plugin.sh 1.0.14 /path/to/artifacts build/nebu-cli
scripts/validate.sh build/nebu-cli
scripts/package-release.sh build/nebu-cli dist /path/to/artifacts

VERSION is the plugin package version. NEBU_CLI_VERSION independently pins the bundled CLI version, so plugin packaging fixes can ship without requiring a new CLI release. The tagged release workflow validates the prepared binaries and compressed Claude directory, packages the plugin, then publishes @nebusec/nebu-plugin and the review ZIPs. It copies the four public CLI archives from NebuSec/nebu-skill into the GitHub release without rebuilding them.

Local testing

npm test
claude plugin validate ./plugins/nebu-cli --strict
claude --plugin-dir ./plugins/nebu-cli

Before the first release, the source template does not contain binaries. For an end-to-end development test, point Claude or Codex at the assembled directory under build/. After a release, main also contains that version's verified runtime bundle for public Git-based installation and review.

Install from the NebuSec marketplace

After the first public release:

Codex:  codex plugin marketplace add NebuSec/nebu-plugin --ref main
        codex plugin add nebu-cli@nebusec
Claude: claude plugin marketplace add NebuSec/nebu-plugin
        claude plugin install nebu-cli@nebusec

Official Codex and Claude directory listings require separate review.

Authentication and safety

The plugin uses the existing NebuSec authentication flow. Credentials are read from NEBUSEC_PLATFORM_API_KEY or the credential created by nebu auth login; the plugin does not store a separate credential.

For Codex and Claude sessions, the skill prefers nebu auth login --headless. The agent displays the NebuSec Platform verification URL and one-time code, keeps the CLI waiting, and resumes the requested work after the user signs in through their own browser. Users with a valid credential already stored for the same operating-system account are not asked to sign in again.

Paid scans require a user-provided --max-cost limit. The skill never uses unconditional --yes. State-changing triage, scan-control, patch-generation, and pull-request actions require confirmation of the exact target and action.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages