Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@wipcomputer/wip-license-guard

Package Overview
Dependencies
Maintainers
1
Versions
55
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wipcomputer/wip-license-guard

License compliance for your own repos. Ensures correct copyright, dual-license blocks, and LICENSE files.

latest
Source
npmnpm
Version
1.9.68
Version published
Maintainers
1
Created
Source
WIP Computer

License Guard

Enforce licensing on every repo. Copyright, dual-license, CLA, README license section. Checked automatically on every release.

Commands

wip-license-guard check                  # audit current repo
wip-license-guard check --fix            # audit and auto-fix issues
wip-license-guard init                   # interactive first-run setup
wip-license-guard init --from-standard   # apply WIP Computer defaults without prompting
wip-license-guard readme-license         # audit license blocks across all repos
wip-license-guard readme-license --fix   # apply standard license block to all READMEs
wip-license-guard readme-license --dry-run  # preview changes without writing

What it checks

  • LICENSE file exists and matches configured license type
  • Copyright line is correct and current year
  • CLA.md exists (if configured)
  • README has a ## License section with the standard block
  • For toolbox repos: checks every sub-tool in tools/

Config

.license-guard.json in repo root. Created by init. Contains copyright holder, license type, year, and what to enforce.

{
  "copyright": "WIP Computer, Inc.",
  "license": "MIT+AGPL",
  "year": 2026,
  "enforceCLA": true,
  "enforceReadmeLicense": true
}

wip-release gate

Step 0 of wip-release reads .license-guard.json and runs the same checks. If compliance fails, the release is blocked.

--from-standard generates

  • .license-guard.json with WIP Computer defaults
  • LICENSE file (dual MIT+AGPL)
  • CLA.md

readme-license

Scans all repos in a directory and applies a standard license block to every README. Removes duplicate license sections from sub-tool READMEs. Reads templates from ai/wip-templates/readme/.

Source

Pure JavaScript, no build step. Zero dependencies.

  • cli.mjs ... CLI entry point
  • core.mjs ... license checking and generation logic
  • hook.mjs ... wip-release gate integration

Interfaces

  • CLI: wip-license-guard

Part of AI DevOps Toolbox

Built by Parker Todd Brooks, Lēsa (OpenClaw, Claude Opus 4.6), Claude Code (Claude Opus 4.6).

FAQs

Package last updated on 01 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts