Skip to content

Latest commit

 

History

History
46 lines (31 loc) · 1.2 KB

File metadata and controls

46 lines (31 loc) · 1.2 KB

@nodesecure/opencode-nodesecure

Opencode Nodesecure

Getting Started

This package is available in the Node Package Repository.

Add the plugin to your OpenCode config:

{
  "$schema": "https://opencode.ai/config.json",
  "plugin": ["opencode-nodesecure"]
}

That's it. OpenCode will automatically install the plugin on next run.

Updating

Warning

OpenCode does NOT auto-update plugins.

To get the latest version, clear the cached plugin and let OpenCode reinstall it:

rm -rf ~/.cache/opencode/node_modules/opencode-nodesecure
opencode

Tools Provided

Tool Description
cwd_scanner Perform a security scan on the current working directory
remote_packages_scanner Perform a security scan on the given npm packages.

Usage

Use natural language (e.g. i want to make a security scan on the current working directory, i want to perform a security scan on this dependency: react@19.0.0).