New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started

@chain305/x-security

Package Overview
Dependencies
Maintainers
2
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chain305/x-security

x-security CLI — generate/validate/test/report/diff/init against multiple gateway targets

Source
npmnpm
Version
0.4.1
Version published
Weekly downloads
3
Maintainers
2
Weekly downloads
 
Created
Source

x-security CLI

Compile, validate, test, and report on x-security policies in OpenAPI specs — deterministic, no LLM calls, no API keys.

npx @chain305/x-security --help

Commands

CommandWhat it does
x-security generate <spec> --target <t>Compile an annotated OpenAPI spec into gateway config (kong, coraza, bunkerweb, openappsec, firewall, envoy)
x-security validate <spec> --target kong --gateway <url|file>Detect drift between the spec and a running/exported gateway config
x-security test <spec> --target <t>Closed-loop test: generate config, spin up Docker, send traffic, assert
x-security verify <spec> --target <t> --gateway <addr>Read-only post-deploy check that the gateway loaded the emitted artifacts
x-security report <spec>OWASP API Top 10 coverage and annotation reports
x-security diff <old> <new> --target <t>Diff the generated config for two spec versions
x-security init <spec>Add empty x-security blocks to operations missing them
x-security migrate <spec> --from 0.4 --to 0.5Rewrite a spec between schema versions

Run x-security <command> --help for full flags.

Requirements

  • Node 20+
  • Docker (only for x-security test)

License

Apache-2.0

FAQs

Package last updated on 08 Jul 2026

Related posts