ptn1411/skill/license-robustness-audit
Claude Code and agent skill by ptn1411/skill
- community
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-auditSKILL.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 skill | When | |
|---|---|---|
| dotnet-decompiler | Recover .NET source first, then audit it here | |
| java-decompiler | Recover Java source first | |
| electron-app-analyzer | Recover Electron JS first | |
| network-interceptor | Confirm whether validation calls a server |
Step 1 — Point it at your source
Run over an owned source tree or a recovered/decompiled one:
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)
| Category | Why it's abusable | |
|---|---|---|
| Client-side validation gate | A client-held check can be observed and forced true | |
| Bare boolean license decision | One-instruction bypass target | |
| Hardcoded secret / signing key | Shipped secrets let an attacker mint valid licenses | |
| Embedded public key + local verify | Verify path + key can be swapped together | |
| Static key comparison | Accept condition trivially discoverable | |
| Weak hash (MD5/SHA-1) in license path | Collision-prone integrity | |
| Local trial/activation state | Resettable to extend usage | |
| No server-side validation signal | Whole decision is local ⇒ tamperable |
Hardening direction (the fix, not the bypass)
- Authoritative check server-side; client only renders the signed decision.
- Signed, short-lived entitlements (Ed25519 / RSA-PSS): user, features, expiry.
- No secrets in the client; keep signing keys server-side and rotate them.
- Bind trial/activation to an account/device server-side; local files are cache only.
- 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
- SKILL.md in the repositoryCheckinglicense-robustness-audit/SKILL.md
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
[](https://verified-skill.com/skills/ptn1411/skill/license-robustness-audit)