ptn1411/skill/license-robustness-audit

Claude Code and agent skill by ptn1411/skill

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Defensive audit of a license/entitlement/activation mechanism on software you own or are authorized to test. Maps the validation surface, flags design weaknesses that make checks easy to abuse, and produces hardening guidance plus an allow/deny test scaffold — without generating keygens, patches, or bypasses.

Install

npx vskill@latest install ptn1411/skill/license-robustness-audit

SKILL.md

License Robustness Audit

Test how hard your licensing is to abuse — defensively. Map where validation happens, identify the design weaknesses that would let it be bypassed, and get a concrete hardening plan and tests for the legitimate allow/deny path.
Language rule: All skill instructions use English.
Final summary presented to the user must be in Vietnamese.

0. Authorization & Boundary

Operates under MASTER_POLICY.md §1-§2. Use only on software you own or are authorized to assess.

This is the defensive counterpart to keygen/patch/bypass. It answers "is my license easy to bypass, and how do I harden it?" It does not produce a working keygen, license file, patch, or repacked binary — those remain out of scope by policy. Instead it yields an abuse-case analysis and source-level fixes.

Sibling skillWhen
dotnet-decompilerRecover .NET source first, then audit it here
java-decompilerRecover Java source first
electron-app-analyzerRecover Electron JS first
network-interceptorConfirm whether validation calls a server

Step 1 — Point it at your source

Run over an owned source tree or a recovered/decompiled one:

powershell
python license-robustness-audit\scripts\audit_license.py <source_dir> --out output\license-audit
bash
python license-robustness-audit/scripts/audit_license.py output/dotnet-decompiled --out output/license-audit

It scans .cs/.js/.ts/.java/.py/.cpp/.go/... files for licensing logic.


Step 2 — Read the audit

Outputs in --out:

  • `LICENSE_AUDIT.md` — validation surface, weaknesses (abuse-case view, severity-ranked), a hardening plan, and a test plan.
  • `ATTACK_PATH.md` — design-level attack paths for a red-team write-up: a mermaid flow diagram of where the decision breaks, plus per-weakness precondition → technique class → effect → control. Descriptive findings, not a working bypass/keygen/patch.
  • `license_findings.json` — structured findings.
  • `test_license_behavior.py` — a pytest scaffold; wire evaluate_license() to your real check to prove valid→allow / expired/tampered/missing→deny.

What it flags (design weaknesses)

CategoryWhy it's abusable
Client-side validation gateA client-held check can be observed and forced true
Bare boolean license decisionOne-instruction bypass target
Hardcoded secret / signing keyShipped secrets let an attacker mint valid licenses
Embedded public key + local verifyVerify path + key can be swapped together
Static key comparisonAccept condition trivially discoverable
Weak hash (MD5/SHA-1) in license pathCollision-prone integrity
Local trial/activation stateResettable to extend usage
No server-side validation signalWhole decision is local ⇒ tamperable

Hardening direction (the fix, not the bypass)

  1. Authoritative check server-side; client only renders the signed decision.
  2. Signed, short-lived entitlements (Ed25519 / RSA-PSS): user, features, expiry.
  3. No secrets in the client; keep signing keys server-side and rotate them.
  4. Bind trial/activation to an account/device server-side; local files are cache only.
  5. Fail closed on any error; add tamper-evidence and verification telemetry.

Use the generated test scaffold to lock in correct allow/deny behavior as a regression guard.

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewNot runA model review is scheduled for the next rescan.

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
150
Repository forks
90
7-day trend score
25

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ptn1411/skill/license-robustness-audit/badge)](https://verified-skill.com/skills/ptn1411/skill/license-robustness-audit)

Something wrong with this skill or its page? Tell us.