jso-protector 0.4.12 → 0.4.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,1237 +1,1255 @@
1
- # Changelog
2
-
3
- ## 0.4.12 - 2026-09-05
4
-
5
- Two things that were true of the package but said nowhere a reader would see.
6
-
7
- - **The command reference is now visible on npmjs.com.** npm stores at most
8
- 65,536 characters of a README; ours is 100,761 bytes, so a third of it never
9
- rendered on the package page. What fell outside was the whole `Commands`
10
- section - 29 KB of it, starting at 68 KB, behind 18 KB of payment and
11
- compliance evidence reference. `Commands` now sits directly after Quick Start.
12
- Nothing was added or removed; the sections were reordered.
13
- - **The free-tier header comment is disclosed before the run, not discovered
14
- after it.** Free-tier output carries a seven-line comment naming the product
15
- and linking the site, and nothing said so - the first anyone learned of it was
16
- opening their own protected file. The anonymous notice now names it.
17
- The banner itself is unchanged.
18
- - One correction worth stating plainly: a free ACCOUNT does not remove that
19
- header. The engine adds it whenever the account level is 0, which includes a
20
- registered free account; only a paid plan is clean. The notice says so rather
21
- than letting the neighbouring line about hourly limits imply otherwise.
22
-
23
- ## 0.4.11 - 2026-09-03
24
-
25
- Anonymous runs now say what a free account is worth.
26
-
27
- - Every anonymous run printed "Run `javascriptobfuscator login` to use your
28
- plan". That sentence is addressed to someone who already has a plan, and it
29
- only ever prints for someone who does not - so the one moment the CLI has a
30
- new user's attention was spent on something they could not act on. It now
31
- states the real numbers: anonymous runs are capped at 5 per hour, a free
32
- account raises that to 100 per hour, with a link to create one.
33
- - The difference was never invented for this release; it has always been in the
34
- server's rate limiter (2/min + 5/hour keyless, 10/min + 100/hour signed in,
35
- per IP). It had simply never been said out loud.
36
- - Why it matters now: until 2026-09-03 the server's limiter keyed on the
37
- Cloudflare edge address rather than the caller's, so a single client spread
38
- across edge nodes almost never met the anonymous cap. With that fixed the cap
39
- binds for the first time, and a run that exceeds it can wait up to an hour.
40
- The 429 body names both ceilings too, instead of saying an account "raises
41
- the limit substantially".
42
-
43
- No API, option or output changes.
44
-
45
- ## 0.4.10 - 2026-09-02
46
-
47
- Examples README pointed at the wrong version.
48
-
49
- - The examples guide told customers to `npm install --save-dev
50
- javascriptobfuscator-com@0.4.7` while the package was two releases newer.
51
- Because `examples/` ships inside the tarball, published 0.4.8 and 0.4.9
52
- carried that stale instruction. It now installs the current version, and the
53
- publish gate (`prepublishOnly`) now runs `verify:examples`, so a mismatched
54
- README blocks the release instead of shipping and only failing CI afterward.
55
-
56
- ## 0.4.9 - 2026-09-01
57
-
58
- README only. No behaviour changes.
59
-
60
- - The npm registry truncates a README at 65,536 characters and ours is 100,725,
61
- so a third of it never rendered on the package page - including `--local`
62
- (protect without sending source), watermarking, signed release attestations,
63
- the migration guide and the security section. The 30 KB command reference and
64
- the PCI evidence walkthrough now sit at the end and take the truncation
65
- instead; everything that explains what the tool is fits above the cut. Nothing
66
- was deleted, and the full reference is on the docs site.
67
- - Adds the measured dependency comparison against `javascript-obfuscator` 5.6.0:
68
- 0 dependencies against 23, 3 installed directories against 120, 1s against 9s,
69
- 2 MB against 56 MB. That was already true and stated once as an adjective; a
70
- build tool sold on reducing risk should show the number.
71
-
72
- ## 0.4.8 - 2026-09-01
73
-
74
- The rate-limit message a first run actually sees.
75
-
76
- - A keyless run that tripped the free-tier cap used to print
77
- `API returned non-JSON response (429): The custom error module does not
78
- recognize this error.` That sentence was IIS's, not ours: the server writes a
79
- proper JSON body, and IIS's custom-error module was discarding it before it
80
- left the machine. Fixed server-side; the message now says which of the two
81
- ceilings was hit and how to raise it.
82
- - The CLI no longer appends its paid-plan hint to a 429. The word "limit" in a
83
- rate-limit message matched the billing regexp, so someone with no account was
84
- being told to go check their subscription state.
85
- - `--help` now shows the positional form. `jso-protector app.js` has always
86
- worked and writes `app-obfuscated.js` beside the input - the same default the
87
- competitor's CLI uses - but nothing in the help output said so, so anyone
88
- arriving with that muscle memory had no way to find it.
89
-
90
- ## 0.4.7 - 2026-08-31
91
-
92
- Attribution only. No behaviour changes.
93
-
94
- - The dashboard links the CLI opens now carry a source tag: `src=cli-login`
95
- from `login`, and `src=cli-nokey` / `src=cli-nopwd` from the missing-credential
96
- errors. A sign-up that starts at the CLI was previously indistinguishable from
97
- a web sign-up, which made the free first run impossible to measure.
98
- - Held back until the site could actually read the tag. It was being lost twice
99
- on the way: the dashboard bounced signed-out visitors to sign-in without the
100
- query string, and the sign-in page then hardcoded its own tag over whatever
101
- arrived. Both are fixed and live, verified end to end before this release.
102
-
103
- ## 0.4.6 - 2026-08-31
104
-
105
- Documentation only. No behaviour changes.
106
-
107
- - **The README said you needed an API key to use this package.** Since 0.4.5
108
- that is false for a first run, and it was the first thing anyone read on
109
- npmjs.com - so the page was arguing against the feature the release shipped.
110
- The quickstart now says no account is needed, "What you need" answers
111
- "nothing, to start", and the payment section describes the free tier and where
112
- it ends instead of claiming the package unlocks nothing on its own.
113
- - The quickstart installs `javascriptobfuscator-com` and calls
114
- `javascriptobfuscator`, the current names.
115
-
116
- ## 0.4.5 - 2026-08-31
117
-
118
- - **The first command now works without an account.** With no credentials at
119
- all the CLI sends the request anonymously and the service runs it on the free
120
- tier - up to 20 files and 200 KB per request, no VM protection, rate limited
121
- per IP. You get real protected output instead of an error, and the run says
122
- so on stderr. `javascriptobfuscator login` switches to your plan.
123
- - Half-configured credentials are still an error. Only *no* credentials means
124
- anonymous, so a key that stopped resolving cannot silently downgrade a paid
125
- build to the free tier.
126
-
127
- ## 0.4.4 - 2026-08-31
128
-
129
- - **`javascriptobfuscator login` saves your credentials once, for every project
130
- on the machine.** Getting a first protected build used to take about seven
131
- steps: install, hit the error, find the site, register, verify email, locate
132
- the dashboard, copy two values, work out two platform-specific environment
133
- variable names, set them, and run again - then set them again in the next
134
- shell. `login` opens the dashboard, takes the two values (the password is not
135
- echoed), and stores them in `~/.jso-protector/credentials.json`.
136
- - `javascriptobfuscator logout` removes them.
137
- - Stored credentials are resolved **last**, after an explicit flag, a project
138
- config and the environment variables, so no existing CI setup changes
139
- behaviour.
140
- - The missing-credential errors now name `login` as the fastest fix.
141
- - The store is written 0600. That is real protection on POSIX; Windows does not
142
- honour the mode, so there it is only as protected as your user profile - the
143
- same position as `~/.npmrc`.
144
-
145
- ## 0.4.3 - 2026-08-30
146
-
147
- Error messages only. No behaviour changes.
148
-
149
- - **The "Missing API key" error now says where to get one.** It previously named
150
- three places to *put* a key and no place to *obtain* one, which left a first-time
151
- user with a dead end: measured against `javascript-obfuscator`, their first
152
- command emits working protected output while ours printed this error. The
153
- message now links the dashboard page that issues a free key, and the npm setup
154
- guide. Same for "Missing API password", which is shown beside the key.
155
- - Applied at all six sites - the protect path, `--doctor`, and config validation -
156
- so the guidance is the same wherever you hit it.
157
- - Also published under the package's new name, `javascriptobfuscator-com`.
158
-
159
- ## 0.4.2 - 2026-08-27
160
-
161
- Metadata only. No behaviour changes.
162
-
163
- - **The package has a public source repository**:
164
- [richtexteditor/jso-protector](https://github.com/richtexteditor/jso-protector).
165
- npm now shows Repository and Issues links instead of nothing, which for a
166
- security tool is the difference between auditable and "trust us". The
167
- repository holds this package and nothing else - the protection engine runs
168
- on the hosted API, or on your machine through the bundled `jso-local`
169
- executable, and is not part of it.
170
- - `bugs` points at GitHub issues and support@javascriptobfuscator.com.
171
-
172
- ## 0.4.1 - 2026-08-27
173
-
174
- Documentation only. No behaviour changes: the CLI, the Node API, the plugins,
175
- and the protection engine are byte-for-byte the same as 0.4.0.
176
-
177
- - **The npm page told visitors to install from a local path.** The README's
178
- first instruction was `npm install --save-dev ./packages/jso-protector`, and
179
- a later paragraph said the package was "intentionally local-only" and should
180
- not go in a public registry — text written while it was, and left in place
181
- when it was published. Someone arriving from npm search read an install
182
- command that could not work and a claim that this was not a real product.
183
- The first screen now says what the package does, installs from the registry,
184
- and shows a two-line example.
185
- - **Migration from another obfuscator is no longer buried.**
186
- `--migrate-javascript-obfuscator` and `--migrate-js-confuser` convert an
187
- existing config in one command; that was documented 1,500 lines down. It is
188
- now on the first screen, with `--list-migration-map`, `--explain-compat`,
189
- and `--competitor-gap-report` beside it.
190
- - **`RELEASE.md` ships in the tarball and described the opposite of reality** —
191
- `private: true`, `UNLICENSED`, and a publish guard that "should fail". It is
192
- now the actual release runbook, including the site artifacts and checksums a
193
- version bump has to keep in step.
194
- - **Package metadata**: the description names what the tool does and the
195
- toolchain it plugs into rather than calling itself an HTTP API wrapper, and
196
- the keywords gained the terms people actually search for (`obfuscator`,
197
- `code-protection`, `source-code-protection`, `anti-tamper`, `typescript`).
198
- - Workspace and tarball install instructions still exist, under "Working from
199
- a local checkout", where they belong.
200
-
201
- ## 0.4.0 - 2026-08-26
202
-
203
- - **Named configuration sets now protect.** `namedSets` — different protection
204
- profiles for different parts of one app in a single build — had its schema,
205
- resolver and tests in the package since the baseline but was never wired
206
- into the protect flow; a config carrying it validated and was silently
207
- ignored. It now works in both the CLI and the Node API (`protectFiles`):
208
- each named set becomes its own API round with the baseline options plus the
209
- set's preset block plus the set's own options; first matching set wins per
210
- file; files matching no set keep the baseline exactly. The JSON summary
211
- gains `namedSetGroups` (and `buildIds` when rounds produce multiple
212
- reports); the manifest spans every group. A set the plan cannot afford
213
- fails its own round with the normal API error and leaves other groups
214
- untouched.
215
- - **`TargetVersion` and `DownlevelIteration` are now first-class.** Both
216
- engine options appear in `--list-options` (category `output`) and gain
217
- camelCase config aliases `targetVersion` (`"es5"`/`"modern"`) and
218
- `downlevelIteration` (spec-faithful ES5 for-of lowering: lazy stepping +
219
- IteratorClose, like TypeScript's `downlevelIteration`; off by default
220
- because it adds a per-step call on arrays; no effect on the modern target).
221
- The raw option names worked before through generic passthrough; now they
222
- are documented and validated.
223
- - `--seed` is documented in `--help` (reproducible builds; omit for the
224
- default polymorphic output).
225
-
226
- ## 0.3.2 - 2026-08-10
227
-
228
- - The shipped CI templates (all 13) now list `--local` in their
229
- "Optional: migration and supply-chain checks" discovery block, with its
230
- constraint attached: on-runner protection, no source upload, Windows agents
231
- only. That block exists so users of non-GitHub CI systems can find a
232
- capability without reading the docs site, and source-local protection was
233
- the one capability missing from it.
234
-
235
- ## 0.3.1 - 2026-08-10
236
-
237
- - Documentation accuracy only, no behaviour change. The "Payment and API
238
- Access" section still described the package as a client for the hosted API
239
- and listed uploading source as an unconditional step, which stopped being
240
- true in 0.3.0. It now states that `--local` keeps the source body on the
241
- build machine while entitlement is still enforced server-side by a
242
- source-free plan check.
243
-
244
- ## 0.3.0 - 2026-08-10
245
-
246
- - **`--local` protects without sending source.** The CLI can now run the
247
- `jso-local` executable from the Windows desktop download (`cli/jso-local.exe`)
248
- instead of POSTing source to the hosted API. Resolution order is
249
- `--local-exe`, `JSO_LOCAL_EXE`, then the usual desktop install locations;
250
- config equivalents are `local` and `localExe`.
251
- - The local path is a transport swap, not a second implementation: it exchanges
252
- the same request and response shapes the hosted endpoint uses, so options,
253
- manifests, evidence packets, and size budgets behave identically. An option
254
- that works hosted works locally by construction.
255
- - Honest boundaries, enforced rather than documented: a source-free plan check
256
- still runs online (Local Advanced is a paid capability), the payload holding
257
- source and credentials is deleted after each run, and a build that asks for
258
- VM bytecode protection fails with a clear message instead of silently
259
- shipping weaker output.
260
- - Corrected README copy that said protection workflows "do not meet a policy
261
- that forbids source transfer" - true when written, false as of this release.
262
-
263
- ## Native string splitting (2026-08-03)
264
-
265
- - `splitStrings` and `splitStringsChunkLength` now map directly to native `SplitStrings` and `SplitStringsChunkLength` engine options instead of migration-review warnings.
266
- - Eligible literals split into fixed-length concatenated chunks. Chunk length is bounded to 1-1024 and defaults to 10; directives, reserved literals, object keys, template segments, and mixed-server markers remain intact.
267
- - CLI/config/Node API mappings, wire schemas, option discovery, ASP.NET model binding, and executable engine regression coverage ship together.
268
- - JS-Confuser `stringSplitting` now maps approximately to the same native transform: booleans map directly, positive probabilities enable it, and custom selector functions remain explicit manual-review inputs.
269
- - Splitting preserves dynamic-import and static-require specifiers for bundler discovery and never cuts a UTF-16 surrogate pair; executable regressions cover module linking, CommonJS resolution text, emoji values, and self-compressed output.
270
- - Quoted class method, accessor, and field definition names remain literal. An adversarial class-field case previously failed during protection after the name became a binary expression; normal and self-compressed class-member execution now have permanent coverage.
271
- - `stringArrayIndexShift` now maps approximately to native `StringArrayIndexShift`. Enabling it adds a deterministic nonzero one-slot offset to plain and encrypted string tables; it does not reproduce the competitor's randomized shift magnitude.
272
- - `stringArrayShuffle` now maps directly to native `StringArrayShuffle`. The engine shuffles unique moved strings with per-build entropy, or reproducibly under `Seed`, and rewrites every lookup before plain or encrypted table emission.
273
- - `stringArrayRotate` now maps directly to native `StringArrayRotate`. It applies a nonzero per-build cyclic rotation, rewrites every lookup, and composes with shuffle, index shifting, encryption, and seeded builds.
274
- - `stringArrayIndexesType` now maps directly to native `StringArrayIndexesType`, supporting `hexadecimal-number`, `hexadecimal-numeric-string`, and mixed lists. Numeric strings are explicitly coerced before array lookup so hexadecimal property text cannot silently return `undefined`.
275
- - `stringArrayThreshold` now maps directly to a native 0-1 per-unique-literal probability gate. Duplicate values receive one stable decision, zero moves nothing, one moves everything eligible, and `Seed` makes partial selection reproducible.
276
- - `stringArrayCallsTransform` and `stringArrayCallsTransformThreshold` now map directly to native secondary index-table indirection. The engine emits nested lookups for selected calls, supports 0-1 probability, and composes with shifting, shuffling, rotation, encryption, index representations, compression, and seeded builds.
277
- - String-array wrapper count, chaining, parameter ceiling, and type now map to native root-level wrappers. Variable aliases and multi-parameter function wrappers execute through optional predecessor chains; count is approximate because competitor per-function-scope placement is not reproduced.
278
- - `transformObjectKeys` maps approximately to native safe data-key transformation. Identifier and quoted data keys become computed moved-string lookups; numeric keys, methods/accessors, shorthand-sensitive members, and `__proto__` remain literal to preserve semantics.
279
-
280
- ## 0.2.1 - 2026-07-13
281
-
282
- - Added OIDC/SAML configuration validation, organization directory behavior, and a bearer-authenticated SCIM 2.0 user lifecycle core to governance.
283
- - Added versioned managed Web Integrity policies, monitor/block decisions, incident deduplication and workflow, plus active blocking for unknown dynamic scripts.
284
- - Exported the managed integrity, third-party inventory, and countermeasure runtime entry points.
285
-
286
- ## 0.2.0 — 2026-05-19
287
-
288
- - Added `--report <file>` flag. After a successful run, writes the full API
289
- response JSON (BuildId, PolymorphismFingerprint, GlobalIdentifierMap,
290
- MemberIdentifierMap, audit metadata) to the given path. Strips the heavy
291
- file payload before persisting since the protected source is already
292
- written to `config.output`. Pairs with `jso-symbolicate`.
293
- - Added `--label <value>` flag. Tags the API request with a release label
294
- that appears as `ReleaseLabel` in the JSO dashboard audit log. Also reads
295
- `JSO_LABEL` / `JAVASCRIPT_OBFUSCATOR_LABEL` from the environment.
296
- - `--json` output now includes `buildId`, `polymorphismFingerprint`, and
297
- `label` fields so CI scripts can capture them without a second read of the
298
- report file.
299
- - All 149 existing CLI unit tests still pass.
300
-
301
- ## Unreleased
302
-
303
- ### Runtime recovery and governance foundations (2026-07-13)
304
-
305
- - Added bounded browser-side `SelfHealing` for post-startup self-defending
306
- mutations, corrected the integrity baseline to hash the constructed function
307
- representation, and added `reload`, `callback`, and `degrade` response modes.
308
- - Added `jso-protector/governance` with local RBAC, scoped-token descriptors,
309
- and SHA-256 hash-chained audit events. Hosted SSO/SCIM remains explicitly out
310
- of scope for this local module.
311
-
312
- ### Runtime incident action plans (2026-06-12)
313
-
314
- - Dashboard Monitoring JSON/CSV exports now carry source-free per-incident
315
- action plans with next owner, evidence packet, response due state, status
316
- transition, acknowledgement requirement, and next action.
317
- - `--runtime-incident-evidence` preserves those action plans in Markdown and
318
- JSON, adds an Incident Action Plan table, and prompts BYO AI or internal
319
- reviewers about overdue incident owners before external handoff.
320
-
321
- ### VM marker ergonomics (2026-06-12)
322
-
323
- - VM protection now accepts `// @virtualize`, `/* @virtualize */`, and
324
- `/** @virtualize */` markers immediately before supported synchronous
325
- function declarations. The website pipeline normalizes block and JSDoc
326
- marker forms before invoking the VM sidecar, removing a silent-miss setup
327
- trap from the VM beta flow.
328
- - The VM proof static guard now checks the server-side normalizer and public
329
- docs so marker support cannot drift back to line-comment-only wording.
330
-
331
- ### Parser engine compatibility smoke (2026-06-12)
332
-
333
- - `tools/verify-parser-engine.ps1` now runs a multi-root compatibility smoke
334
- after the main parser conformance harness. The smoke compiles the legacy root
335
- `App_Code/JScriptProtectorV2` source tree and the framework
336
- `JScriptCodeDom` source tree, then verifies the Cesium-style `?.25`,
337
- optional-chain, nullish, and `.5e3` leading-dot exponent cases.
338
- - Archive hygiene now requires the new `compat-run.ps1` and
339
- `compat-smoke.cs` files so deployment packages include the same parser drift
340
- guard used locally.
341
-
342
- ### PCI DSS review assistant (2026-06-08)
343
-
344
- - `jso-protector compliance pci-dss-v4` Markdown and JSON now include a
345
- source-free PCI DSS Review Assistant for BYO AI or internal reviewer triage.
346
- - The assistant turns evidence gaps, signed-release proof, script
347
- authorization, observed script drift, header change evidence, runtime
348
- incident routing, and QSA handoff boundaries into checkout-owner actions
349
- without sharing source code, protected output, raw script rows, raw response
350
- headers, raw incident payloads, payment-card data, provider keys, customer
351
- data, or secrets.
352
-
353
- ### Runtime defense review assistant (2026-06-08)
354
-
355
- - `--runtime-defense-review` Markdown and JSON now include a source-free
356
- Runtime Defense Review Assistant for BYO AI or internal reviewer triage.
357
- - The assistant turns runtime behavior scope, monitoring handoff,
358
- countermeasure policy, domain/date lock smoke, source-reading compatibility
359
- scan, release metadata, and protected-build smoke into owner prompts without
360
- sharing source code, protected output, domains, dates, redirect URLs, beacon
361
- URLs, countermeasure values, raw config files, API credentials, provider
362
- keys, collector tokens, customer data, or secrets.
363
-
364
- ### Identifier cache review assistant (2026-06-08)
365
-
366
- - `--identifier-cache-review` Markdown and JSON now include a source-free
367
- Identifier Cache Review Assistant for BYO AI or internal reviewer triage.
368
- - The assistant turns deterministic cache assumptions, custom dictionary
369
- replacement, reserved-name coverage, release metadata, and protected-build
370
- smoke into owner prompts without sharing source code, protected output, cache
371
- contents, dictionary values, prefixes, reserved-name expressions, raw config
372
- files, API credentials, provider keys, customer data, or secrets.
373
-
374
- ### Migration review assistant (2026-06-08)
375
-
376
- - `--migration-review` Markdown and JSON now include a source-free Migration
377
- Review Assistant for BYO AI or internal reviewer triage.
378
- - The assistant turns manual review tracks, source-map policy,
379
- identifier-cache replacement, runtime-defense behavior, source-reading
380
- command boundaries, release metadata, and protected-build smoke into owner
381
- prompts without sharing source code, protected output, source maps, cache
382
- contents, raw config files, API credentials, provider keys, customer data, or
383
- secrets.
384
-
385
- ### Competitor gap review assistant (2026-06-08)
386
-
387
- - `--competitor-gap-report` JSON and text output now include a source-free
388
- Competitor Gap Review Assistant for BYO AI or internal reviewer triage.
389
- - The assistant turns gap prioritization, partial-parity validation, triggered
390
- migration limitations, source-reading scan boundaries, vendor-claim
391
- freshness, and plan handoff into owner prompts without sharing source code,
392
- protected output, API credentials, provider keys, customer data, or secrets.
393
-
394
- ### Source-map evidence review assistant (2026-06-08)
395
-
396
- - `--source-map-evidence` now includes a source-free Source Map Review
397
- Assistant for BYO AI or internal reviewer triage.
398
- - The assistant turns leak cleanup, manifest verification, secure debugging
399
- exceptions, bundler cleanup order, and clean reviewer handoff into owner
400
- prompts without sharing source code, protected output, raw `.map` files,
401
- source-map contents, original source paths, customer data, or secrets.
402
-
403
- ### VM proof review assistant (2026-06-08)
404
-
405
- - `--vm-proof-pack` now includes a source-free VM Proof Review Assistant for
406
- BYO AI or internal reviewer triage.
407
- - The assistant turns failed proof checks, VM warnings, cold sensitive
408
- function scope, hot-path risk, build identity, and protected-build smoke
409
- evidence into owner prompts without sharing source code, protected output,
410
- VM bytecode, source maps, provider keys, customer data, or secrets.
411
-
412
- ### Deployment hygiene evidence packet (2026-06-08)
413
-
414
- - Added `--deployment-hygiene-evidence <file>` and
415
- `--deployment-hygiene-output <file>` to turn
416
- `tools/Build-UpdatedArchives.ps1 -ReportPath` JSON into a source-free
417
- archive/deployment hygiene reviewer packet.
418
- - The packet summarizes archive names, entry counts, byte sizes, missing
419
- required entries, blocked entries, blocked category booleans, exclusion
420
- policy, operator checklist, rotation triggers, and hygiene-report SHA-256
421
- without including `Web.config` contents, raw secrets, provider keys,
422
- database strings, host-specific transforms, customer data, or source code.
423
- - The command writes failed packets before exiting nonzero when archive
424
- hygiene is blocked, and includes a Deployment Hygiene Review Assistant for
425
- BYO AI or internal reviewers.
426
-
427
- ### Runtime incident review assistant (2026-06-08)
428
-
429
- - `--runtime-incident-evidence` now includes a source-free Runtime Incident
430
- Review Assistant for BYO AI or internal reviewer triage.
431
- - The assistant turns urgent response, repeated-signal correlation, dashboard
432
- status actions, response-window decisions, and alert-routing handoff into
433
- owner prompts without sharing source code, raw incident payloads, collector
434
- tokens, customer data, or secrets.
435
-
436
- ### AI-resistance review assistant (2026-06-08)
437
-
438
- - `--ai-resistance-evidence` now includes a source-free Review Assistant
439
- Packet for BYO AI or internal reviewer triage.
440
- - The packet turns failed required checks, missing attacker-model review
441
- tracks, VM scope, runtime evidence, compatibility proof, and planned
442
- Resistance Score wording into owner actions without sending source code,
443
- protected output, source maps, provider keys, or secrets.
444
- - Text output now renders the assistant packet beside the non-scoring review
445
- matrix, review decision, claim boundaries, and recommendations.
446
-
447
- ### Payment-page security-header review assistant (2026-06-08)
448
-
449
- - HAR-derived payment-page security-header snapshots now include a
450
- source-free Review Assistant Packet for BYO AI or internal reviewer triage.
451
- - The packet focuses checkout reviewers on baseline drift, CSP/reporting,
452
- HSTS, and frame-policy owner actions while explicitly excluding raw response
453
- headers, cookies, source code, payment data, customer data, provider keys,
454
- and secrets.
455
- - PCI DSS v4 security-header evidence now preserves or rebuilds the same
456
- review assistant packet and renders it in Markdown beside the header summary.
457
-
458
- ### Runtime incident repeated-signal correlation (2026-06-08)
459
-
460
- - `--runtime-incident-evidence` now preserves Dashboard Monitoring
461
- repeated-signal correlation and computes a CSV/row fallback when the export
462
- does not already include it.
463
- - Runtime evidence Markdown now includes a repeated-signal correlation table
464
- for repeated fingerprints and reasons, plus recommendations for repeated
465
- active high/critical signals before reviewer handoff.
466
- - PCI DSS v4 runtime-incident evidence now summarizes repeated-signal
467
- correlation beside routing, dashboard actions, response windows, and
468
- checklist metadata.
469
-
470
- ### Runtime incident evidence dashboard closeout (2026-06-08)
471
-
472
- - Runtime incident evidence packets now preserve and recommend the dashboard's
473
- filtered `Reviewing -> Resolved` closeout action when it is present in a
474
- Dashboard Monitoring JSON export.
475
- - CLI tests now cover multi-action dashboard metadata, including both
476
- `Open -> Reviewing` acknowledgement and `Reviewing -> Resolved` closeout.
477
-
478
- ### BYO AI key health in usage preflight (2026-06-08)
479
-
480
- - `ai.usage()` test fixtures now pin the `/v1/ai/usage.ashx`
481
- `providerKey` health object so Node callers can monitor missing, failed,
482
- stale, or rotation-review-due BYO AI keys without receiving key material.
483
- - `jso-protector --estimate` now preserves that source-free provider-key
484
- health in text output and under `estimate.providerKey` in JSON output while
485
- keeping quota as the only OK/WARN/FAIL gate.
486
- - `jso ai usage --pretty` now prints the same provider-key health summary:
487
- source-free status label, provider, next stored-key test, rotation review,
488
- and recommended action.
489
- - TypeScript callers now get an `AiProviderKeyHealth` declaration on
490
- `AiUsageResult.providerKey`, and package verification guards that declaration.
491
- - The README now documents `jso ai usage --pretty`, typed
492
- `ai.usage().providerKey` monitoring, the 30-day stored-key test, and the
493
- 90-day rotation review fields surfaced by usage preflight.
494
-
495
- ### Native parser-engine verification runners (2026-06-08)
496
-
497
- - Added PowerShell runners for ES6 lowering conformance, real-world parser
498
- corpus parse/write-back checks, and the combined parser-engine pre-deploy
499
- gate so this Windows workspace can verify parser changes without git-bash.
500
- - Added `verify:parser-engine` as a static package guard so the native engine
501
- runners, parser/ES6 harness docs, archive packaging, and polyglot smoke
502
- contract cannot drift out of the shipped updated-files package.
503
-
504
- ### Migration review packet (2026-06-08)
505
-
506
- - Added `--migration-review` with optional
507
- `--migration-review-output <file>` so migrated release teams get one
508
- source-free owner checklist for all accepted competitor-only fields before
509
- running focused source-map, identifier-cache, or runtime-defense packets.
510
- - The packet captures review-only field names, value types/counts, limitation
511
- groups, CLI compatibility warnings, saved report/manifest readiness,
512
- follow-up commands, protected-build smoke-test actions, and source-free
513
- sharing boundaries without embedding source code, protected output,
514
- source-map contents, cache contents, dictionary values, prefixes, domains,
515
- URLs, dates, seed values, or reserved expressions.
516
- - Migration reports now add a `migration-review` next command whenever any
517
- review-only item is present, and `--competitor-gap-report` lists the packet
518
- as a source-free review artifact when limitation groups are triggered.
519
- - The GitHub Action now exposes `migration-review` and
520
- `migration-review-report`, writes the same source-free JSON packet as a
521
- pre-protection artifact, and surfaces the report path for upload-artifact
522
- steps.
523
-
524
- ### Source-map migration next command (2026-06-08)
525
-
526
- - Migration reports now add a post-protect `source-map-evidence` next command
527
- whenever the source config contains source-map review items.
528
- - The generated command uses the same manifest path emitted by the `protect`
529
- next command:
530
- `jso-protector --source-map-evidence dist-protected/jso-manifest.json
531
- --source-map-evidence-output reports/source-map-evidence.md`.
532
- - Updated the README, website migration docs, tests, and source-map evidence
533
- guard so source-map migrations point directly at the source-free reviewer
534
- packet instead of relying on separate documentation.
535
-
536
- ### Runtime defense migration review packet (2026-06-08)
537
-
538
- - Added `--runtime-defense-review` with optional
539
- `--runtime-defense-review-output <file>` so migrated release teams can turn
540
- anti-debug, self-defending, runtime lock, console, and countermeasure
541
- settings into a source-free reviewer packet instead of a broad compatibility
542
- scan note.
543
- - The packet lists review-only field names, configured runtime evidence,
544
- monitoring and customer-owned forwarding tracks, countermeasure-policy
545
- follow-up, source-free release metadata readiness, compatibility-scan
546
- follow-up, protected-build smoke-test follow-up, and safe-sharing boundaries
547
- without embedding domains, dates, redirect URLs, beacon URLs, countermeasure
548
- values, source code, protected output, or compatibility-scan snippets.
549
- - `--competitor-gap-report` now points runtime-self-defending limitations at
550
- the dedicated `--runtime-defense-review` command and keeps
551
- `runtime-compatibility-scan` as an explicit source-reading follow-up.
552
- - Migration reports now add a `runtime-defense-review` next command whenever
553
- the source config contains anti-debug, self-defending, runtime lock, console,
554
- or countermeasure review items.
555
- - Added a `verify:runtime-defense-review` guard so CLI behavior, tests, docs,
556
- changelog, and competitive gap notes stay aligned.
557
-
558
- ### Identifier cache replacement review packet (2026-06-08)
559
-
560
- - Added `--identifier-cache-review` with optional
561
- `--identifier-cache-review-output <file>` so migrated release teams can turn
562
- `identifierNamesCache`, `identifierNamesCachePath`, `identifiersDictionary`,
563
- and `identifiersPrefix` into a source-free reviewer packet instead of a
564
- vague manual-review note.
565
- - The packet lists review-only field names, counts, reserved-name evidence,
566
- saved API report and manifest readiness, protected-build smoke-test follow-up,
567
- and safe-sharing boundaries without embedding cache contents, dictionary
568
- values, prefixes, reserved-name expressions, or source code.
569
- - `--competitor-gap-report` now points identifier-cache and custom-dictionary
570
- limitations at the dedicated review command, and the main verify chain has a
571
- `verify:identifier-cache-review` guard so CLI, tests, docs, and gap notes stay
572
- aligned.
573
- - Migration reports now add an `identifier-cache-review` next command whenever
574
- the source config contains identifier cache or custom dictionary review items,
575
- so release owners do not have to discover the packet from separate docs.
576
-
577
- ### Runtime incident dashboard action metadata (2026-06-08)
578
-
579
- - `--runtime-incident-evidence` now preserves `dashboardActions` from
580
- Dashboard Monitoring JSON exports and renders them in Markdown.
581
- - PCI DSS v4 runtime incident evidence also keeps the same action metadata, so
582
- reviewer packets can say which source-free dashboard status action is
583
- available without scraping dashboard HTML.
584
- - The action metadata currently covers the filtered `Open` to `Reviewing`
585
- acknowledgement path, including scope, matching Open incident count, and the
586
- safety boundary for resolved, ignored, and already-reviewing incidents.
587
-
588
- ### Payment-page security-header evidence (2026-06-08)
589
-
590
- - Added `--payment-page-headers <csv|json>` to `jso-protector compliance
591
- pci-dss-v4` so checkout owners can summarize CSP, `script-src`,
592
- `frame-src`, reporting endpoint, HSTS, referrer-policy, monitor,
593
- alert-route, baseline-hash match state, checkout surface, and frame context
594
- in the same source-free PCI evidence packet as script inventory and runtime
595
- incidents.
596
- - Added `examples/payment-page-security-headers.json` as a starter snapshot
597
- for payment-page header evidence.
598
- - Added `--payment-page-headers-from-har <file>` with
599
- `--payment-page-headers-output <file>` and optional
600
- `--payment-page-url-pattern <regex>` so browser or synthetic-monitor HAR
601
- exports can become the same source-free security-header snapshot without
602
- preserving raw cookie headers.
603
- - Added optional `--payment-page-headers-baseline <file>` so the HAR converter
604
- marks each checkout page or frame as `match`, `mismatch`, or `missing`
605
- against the last approved security-header snapshot for PCI 11.6.1 change
606
- review.
607
- - PCI DSS v4 security-header evidence now reports missing baseline pages as a
608
- first-class count instead of folding them into unstated baseline evidence.
609
- - Added matching GitHub Action support through `payment-page-har`,
610
- `payment-page-headers-baseline`, `payment-page-url-pattern`, and
611
- `payment-page-headers-report`, including a source-free JSON artifact path,
612
- step-summary baseline metrics, and workflow annotations for header drift,
613
- missing CSP, or missing reporting-endpoint coverage.
614
- - Updated the non-GitHub CI template hint blocks so Jenkins, GitLab, Azure,
615
- CircleCI, Bitbucket, Buildkite, Drone, Woodpecker, GoCD, Tekton, Argo, and
616
- TeamCity users see the same security-header baseline option.
617
- - Added optional GitHub Action PCI DSS v4 evidence assembly through
618
- `pci-dss-v4-evidence`, `pci-dss-v4-report`, and
619
- `pci-dss-v4-json-report`. The action now auto-creates a manifest when the
620
- PCI gate is enabled, prefers the signed `.sig` envelope when present, reuses
621
- payment-page audit/header/runtime evidence inputs, and emits source-free
622
- Markdown plus JSON report paths.
623
-
624
- ### Payment-page iframe evidence context (2026-06-08)
625
-
626
- - Payment-page script inventory starters, audit packets, and PCI DSS v4
627
- reports now preserve optional checkout-surface and frame metadata:
628
- `checkoutSurface`, `frameContext`, `frameOwner`, `parentPageHref`,
629
- `frameHref`, and `frameOrigin`.
630
- - Audit and PCI Markdown/JSON summaries now include checkout surface counts,
631
- frame context counts, frame owner counts, and iframe-scoped script counts so
632
- checkout owners can distinguish parent-page, hosted-checkout, PSP iframe,
633
- and embedded-frame evidence without embedding raw source code.
634
-
635
- ### Source-map evidence verification guard (2026-06-08)
636
-
637
- - Added `verify:source-map-evidence` to the main package verify chain. The
638
- guard checks that manifest verification, source-map leak auditing,
639
- `--source-map-evidence`, public npm docs, GitHub Action artifact wiring, and
640
- source-free reviewer-boundary wording stay aligned.
641
-
642
- ### Payment-page evidence verification guard (2026-06-08)
643
-
644
- - Added `verify:payment-page` to the main package verify chain. The guard
645
- checks that payment-page script inventory generation, audit reconciliation,
646
- PCI DSS v4 evidence import, GitHub Action preflight wiring, public
647
- Payment Page Protection docs, and source-free Review Assistant Packet
648
- boundaries stay aligned.
649
-
650
- ### VM proof-pack verification guard (2026-06-08)
651
-
652
- - Added `verify:vm-proof` to the main package verify chain. The guard checks
653
- that `--verify-vm-proof`, `--vm-proof-pack`, public VM Proof Pack docs,
654
- GitHub Action inputs/outputs, CLI tests, and reviewer handoff language stay
655
- aligned around source-free VM evidence, cold-path review, and
656
- `ready-for-manual-review` decisions.
657
-
658
- ### Runtime incident evidence packet (2026-06-08)
659
-
660
- - Added `--runtime-incident-evidence <csv|json>` with optional
661
- `--runtime-incident-evidence-output <file>` so account owners can turn a
662
- Dashboard Monitoring runtime incident export into a standalone source-free
663
- Markdown or JSON handoff packet for support, on-call, and reviewer workflows.
664
- - The packet summarizes incident counts, active high/critical count, BuildIDs,
665
- routing recommendation, response window, response checklist, alert routing
666
- playbook, export SHA-256, safe-sharing boundaries, and review decision. It
667
- exits nonzero when active high/critical incidents need response.
668
-
669
- ### Competitor gap review artifacts (2026-06-08)
670
-
671
- - Refreshed the `--competitor-gap-report` public-source snapshot to 2026-06-08
672
- with current javascript-obfuscator, JS-Confuser, Jscrambler, AfterPack,
673
- Obfuscator.io, JSDefender, and Digital.ai public surfaces.
674
- - Added a `reviewArtifacts` block to the JSON and text report so migrated
675
- release teams get concrete source-free handoff commands for release-check,
676
- competitor-gap, source-map evidence, and identifier-cache replacement review,
677
- plus a source-reading compatibility scan when runtime-defense switches need
678
- manual validation.
679
-
680
- ### Source-map evidence packet (2026-06-07)
681
-
682
- - Added `--source-map-evidence <manifest>` with optional
683
- `--source-map-evidence-output <file>` so release teams can generate a
684
- source-free Markdown or JSON packet proving protected artifacts still match
685
- the manifest and do not expose `.map` files or `sourceMappingURL` comments.
686
- The packet lists artifact names, counts, policy boundaries, review decision,
687
- and next actions without embedding source code or source-map contents.
688
-
689
- ### Runtime incident alert routing playbook evidence (2026-06-07)
690
-
691
- - PCI DSS v4 runtime-incident evidence now preserves Dashboard Monitoring
692
- `routing.alertRoutingPlaybook` metadata from JSON exports and renders it in
693
- Markdown. Reviewer packets keep the security-response, customer-owned
694
- alerting, support-handoff, and reviewer-packet lanes without embedding raw
695
- incident rows or turning JSO into a managed SOC console.
696
-
697
- ### Competitor gap source snapshot (2026-06-07)
698
-
699
- - `--competitor-gap-report` now includes a dated public-source snapshot in JSON
700
- and text output. The report names the competitor pages reviewed for the
701
- migration framing and warns teams to re-check current vendor pages before
702
- publishing named competitive claims.
703
-
704
- ### AI evidence review decision (2026-06-07)
705
-
706
- - `--ai-resistance-evidence` now includes a source-free `reviewDecision`
707
- object and text line. The packet is `blocked` when required evidence fails,
708
- `ready-for-manual-review` when required checks pass but review tracks need
709
- confirmation, and `ready` when every current track is evidenced.
710
-
711
- ### Public copy discipline verify gate (2026-06-07)
712
-
713
- - Added `verify:copy-discipline` to the main verify chain. The guard scans
714
- public website copy and the npm README for stale competitor claims, absolute
715
- AI/security claims, and missing evidence-boundary statements so customer
716
- pages stay end-user focused and source-reviewable.
717
-
718
- ### Runtime incident response window (2026-06-07)
719
-
720
- - PCI runtime-incident evidence now preserves Dashboard Monitoring
721
- `responseWindow` metadata from JSON exports and renders it in Markdown.
722
- The packet records the source-free timing basis, target, due time, overdue
723
- state, and status action so reviewers can see whether active runtime
724
- incidents are still inside the response target.
725
- - CSV incident exports now get a conservative response-window fallback in the
726
- PCI report: the reporter can calculate the due time from the oldest active
727
- high/critical or active incident, while leaving overdue state unevaluated
728
- unless a dashboard JSON export supplies generation timing.
729
-
730
- ### Archive hygiene verify gate (2026-06-07)
731
-
732
- - Added `verify:deployment-hygiene` to the main verify chain. The guard checks
733
- that `tools/Build-UpdatedArchives.ps1` still supports optional JSON hygiene
734
- reports, keeps blocked deployment files out of updated-files zips, and keeps
735
- the public Deployment Hygiene docs aligned with the archive handoff command.
736
- - Archive hygiene JSON reports now include a source-free operator checklist
737
- with before-sharing steps, rotation triggers, and a support boundary so
738
- release handoffs can say what to verify without exposing config secrets.
739
-
740
- ### Payment-page inventory audit packet (2026-06-07)
741
-
742
- - PCI runtime-incident evidence now includes a source-free response checklist
743
- derived from Dashboard Monitoring CSV/JSON exports. Dashboard JSON exports
744
- can carry that checklist directly, and the PCI report preserves it when
745
- present. The checklist keeps filter scope, routing scope, suggested owners,
746
- response targets, downstream incident destinations, and safe-sharing
747
- boundaries without embedding raw incident rows.
748
- - Added optional payment-page script review metadata fields:
749
- `risk`, `dataAccess`, and `approvalTicket`. Generated inventory starters now
750
- include blank fields for checkout owners to complete, and PCI evidence
751
- reports summarize risk ratings, data-access scopes, and approval-ticket
752
- coverage without embedding every script row.
753
- - The payment-page script inventory audit now reports review-context coverage
754
- for authorized scripts. Missing optional `risk`, `dataAccess`, or
755
- `approvalTicket` values show up as non-blocking review-context gaps, while
756
- unknown scripts, unauthorized scripts, hash drift, missing approved rows,
757
- late injection, runtime violations, duplicate rows, and required metadata
758
- gaps remain blocking.
759
- - The same audit now includes a source-free Review Assistant Packet for BYO
760
- AI or internal reviewer triage, with safe-input boundaries, "do not include"
761
- reminders, and prompts for unknown scripts, authorization gaps, integrity
762
- drift, runtime behavior, missing approved scripts, and approval-ticket
763
- cleanup.
764
- - Added `--script-inventory-audit <inventory.json|csv>` with required
765
- `--runtime-inventory-snapshot <snapshot.json>` and optional
766
- `--script-inventory-audit-output <file>` so checkout owners can reconcile an
767
- approved payment-page script inventory against a saved browser runtime
768
- snapshot before reviewer handoff.
769
- - The audit stays local and source-free, emits Markdown by default or JSON with
770
- `--json`, and flags unknown observed scripts, unauthorized observed scripts,
771
- missing approved scripts, integrity hash mismatches, late injection, runtime
772
- violation reasons, duplicate approved rows, and incomplete inventory
773
- metadata.
774
- - `jso-protector compliance pci-dss-v4` now accepts
775
- `--script-inventory-audit <json>` so the approved-vs-observed reconciliation
776
- summary can be included in the same PCI evidence report as the script
777
- inventory and Dashboard Monitoring runtime incident export.
778
- - The shipped CI templates now advertise the same
779
- `--script-inventory-audit --runtime-inventory-snapshot
780
- --script-inventory-audit-output --json` gate in their optional preflight
781
- block, and the GitHub Action exposes matching
782
- `payment-script-inventory`, `runtime-inventory-snapshot`, and
783
- `script-inventory-audit-report` inputs for checkout release workflows.
784
- - The GitHub Action audit preflight now writes a step summary and workflow
785
- annotations for the first source-free findings so checkout owners can see
786
- script drift in the CI run before opening the JSON artifact.
787
-
788
- ### VM proof pack handoff (2026-06-07)
789
-
790
- - Added `--vm-proof-pack <report.json>` with optional
791
- `--vm-proof-output <file>` so release teams can turn a saved, source-free API
792
- report into a reviewer-ready VM evidence packet. Markdown is emitted by
793
- default; add `--json` for machine-readable evidence.
794
- - The proof pack reuses `--verify-vm-proof` checks and adds build identity,
795
- release label, polymorphism fingerprint, enabled options, warnings,
796
- recommendations, and a required reviewer checklist.
797
- - The proof pack now includes a `reviewDecision` object in JSON and a matching
798
- Markdown section. Passing VM evidence can still be labeled
799
- `ready-for-manual-review` when the reviewer must confirm cold-function scope
800
- and protected-build smoke-test results before approval.
801
- - Generated Markdown and JSON proof packs now include hot-path/cold-path
802
- guidance so reviewers can confirm VM protection stayed on rare sensitive
803
- functions instead of render loops, animation ticks, scroll handlers, or
804
- high-frequency parsers.
805
- - Generated proof packs now also include VM compatibility guidance covering
806
- supported function shape, skipped-with-warning syntax, public callback /
807
- framework-reflection risks, and reviewer actions before approval.
808
-
809
- ### Payment-page incident evidence for PCI reports (2026-06-06)
810
-
811
- - Added `--script-inventory <csv|json>` to `jso-protector compliance
812
- pci-dss-v4` so payment-page script authorization, written justification,
813
- owner, review-date, domain, and integrity-reference coverage can be hashed
814
- and summarized in the same source-free evidence report.
815
- - Added `examples/payment-page-script-inventory.json` as a starter attachment
816
- for the source-free payment-page inventory evidence workflow.
817
- - Added `--script-inventory-from-snapshot <file>` with optional
818
- `--script-inventory-output <file>` so checkout owners can turn an observed
819
- `third-party-inventory` runtime snapshot into a source-free PCI inventory
820
- review starter before adding authorization, justification, owner, and review
821
- dates.
822
- - Added `--runtime-incidents <csv|json>` to `jso-protector compliance
823
- pci-dss-v4` so the report can summarize the Dashboard Monitoring
824
- runtime-incident export as source-free PCI DSS v4 11.6.1 evidence.
825
- - Broadened the same flag to accept the Dashboard Monitoring JSON export too,
826
- so support tooling and release automation can feed machine-readable incident
827
- evidence into the PCI report without converting to CSV first.
828
- - Runtime incident JSON evidence now preserves Dashboard Monitoring export
829
- filters, such as active status or high/critical severity, in the JSON summary
830
- and Markdown evidence table.
831
- - Runtime incident JSON evidence now also preserves Dashboard Monitoring
832
- routing recommendations, including escalation level, recommended queue, and
833
- preferred evidence packet, in the PCI evidence JSON and Markdown report.
834
- - Dashboard Monitoring now shows that same source-free routing recommendation
835
- on the current filtered incident view before checkout and support owners
836
- export the JSON evidence packet.
837
- - Runtime incident JSON evidence now preserves routing response targets and
838
- next status actions, so PCI reviewer packets can carry queue, timing, and
839
- triage-state guidance without embedding source code.
840
- - The Markdown/JSON report now records CSV SHA-256, incident count, status and
841
- severity counts, open/reviewing totals, high-or-critical unresolved totals,
842
- received/event date ranges, and Build IDs without embedding every raw URL or
843
- user-agent row.
844
- - Updated payment-page documentation so checkout owners can pair signed
845
- manifests, watermarks, beacon/SIEM routing, and dashboard incident history
846
- in one reviewer-friendly command.
847
-
848
- ### AI resistance evidence report (2026-06-06)
849
-
850
- - Added `--ai-resistance-evidence <report.json>` so security reviewers can
851
- turn a saved, source-free API report into a current AI-resistance evidence
852
- checklist without sending source to an AI provider.
853
- - Added `--ai-resistance-evidence-output <file>` so the same checklist can be
854
- written as a reviewer artifact, using text by default or JSON when `--json`
855
- is set.
856
- - Extended `verify:ai` static checks so the AI evidence output artifact
857
- workflow remains visible in both the CLI and public AI Resistance Evidence
858
- docs.
859
- - Added a non-scoring attacker-model review matrix to the evidence checklist.
860
- The matrix covers identifier recovery, string recovery, control-flow
861
- reconstruction, sensitive-function extraction, runtime instrumentation,
862
- compatibility regression, and source-free handoff without claiming the
863
- planned Resistance Score is live.
864
- - The report checks build identity, strong protection options, optional VM
865
- proof, runtime-defense evidence, compatibility evidence, and source-free
866
- review data while clearly marking Resistance Score as planned, not live.
867
- - The Markdown-style text output and JSON report now include explicit claim
868
- boundaries for current evidence, planned Resistance Score, bounded AI
869
- resistance claims, and client-side runtime secrecy limits.
870
- - Added `--require-vm-proof` for release teams that want VM-backed evidence to
871
- be a hard CI gate.
872
-
873
- ### VM proof-pack verifier (2026-06-06)
874
-
875
- - Added `--verify-vm-proof <report.json>` so security reviewers can validate a
876
- saved, source-free API report without inspecting private source.
877
- - The verifier checks that VM protection was requested, VM protection was
878
- applied, the virtualized function count meets `--min-vm-functions`, and
879
- `VMProtectionWarnings` is empty.
880
- - Added CLI regression tests for saved-report and direct-report shapes.
881
-
882
- ### Competitor gap report hosted-runtime evidence (2026-06-06)
883
-
884
- - The runtime-defense capability now lists hosted dashboard intake,
885
- `RuntimeDefenseBeaconUrl`, Dashboard Monitoring, SIEM forwarding, and
886
- countermeasure helpers as the JSO evidence surface.
887
- - The generated migration plan now tells teams to route runtime events to
888
- customer monitoring or `/v1/runtime/beacon.ashx` before manually validating
889
- competitor anti-debug/self-defending switches.
890
- - Added regression coverage so the CLI report keeps the hosted first-triage
891
- path visible during competitor migrations.
892
-
893
- ### Migration documentation parity wording (2026-06-06)
894
-
895
- - Updated the README, migration guide, and security checklist so runtime
896
- defense is described as a mapped/partial capability with monitoring and
897
- countermeasure helpers, not as a pure unresolved gap.
898
- - The competitor report docs now name Obfuscator.io explicitly and call out
899
- manual validation for protected source-map generation, release readiness,
900
- and review-only migration fields.
901
-
902
- ### Competitor gap report runtime-defense parity (2026-06-06)
903
-
904
- - Runtime-defense parity now reports as `partial` instead of a pure `gap`
905
- because `jso-protector` ships runtime monitoring, beacon forwarding, and
906
- countermeasure helpers.
907
- - The competitor list now names Obfuscator.io explicitly alongside
908
- `javascript-obfuscator`, JS-Confuser, Jscrambler, and JSDefender.
909
- - Migrated anti-debug, integrity, self-defending, and tamper-protection
910
- switches remain review-only limitations because they are not one-to-one
911
- hosted API options.
912
- - Added a CLI test assertion so the runtime-defense capability cannot regress
913
- to a pure gap while the JSO runtime helpers remain available.
914
-
915
- ### Compliance evidence forwarder — push reports to GRC platforms (2026-06-02)
916
-
917
- New `compliance/evidence-forwarder.js` + a `--push` flag on the
918
- `compliance` CLI. After the PCI DSS v4 reporter generates a report, the
919
- forwarder normalizes it into a vendor-neutral evidence artifact (control
920
- mappings, summary, build id, content sha256) and POSTs it to a GRC
921
- platform so the per-build report that already exists also lands in
922
- Drata / Vanta / an in-house system without a manual upload.
923
-
924
- ```
925
- npx jso-protector compliance pci-dss-v4 \
926
- --manifest dist/build.manifest.json.sig --root dist \
927
- --push drata --push-endpoint "$JSO_GRC_ENDPOINT" --push-token "$JSO_GRC_TOKEN"
928
- ```
929
-
930
- Three profiles shape the envelope + headers: `generic` (artifact as-is,
931
- optional HMAC signing identical to the jso-beacon-slack webhook adapter),
932
- `drata`, and `vanta`. Field names are overridable via `fieldMap`. The
933
- tenant endpoint + token are operator-supplied — GRC platforms are
934
- multi-tenant, so the module deliberately does not hardcode a vendor API
935
- version it can't keep current; the profile only shapes the request.
936
-
937
- Contract matches the SIEM adapters: the forwarder never throws — a flaky
938
- GRC endpoint resolves to `{ ok:false, status:0, error }` and does NOT
939
- change the compliance exit code (the report's own verdict is the
940
- authority; forwarding is a side channel). 14 new tests (artifact
941
- normalization + stable hashing, all three profiles, fieldMap overrides,
942
- HMAC verifiability, transport-failure + throw isolation, non-2xx
943
- handling). 315/315 full jso-protector suite passes.
944
-
945
- ### AI script data governance — block LLM-bound exfiltration (2026-06-02)
946
-
947
- New browser runtime module `jso-protector/runtime/ai-script-governance.js`
948
- that hooks `fetch`, `XMLHttpRequest`, and `WebSocket` on the protected
949
- page and watches for requests that hit a known LLM provider endpoint.
950
- Closes the Jscrambler "AI Data Governance" parity gap surfaced by the
951
- latest deep-research workflow.
952
-
953
- What it catches:
954
-
955
- - a Magecart-style script exfiltrating card data to a free OpenAI
956
- endpoint ("summarize this number")
957
- - an untrusted third-party widget quietly streaming page contents to
958
- its own AI backend
959
- - a compromised CI/CD dependency that POSTs conversation history to
960
- a side-channel LLM
961
-
962
- Default known-host list covers OpenAI / Anthropic / Google
963
- (Gemini + Vertex) / Groq / Together / Mistral / AWS Bedrock
964
- (region-prefixed) / Cohere / Perplexity / xAI / DeepSeek / Replicate /
965
- Hugging Face Inference / Azure OpenAI (tenant-prefixed). Extensible via
966
- `config.additionalKnownLLMHosts`.
967
-
968
- Two enforcement modes:
969
-
970
- - `log` (default) — records destination + payload size + caller stack
971
- frame; request proceeds.
972
- - `block` — refuses. `fetch` returns a synthetic HTTP 451; XHR
973
- transitions to `readyState=4 status=0`; `WebSocket` constructor
974
- throws.
975
-
976
- Events emit through the same beacon channel as `third-party-inventory`,
977
- so the existing `jso-beacon-slack` SIEM adapters forward them unchanged
978
- (envelope `kind: "ai-data-access"`).
979
-
980
- 17 new tests, 301/301 full jso-protector suite passes.
981
-
982
- ### Electron V8 bytecode adapter + React Native 2026 playbook (2026-06-02)
983
-
984
- Completes deep-research GAP 5.
985
-
986
- - New sibling package **`jso-protector-electron`** (`packages/jso-protector-electron/`)
987
- with `compileDirectory({input, output, mode})` that walks JSO-protected
988
- JS and emits V8 bytecode `.jsc` files via `vm.Script.createCachedData()`.
989
- Two execution modes:
990
- - `embedded` (run under Electron): emits real `.jsc` files bound to
991
- the host Electron's V8 build.
992
- - `scaffold-only` (plain Node): emits the source + per-file
993
- `.bytecode-meta.json` for CI environments that don't ship Electron.
994
- - `auto` picks based on `process.versions.electron`.
995
- CLI: `jso-protector-electron --input dist-protected --output dist-bytecode`.
996
- Each `.jsc` carries an 8-byte magic + length-prefixed JSON header +
997
- the V8 cachedData blob so an auditor can validate coverage. 14 tests
998
- cover both modes, the CLI surface, the header layout, and the
999
- actionable error when embedded mode is invoked under plain Node.
1000
-
1001
- - New **`examples/react-native/README.md`** playbook (2026 refresh)
1002
- walking the modern React Native + JSO pipeline:
1003
- - Metro `customSerializer` JSO integration (existing `metro.js`).
1004
- - Hermes bytecode layering (`.hbc`).
1005
- - **Play Integrity API** (Android) replacing the deprecated
1006
- SafetyNet Attestation (shut down 2024-06-30).
1007
- - **DCAppAttestService** (iOS) for on-device attestation.
1008
- - JSO release manifest + beacon flow for the in-app verifier.
1009
- - Field-tested gotchas (Reanimated worklets, native-module bridge
1010
- name preservation, dev-mode bypass).
1011
-
1012
- ### RASP active countermeasures + named config sets (2026-06-02)
1013
-
1014
- Two paired build-time + browser-runtime features completing deep-research
1015
- GAP 4 (JSDefender v2 / Jscrambler RASP parity).
1016
-
1017
- **Browser runtime (`runtime/countermeasures.js`):**
1018
-
1019
- Six configurable reactions to runtime-defense tamper events, fired after
1020
- the beacon POST so even destructive actions leave telemetry:
1021
-
1022
- - `log` - record-only; default, no UI side effects
1023
- - `break` - stub every function on `window.__jsoEntry.*` so the protected
1024
- entry points become no-ops
1025
- - `deleteCookies` - clear cookies + sessionStorage + localStorage to
1026
- defuse stale credentials in a poisoned page
1027
- - `selfDestruct` with `mode: blank-body | crashWithMemory | crashTimeout`
1028
- - `redirect` to a safe URL (`javascript:` schemes rejected at build time)
1029
- - `callback` invoking a customer function with the violation event
1030
-
1031
- Configurable as a single action or an ordered array
1032
- (`onTamper: ["break", "deleteCookies"]`). An `allowList` keeps dev
1033
- environments from accidentally shipping destructive escalations.
1034
-
1035
- **Build-time named sets (`config/named-sets.js`):**
1036
-
1037
- Apply different protection profiles to different parts of one app:
1038
-
1039
- ```json
1040
- {
1041
- "preset": "balanced",
1042
- "countermeasures": { "onTamper": "log" },
1043
- "namedSets": {
1044
- "checkout": { "match": ["src/checkout/**", "src/wallet/**"],
1045
- "preset": "maximum",
1046
- "options": { "AddDeadCode": true, "DeadcodeLevel": "High" },
1047
- "countermeasures": { "onTamper": ["break", "deleteCookies"],
1048
- "redirectUrl": "https://example.com/outage" } },
1049
- "authenticated": { "match": ["src/dashboard/**", "src/account/**"],
1050
- "preset": "maximum",
1051
- "countermeasures": { "onTamper": ["deleteCookies"] } }
1052
- }
1053
- }
1054
- ```
1055
-
1056
- First-matching-set wins, so config authors get deterministic precedence
1057
- by writing sets in priority order (like a route table). The glob matcher
1058
- supports `**`, `*`, `?`, `[a-z]`, `{a,b}` — including `/**` at end which
1059
- matches the bare directory plus any nested files (so `src/checkout/**`
1060
- covers `src/checkout` AND `src/checkout/a/b.js`).
1061
-
1062
- Schema (`jso.config.schema.json`) extends with `countermeasures` and
1063
- `namedSets` as top-level properties plus a `$defs/countermeasures`
1064
- shared definition. Strict `additionalProperties: false` is preserved
1065
- on both the top-level and per-set objects.
1066
-
1067
- 28 new tests (15 countermeasures + 13 named-sets), full jso-protector
1068
- suite **284/284 pass**, verify chain green.
1069
-
1070
- ### Third-party script inventory + Magecart detection (2026-06-02)
1071
-
1072
- New browser-side runtime module `jso-protector/runtime/third-party-inventory.js`
1073
- that snapshots every script loaded by a payment page and flags violations
1074
- to a beacon URL.
1075
-
1076
- Detection signals:
1077
-
1078
- - script `src` outside the configured `originAllowlist`
1079
- - inline `<script>` whose sha256 is not in `inlineContentAllowlist`
1080
- - script DOM-injected AFTER `document.readyState === "complete"`
1081
- (defer-injection is a common Magecart evasion)
1082
- - same script URL but its content sha256 changed since the previous
1083
- deploy (catches CDN supply-chain swap attacks)
1084
-
1085
- Pure browser code (Web Crypto, fetch, PerformanceObserver) so it ships
1086
- in the protected bundle without server-side support. The module's
1087
- inventory snapshots emit through the same beacon channel as the rest
1088
- of the runtime-defense suite, so jso-beacon-slack forwards them to
1089
- Splunk / Elasticsearch / generic webhook unchanged.
1090
-
1091
- ```js
1092
- // In the page that's being protected:
1093
- const tpi = require("jso-protector/runtime/third-party-inventory");
1094
- tpi.attach(window, {
1095
- buildId: window.__jsoBuildId,
1096
- originAllowlist: ["https://www.example.com", "https://cdn.example.com"],
1097
- inlineContentAllowlist: ["a3f5...sha256...", "b07e..."],
1098
- previousContentBySrc: { "https://cdn.example.com/lib.js": "<old-sha256>" },
1099
- beaconUrl: "https://beacon.example.com/v1/jso/inventory",
1100
- flushIntervalMs: 15000,
1101
- });
1102
- ```
1103
-
1104
- 16 new tests (256 total in jso-protector) cover the pure-engine path
1105
- (unknown-origin / unknown-inline / injected-after-load /
1106
- content-changed-vs-previous-deploy / dedup / backpressure /
1107
- '*'-wildcard / trailing-slash) and the DOM-attach path
1108
- (idempotency + `createElement('script')` setter intercept).
1109
-
1110
- ### PCI DSS v4.0.1 compliance reporter (2026-06-02)
1111
-
1112
- New offline subcommand `jso-protector compliance pci-dss-v4` that consumes
1113
- a `--sign-release`-produced manifest envelope and emits a Markdown +
1114
- JSON evidence report mapping JSO primitives onto the two PCI DSS v4
1115
- controls JSO directly contributes to:
1116
-
1117
- - **Req 6.4.3** payment-page script management — covered by HMAC watermarks
1118
- (sub-req .a, authorized), Ed25519 release attestation (.b, integrity),
1119
- and the manifest `files[]` array (.c, inventory).
1120
- - **Req 11.6.1** change/tamper detection — covered by Runtime Defense +
1121
- BeaconUrl wiring (.a/.b, detection + cadence) and jso-beacon-slack SIEM
1122
- adapters (.c, personnel alerts).
1123
-
1124
- CLI:
1125
-
1126
- ```
1127
- jso-protector compliance pci-dss-v4 \
1128
- --manifest dist/build.manifest.json.sig \
1129
- --root dist \
1130
- --watermark-key "$JSO_WATERMARK_KEY" \
1131
- --beacon-url https://beacon.example.com/v1/jso \
1132
- --siem splunk-hec \
1133
- --organization "Example Corp" \
1134
- --output reports/pci-dss-v4.md
1135
- ```
1136
-
1137
- Exit codes follow the same shape as `--verify-release`: 0 = fully evidenced,
1138
- 1 = evidence gaps, 2 = manifest unsigned. The reporter is pure-offline —
1139
- no HTTP traffic, no telemetry. New `compliance/pci-dss-v4/` directory
1140
- ships in the npm tarball; 12 new tests (240 total) all pass.
1141
-
1142
- ### Supply-chain integrity surface
1143
-
1144
- - Added `--competitor-gap-report` to summarize covered / partial / gap parity
1145
- against common JavaScript obfuscator surfaces after migrations, including
1146
- runtime-defense, source-map, lock, and release-forensics guidance.
1147
- - Added public TypeScript declarations and package verification coverage for
1148
- the competitor gap report helpers.
1149
- - Added `--competitor-gap-report` to the optional CI template hint block and
1150
- extended CI template verification so all shipped pipelines keep surfacing
1151
- competitor migration gap checks.
1152
- - Added the same competitor gap report step to Kubernetes and Helm release
1153
- examples, plus migration/security/example docs that call out its
1154
- source-free behavior.
1155
- - Added `competitor-gap` to migration next-command output, gave the JSON report
1156
- a stable `format` / `version` envelope, and included the report in
1157
- `--local-only` preflight guidance.
1158
- - Added `--watermark <tag> --watermark-key <key>` &mdash; injects an HMAC-SHA256
1159
- header-comment marker into every input file before submission to the
1160
- obfuscation API. The obfuscator's `KeepComment` option preserves the
1161
- block verbatim through every transform so the marker survives in the
1162
- protected output. `JSO_WATERMARK_KEY` env-var fallback. Wire format
1163
- documented at /Docs/WireFormat.aspx#watermark.
1164
- - Added `--verify-watermark <file>` &mdash; single-file watermark validator.
1165
- With `--watermark-key`, runs a constant-time HMAC compare; without, prints
1166
- the embedded tag (lookup-only mode for forensic inspection of leaked
1167
- artifacts). Exit codes: 0 valid / 1 invalid / 2 missing-or-no-key.
1168
- - Added `--scan-watermarks <dir>` &mdash; tree walker for forensic / inventory
1169
- use. Skips `node_modules` + `.git`. Aggregates findings into a sorted
1170
- report. Exit codes: 0 all clean, 1 at least one invalid signature, 2 no
1171
- watermarks found at all.
1172
- - Added `--sign-release <priv.pem>` &mdash; produces an Ed25519-signed release
1173
- attestation `.manifest.json.sig` next to the manifest. Covers BuildId +
1174
- polymorphism fingerprint + label + per-file SHA-256. Canonical-JSON
1175
- serialization so verifiers in any language produce byte-identical
1176
- signatures.
1177
- - Added `--verify-release <sig>` &mdash; validates the envelope. Stage 1 is
1178
- Ed25519 signature over canonical manifest. Stage 2 (when `--verify-root
1179
- <dir>` is also passed) re-hashes referenced files on disk to catch
1180
- post-signing artifact tampering. `--public-key <pem>` pins to a trusted
1181
- public key (defeats key-substitution attacks).
1182
- - Added `--genkey-release <name>` &mdash; mints a fresh Ed25519 keypair, writes
1183
- `<name>.priv.pem` (0o600) and `<name>.pub.pem` (0o644). Removes the
1184
- "where do I get keys" friction.
1185
- - Added `--estimate` &mdash; pre-flight quota gate. Walks input files, calls
1186
- `/v1/ai/usage` for current-month counters, prints a three-state report
1187
- (OK / WARN / FAIL). FAIL (exit 1) when actions remaining = 0 blocks
1188
- builds that can't finish. Network failure on the usage endpoint
1189
- downgrades to WARN with a note (doesn't crash the pipeline).
1190
- - Added `--ai-precheck` &mdash; inline AI compatibility gate. Runs
1191
- `/v1/ai/compat-check` on every input file before the obfuscation API
1192
- is called; aborts the build on findings per `--ai-precheck-fail-on`
1193
- (`error` / `warning` / `never`). Quota untouched on failure.
1194
- - New `jso ai compat-scan` subcommand &mdash; stand-alone compat-check over
1195
- every input file in `jso.config.json`. Useful for pre-commit hooks and
1196
- IDE integrations.
1197
- - jso.config.schema.json: added `report`, `label`, `watermark`, and
1198
- `watermarkKey` to the schema so config validators stop rejecting these
1199
- documented keys. (Previous behavior: `additionalProperties: false`
1200
- caused IDE schema validators to flag the keys as unknown.)
1201
- - Coverage: new test suites `test/ai-precheck.test.js`, `test/watermark.test.js`,
1202
- `test/release-signer.test.js`, `test/estimate.test.js`,
1203
- `test/scan-watermarks.test.js`, `test/compat-scan.test.js`,
1204
- `test/wire-format-vectors.test.js` &mdash; 54 new cases on top of the
1205
- pre-existing AI client tests. Full suite 64/64.
1206
-
1207
- ### --init templates
1208
-
1209
- - Added `nextjs-app` and `react-native-app` `--init` templates plus `next`, `nextjs`, `react-native`, `reactnative`, `metro`, and `expo` aliases so scaffolded configs match the existing framework integrations.
1210
- - Added `vite-app`, `webpack-app`, `rspack-app`, and `turbopack-app` `--init` templates plus matching aliases so supported modern build paths now have first-class starter configs.
1211
- - Added `parcel-app`, `bun-app`, and `browserify-app` `--init` templates plus matching aliases so shipped Parcel/Bun/Browserify workflows now scaffold directly from the CLI.
1212
- - Added first-class `parcel`, `bun`, and `turbopack` package exports so the documented post-build workflows now ship with callable helpers and typed plan/config APIs.
1213
-
1214
- ## 0.1.1
1215
-
1216
- - Added `--mode` support so CommonJS and ES module config functions can branch cleanly across production, staging, and similar release profiles.
1217
- - Added the `electron-app` init template plus `electron` and `desktop` aliases for faster Electron/Desktop release onboarding.
1218
- - Added shipped Parcel, Bun, and Turbopack post-build examples plus README coverage for modern release pipelines without dedicated wrapper entrypoints.
1219
- - Fixed TypeScript init-template declarations so the public types include the shipped `electron-app` scaffold and aliases.
1220
- - Added regression coverage to ensure package JSON files do not introduce duplicate keys.
1221
- - Updated local-install tarball references and package metadata for the new patch release.
1222
-
1223
- ## 0.1.0
1224
-
1225
- Initial private package scaffold for JavaScript Obfuscator HTTP API workflows.
1226
-
1227
- - Added dependency-free CLI for directory, single-file, stdin/stdout, and dry-run workflows.
1228
- - Added named presets: `standard`, `balanced`, and `maximum`.
1229
- - Added JSON config schema, `--init`, online web-preset import, and CI option overrides.
1230
- - Added `doctor` preflight checks with optional tiny live API validation.
1231
- - Added Node API plus esbuild, Vite, Rollup, and Webpack entrypoints.
1232
- - Added a dedicated `react-native` alias entrypoint for Metro/Expo integrations.
1233
- - Added TypeScript declarations for public entrypoints.
1234
- - Added source-map removal, asset copying, include/exclude filtering, and public-name preservation helpers.
1235
- - Added Webpack 4 compatibility through a legacy `emit`-hook fallback while keeping Webpack 5 and Rspack support.
1236
- - Expanded Browserify, Webpack plugin, and Webpack/Rspack loader coverage to respect configured script extensions such as `.mjs` and `.cjs`.
1237
- - Added JS-Confuser migration helpers for the CLI and Node API, including starter-config conversion, option explanations, and direct translation for common presets, locks, and string/control-flow settings.
1
+ # Changelog
2
+
3
+ ## 0.4.13 - 2026-09-06
4
+
5
+ A plan refusal no longer ends with advice that contradicts it.
6
+
7
+ - When the server refuses an option your plan does not include, its message
8
+ already names the feature, the plan that covers it, the upgrade link and -
9
+ since 0.4.12 - which option to turn off to keep working on the plan you have.
10
+ The CLI was appending "Paid API access is enforced by the hosted API; check
11
+ account status, plan limits, credits, or subscription state" after all of
12
+ that, sending a reader who had just been told exactly what to do off to look
13
+ for something vague. That hint is for errors that arrive WITHOUT guidance, and
14
+ it already made the same exception for rate limits; plan refusals now get it
15
+ too.
16
+ - Detected by the upgrade link rather than by wording, because the wording
17
+ varies per feature while every plan refusal carries that link. Errors that
18
+ genuinely arrive without guidance - an expired subscription, a bad key - still
19
+ get their hint.
20
+
21
+ ## 0.4.12 - 2026-09-05
22
+
23
+ Two things that were true of the package but said nowhere a reader would see.
24
+
25
+ - **The command reference is now visible on npmjs.com.** npm stores at most
26
+ 65,536 characters of a README; ours is 100,761 bytes, so a third of it never
27
+ rendered on the package page. What fell outside was the whole `Commands`
28
+ section - 29 KB of it, starting at 68 KB, behind 18 KB of payment and
29
+ compliance evidence reference. `Commands` now sits directly after Quick Start.
30
+ Nothing was added or removed; the sections were reordered.
31
+ - **The free-tier header comment is disclosed before the run, not discovered
32
+ after it.** Free-tier output carries a seven-line comment naming the product
33
+ and linking the site, and nothing said so - the first anyone learned of it was
34
+ opening their own protected file. The anonymous notice now names it.
35
+ The banner itself is unchanged.
36
+ - One correction worth stating plainly: a free ACCOUNT does not remove that
37
+ header. The engine adds it whenever the account level is 0, which includes a
38
+ registered free account; only a paid plan is clean. The notice says so rather
39
+ than letting the neighbouring line about hourly limits imply otherwise.
40
+
41
+ ## 0.4.11 - 2026-09-03
42
+
43
+ Anonymous runs now say what a free account is worth.
44
+
45
+ - Every anonymous run printed "Run `javascriptobfuscator login` to use your
46
+ plan". That sentence is addressed to someone who already has a plan, and it
47
+ only ever prints for someone who does not - so the one moment the CLI has a
48
+ new user's attention was spent on something they could not act on. It now
49
+ states the real numbers: anonymous runs are capped at 5 per hour, a free
50
+ account raises that to 100 per hour, with a link to create one.
51
+ - The difference was never invented for this release; it has always been in the
52
+ server's rate limiter (2/min + 5/hour keyless, 10/min + 100/hour signed in,
53
+ per IP). It had simply never been said out loud.
54
+ - Why it matters now: until 2026-09-03 the server's limiter keyed on the
55
+ Cloudflare edge address rather than the caller's, so a single client spread
56
+ across edge nodes almost never met the anonymous cap. With that fixed the cap
57
+ binds for the first time, and a run that exceeds it can wait up to an hour.
58
+ The 429 body names both ceilings too, instead of saying an account "raises
59
+ the limit substantially".
60
+
61
+ No API, option or output changes.
62
+
63
+ ## 0.4.10 - 2026-09-02
64
+
65
+ Examples README pointed at the wrong version.
66
+
67
+ - The examples guide told customers to `npm install --save-dev
68
+ javascriptobfuscator-com@0.4.7` while the package was two releases newer.
69
+ Because `examples/` ships inside the tarball, published 0.4.8 and 0.4.9
70
+ carried that stale instruction. It now installs the current version, and the
71
+ publish gate (`prepublishOnly`) now runs `verify:examples`, so a mismatched
72
+ README blocks the release instead of shipping and only failing CI afterward.
73
+
74
+ ## 0.4.9 - 2026-09-01
75
+
76
+ README only. No behaviour changes.
77
+
78
+ - The npm registry truncates a README at 65,536 characters and ours is 100,725,
79
+ so a third of it never rendered on the package page - including `--local`
80
+ (protect without sending source), watermarking, signed release attestations,
81
+ the migration guide and the security section. The 30 KB command reference and
82
+ the PCI evidence walkthrough now sit at the end and take the truncation
83
+ instead; everything that explains what the tool is fits above the cut. Nothing
84
+ was deleted, and the full reference is on the docs site.
85
+ - Adds the measured dependency comparison against `javascript-obfuscator` 5.6.0:
86
+ 0 dependencies against 23, 3 installed directories against 120, 1s against 9s,
87
+ 2 MB against 56 MB. That was already true and stated once as an adjective; a
88
+ build tool sold on reducing risk should show the number.
89
+
90
+ ## 0.4.8 - 2026-09-01
91
+
92
+ The rate-limit message a first run actually sees.
93
+
94
+ - A keyless run that tripped the free-tier cap used to print
95
+ `API returned non-JSON response (429): The custom error module does not
96
+ recognize this error.` That sentence was IIS's, not ours: the server writes a
97
+ proper JSON body, and IIS's custom-error module was discarding it before it
98
+ left the machine. Fixed server-side; the message now says which of the two
99
+ ceilings was hit and how to raise it.
100
+ - The CLI no longer appends its paid-plan hint to a 429. The word "limit" in a
101
+ rate-limit message matched the billing regexp, so someone with no account was
102
+ being told to go check their subscription state.
103
+ - `--help` now shows the positional form. `jso-protector app.js` has always
104
+ worked and writes `app-obfuscated.js` beside the input - the same default the
105
+ competitor's CLI uses - but nothing in the help output said so, so anyone
106
+ arriving with that muscle memory had no way to find it.
107
+
108
+ ## 0.4.7 - 2026-08-31
109
+
110
+ Attribution only. No behaviour changes.
111
+
112
+ - The dashboard links the CLI opens now carry a source tag: `src=cli-login`
113
+ from `login`, and `src=cli-nokey` / `src=cli-nopwd` from the missing-credential
114
+ errors. A sign-up that starts at the CLI was previously indistinguishable from
115
+ a web sign-up, which made the free first run impossible to measure.
116
+ - Held back until the site could actually read the tag. It was being lost twice
117
+ on the way: the dashboard bounced signed-out visitors to sign-in without the
118
+ query string, and the sign-in page then hardcoded its own tag over whatever
119
+ arrived. Both are fixed and live, verified end to end before this release.
120
+
121
+ ## 0.4.6 - 2026-08-31
122
+
123
+ Documentation only. No behaviour changes.
124
+
125
+ - **The README said you needed an API key to use this package.** Since 0.4.5
126
+ that is false for a first run, and it was the first thing anyone read on
127
+ npmjs.com - so the page was arguing against the feature the release shipped.
128
+ The quickstart now says no account is needed, "What you need" answers
129
+ "nothing, to start", and the payment section describes the free tier and where
130
+ it ends instead of claiming the package unlocks nothing on its own.
131
+ - The quickstart installs `javascriptobfuscator-com` and calls
132
+ `javascriptobfuscator`, the current names.
133
+
134
+ ## 0.4.5 - 2026-08-31
135
+
136
+ - **The first command now works without an account.** With no credentials at
137
+ all the CLI sends the request anonymously and the service runs it on the free
138
+ tier - up to 20 files and 200 KB per request, no VM protection, rate limited
139
+ per IP. You get real protected output instead of an error, and the run says
140
+ so on stderr. `javascriptobfuscator login` switches to your plan.
141
+ - Half-configured credentials are still an error. Only *no* credentials means
142
+ anonymous, so a key that stopped resolving cannot silently downgrade a paid
143
+ build to the free tier.
144
+
145
+ ## 0.4.4 - 2026-08-31
146
+
147
+ - **`javascriptobfuscator login` saves your credentials once, for every project
148
+ on the machine.** Getting a first protected build used to take about seven
149
+ steps: install, hit the error, find the site, register, verify email, locate
150
+ the dashboard, copy two values, work out two platform-specific environment
151
+ variable names, set them, and run again - then set them again in the next
152
+ shell. `login` opens the dashboard, takes the two values (the password is not
153
+ echoed), and stores them in `~/.jso-protector/credentials.json`.
154
+ - `javascriptobfuscator logout` removes them.
155
+ - Stored credentials are resolved **last**, after an explicit flag, a project
156
+ config and the environment variables, so no existing CI setup changes
157
+ behaviour.
158
+ - The missing-credential errors now name `login` as the fastest fix.
159
+ - The store is written 0600. That is real protection on POSIX; Windows does not
160
+ honour the mode, so there it is only as protected as your user profile - the
161
+ same position as `~/.npmrc`.
162
+
163
+ ## 0.4.3 - 2026-08-30
164
+
165
+ Error messages only. No behaviour changes.
166
+
167
+ - **The "Missing API key" error now says where to get one.** It previously named
168
+ three places to *put* a key and no place to *obtain* one, which left a first-time
169
+ user with a dead end: measured against `javascript-obfuscator`, their first
170
+ command emits working protected output while ours printed this error. The
171
+ message now links the dashboard page that issues a free key, and the npm setup
172
+ guide. Same for "Missing API password", which is shown beside the key.
173
+ - Applied at all six sites - the protect path, `--doctor`, and config validation -
174
+ so the guidance is the same wherever you hit it.
175
+ - Also published under the package's new name, `javascriptobfuscator-com`.
176
+
177
+ ## 0.4.2 - 2026-08-27
178
+
179
+ Metadata only. No behaviour changes.
180
+
181
+ - **The package has a public source repository**:
182
+ [richtexteditor/jso-protector](https://github.com/richtexteditor/jso-protector).
183
+ npm now shows Repository and Issues links instead of nothing, which for a
184
+ security tool is the difference between auditable and "trust us". The
185
+ repository holds this package and nothing else - the protection engine runs
186
+ on the hosted API, or on your machine through the bundled `jso-local`
187
+ executable, and is not part of it.
188
+ - `bugs` points at GitHub issues and support@javascriptobfuscator.com.
189
+
190
+ ## 0.4.1 - 2026-08-27
191
+
192
+ Documentation only. No behaviour changes: the CLI, the Node API, the plugins,
193
+ and the protection engine are byte-for-byte the same as 0.4.0.
194
+
195
+ - **The npm page told visitors to install from a local path.** The README's
196
+ first instruction was `npm install --save-dev ./packages/jso-protector`, and
197
+ a later paragraph said the package was "intentionally local-only" and should
198
+ not go in a public registry — text written while it was, and left in place
199
+ when it was published. Someone arriving from npm search read an install
200
+ command that could not work and a claim that this was not a real product.
201
+ The first screen now says what the package does, installs from the registry,
202
+ and shows a two-line example.
203
+ - **Migration from another obfuscator is no longer buried.**
204
+ `--migrate-javascript-obfuscator` and `--migrate-js-confuser` convert an
205
+ existing config in one command; that was documented 1,500 lines down. It is
206
+ now on the first screen, with `--list-migration-map`, `--explain-compat`,
207
+ and `--competitor-gap-report` beside it.
208
+ - **`RELEASE.md` ships in the tarball and described the opposite of reality** —
209
+ `private: true`, `UNLICENSED`, and a publish guard that "should fail". It is
210
+ now the actual release runbook, including the site artifacts and checksums a
211
+ version bump has to keep in step.
212
+ - **Package metadata**: the description names what the tool does and the
213
+ toolchain it plugs into rather than calling itself an HTTP API wrapper, and
214
+ the keywords gained the terms people actually search for (`obfuscator`,
215
+ `code-protection`, `source-code-protection`, `anti-tamper`, `typescript`).
216
+ - Workspace and tarball install instructions still exist, under "Working from
217
+ a local checkout", where they belong.
218
+
219
+ ## 0.4.0 - 2026-08-26
220
+
221
+ - **Named configuration sets now protect.** `namedSets` — different protection
222
+ profiles for different parts of one app in a single build — had its schema,
223
+ resolver and tests in the package since the baseline but was never wired
224
+ into the protect flow; a config carrying it validated and was silently
225
+ ignored. It now works in both the CLI and the Node API (`protectFiles`):
226
+ each named set becomes its own API round with the baseline options plus the
227
+ set's preset block plus the set's own options; first matching set wins per
228
+ file; files matching no set keep the baseline exactly. The JSON summary
229
+ gains `namedSetGroups` (and `buildIds` when rounds produce multiple
230
+ reports); the manifest spans every group. A set the plan cannot afford
231
+ fails its own round with the normal API error and leaves other groups
232
+ untouched.
233
+ - **`TargetVersion` and `DownlevelIteration` are now first-class.** Both
234
+ engine options appear in `--list-options` (category `output`) and gain
235
+ camelCase config aliases `targetVersion` (`"es5"`/`"modern"`) and
236
+ `downlevelIteration` (spec-faithful ES5 for-of lowering: lazy stepping +
237
+ IteratorClose, like TypeScript's `downlevelIteration`; off by default
238
+ because it adds a per-step call on arrays; no effect on the modern target).
239
+ The raw option names worked before through generic passthrough; now they
240
+ are documented and validated.
241
+ - `--seed` is documented in `--help` (reproducible builds; omit for the
242
+ default polymorphic output).
243
+
244
+ ## 0.3.2 - 2026-08-10
245
+
246
+ - The shipped CI templates (all 13) now list `--local` in their
247
+ "Optional: migration and supply-chain checks" discovery block, with its
248
+ constraint attached: on-runner protection, no source upload, Windows agents
249
+ only. That block exists so users of non-GitHub CI systems can find a
250
+ capability without reading the docs site, and source-local protection was
251
+ the one capability missing from it.
252
+
253
+ ## 0.3.1 - 2026-08-10
254
+
255
+ - Documentation accuracy only, no behaviour change. The "Payment and API
256
+ Access" section still described the package as a client for the hosted API
257
+ and listed uploading source as an unconditional step, which stopped being
258
+ true in 0.3.0. It now states that `--local` keeps the source body on the
259
+ build machine while entitlement is still enforced server-side by a
260
+ source-free plan check.
261
+
262
+ ## 0.3.0 - 2026-08-10
263
+
264
+ - **`--local` protects without sending source.** The CLI can now run the
265
+ `jso-local` executable from the Windows desktop download (`cli/jso-local.exe`)
266
+ instead of POSTing source to the hosted API. Resolution order is
267
+ `--local-exe`, `JSO_LOCAL_EXE`, then the usual desktop install locations;
268
+ config equivalents are `local` and `localExe`.
269
+ - The local path is a transport swap, not a second implementation: it exchanges
270
+ the same request and response shapes the hosted endpoint uses, so options,
271
+ manifests, evidence packets, and size budgets behave identically. An option
272
+ that works hosted works locally by construction.
273
+ - Honest boundaries, enforced rather than documented: a source-free plan check
274
+ still runs online (Local Advanced is a paid capability), the payload holding
275
+ source and credentials is deleted after each run, and a build that asks for
276
+ VM bytecode protection fails with a clear message instead of silently
277
+ shipping weaker output.
278
+ - Corrected README copy that said protection workflows "do not meet a policy
279
+ that forbids source transfer" - true when written, false as of this release.
280
+
281
+ ## Native string splitting (2026-08-03)
282
+
283
+ - `splitStrings` and `splitStringsChunkLength` now map directly to native `SplitStrings` and `SplitStringsChunkLength` engine options instead of migration-review warnings.
284
+ - Eligible literals split into fixed-length concatenated chunks. Chunk length is bounded to 1-1024 and defaults to 10; directives, reserved literals, object keys, template segments, and mixed-server markers remain intact.
285
+ - CLI/config/Node API mappings, wire schemas, option discovery, ASP.NET model binding, and executable engine regression coverage ship together.
286
+ - JS-Confuser `stringSplitting` now maps approximately to the same native transform: booleans map directly, positive probabilities enable it, and custom selector functions remain explicit manual-review inputs.
287
+ - Splitting preserves dynamic-import and static-require specifiers for bundler discovery and never cuts a UTF-16 surrogate pair; executable regressions cover module linking, CommonJS resolution text, emoji values, and self-compressed output.
288
+ - Quoted class method, accessor, and field definition names remain literal. An adversarial class-field case previously failed during protection after the name became a binary expression; normal and self-compressed class-member execution now have permanent coverage.
289
+ - `stringArrayIndexShift` now maps approximately to native `StringArrayIndexShift`. Enabling it adds a deterministic nonzero one-slot offset to plain and encrypted string tables; it does not reproduce the competitor's randomized shift magnitude.
290
+ - `stringArrayShuffle` now maps directly to native `StringArrayShuffle`. The engine shuffles unique moved strings with per-build entropy, or reproducibly under `Seed`, and rewrites every lookup before plain or encrypted table emission.
291
+ - `stringArrayRotate` now maps directly to native `StringArrayRotate`. It applies a nonzero per-build cyclic rotation, rewrites every lookup, and composes with shuffle, index shifting, encryption, and seeded builds.
292
+ - `stringArrayIndexesType` now maps directly to native `StringArrayIndexesType`, supporting `hexadecimal-number`, `hexadecimal-numeric-string`, and mixed lists. Numeric strings are explicitly coerced before array lookup so hexadecimal property text cannot silently return `undefined`.
293
+ - `stringArrayThreshold` now maps directly to a native 0-1 per-unique-literal probability gate. Duplicate values receive one stable decision, zero moves nothing, one moves everything eligible, and `Seed` makes partial selection reproducible.
294
+ - `stringArrayCallsTransform` and `stringArrayCallsTransformThreshold` now map directly to native secondary index-table indirection. The engine emits nested lookups for selected calls, supports 0-1 probability, and composes with shifting, shuffling, rotation, encryption, index representations, compression, and seeded builds.
295
+ - String-array wrapper count, chaining, parameter ceiling, and type now map to native root-level wrappers. Variable aliases and multi-parameter function wrappers execute through optional predecessor chains; count is approximate because competitor per-function-scope placement is not reproduced.
296
+ - `transformObjectKeys` maps approximately to native safe data-key transformation. Identifier and quoted data keys become computed moved-string lookups; numeric keys, methods/accessors, shorthand-sensitive members, and `__proto__` remain literal to preserve semantics.
297
+
298
+ ## 0.2.1 - 2026-07-13
299
+
300
+ - Added OIDC/SAML configuration validation, organization directory behavior, and a bearer-authenticated SCIM 2.0 user lifecycle core to governance.
301
+ - Added versioned managed Web Integrity policies, monitor/block decisions, incident deduplication and workflow, plus active blocking for unknown dynamic scripts.
302
+ - Exported the managed integrity, third-party inventory, and countermeasure runtime entry points.
303
+
304
+ ## 0.2.0 — 2026-05-19
305
+
306
+ - Added `--report <file>` flag. After a successful run, writes the full API
307
+ response JSON (BuildId, PolymorphismFingerprint, GlobalIdentifierMap,
308
+ MemberIdentifierMap, audit metadata) to the given path. Strips the heavy
309
+ file payload before persisting since the protected source is already
310
+ written to `config.output`. Pairs with `jso-symbolicate`.
311
+ - Added `--label <value>` flag. Tags the API request with a release label
312
+ that appears as `ReleaseLabel` in the JSO dashboard audit log. Also reads
313
+ `JSO_LABEL` / `JAVASCRIPT_OBFUSCATOR_LABEL` from the environment.
314
+ - `--json` output now includes `buildId`, `polymorphismFingerprint`, and
315
+ `label` fields so CI scripts can capture them without a second read of the
316
+ report file.
317
+ - All 149 existing CLI unit tests still pass.
318
+
319
+ ## Unreleased
320
+
321
+ ### Runtime recovery and governance foundations (2026-07-13)
322
+
323
+ - Added bounded browser-side `SelfHealing` for post-startup self-defending
324
+ mutations, corrected the integrity baseline to hash the constructed function
325
+ representation, and added `reload`, `callback`, and `degrade` response modes.
326
+ - Added `jso-protector/governance` with local RBAC, scoped-token descriptors,
327
+ and SHA-256 hash-chained audit events. Hosted SSO/SCIM remains explicitly out
328
+ of scope for this local module.
329
+
330
+ ### Runtime incident action plans (2026-06-12)
331
+
332
+ - Dashboard Monitoring JSON/CSV exports now carry source-free per-incident
333
+ action plans with next owner, evidence packet, response due state, status
334
+ transition, acknowledgement requirement, and next action.
335
+ - `--runtime-incident-evidence` preserves those action plans in Markdown and
336
+ JSON, adds an Incident Action Plan table, and prompts BYO AI or internal
337
+ reviewers about overdue incident owners before external handoff.
338
+
339
+ ### VM marker ergonomics (2026-06-12)
340
+
341
+ - VM protection now accepts `// @virtualize`, `/* @virtualize */`, and
342
+ `/** @virtualize */` markers immediately before supported synchronous
343
+ function declarations. The website pipeline normalizes block and JSDoc
344
+ marker forms before invoking the VM sidecar, removing a silent-miss setup
345
+ trap from the VM beta flow.
346
+ - The VM proof static guard now checks the server-side normalizer and public
347
+ docs so marker support cannot drift back to line-comment-only wording.
348
+
349
+ ### Parser engine compatibility smoke (2026-06-12)
350
+
351
+ - `tools/verify-parser-engine.ps1` now runs a multi-root compatibility smoke
352
+ after the main parser conformance harness. The smoke compiles the legacy root
353
+ `App_Code/JScriptProtectorV2` source tree and the framework
354
+ `JScriptCodeDom` source tree, then verifies the Cesium-style `?.25`,
355
+ optional-chain, nullish, and `.5e3` leading-dot exponent cases.
356
+ - Archive hygiene now requires the new `compat-run.ps1` and
357
+ `compat-smoke.cs` files so deployment packages include the same parser drift
358
+ guard used locally.
359
+
360
+ ### PCI DSS review assistant (2026-06-08)
361
+
362
+ - `jso-protector compliance pci-dss-v4` Markdown and JSON now include a
363
+ source-free PCI DSS Review Assistant for BYO AI or internal reviewer triage.
364
+ - The assistant turns evidence gaps, signed-release proof, script
365
+ authorization, observed script drift, header change evidence, runtime
366
+ incident routing, and QSA handoff boundaries into checkout-owner actions
367
+ without sharing source code, protected output, raw script rows, raw response
368
+ headers, raw incident payloads, payment-card data, provider keys, customer
369
+ data, or secrets.
370
+
371
+ ### Runtime defense review assistant (2026-06-08)
372
+
373
+ - `--runtime-defense-review` Markdown and JSON now include a source-free
374
+ Runtime Defense Review Assistant for BYO AI or internal reviewer triage.
375
+ - The assistant turns runtime behavior scope, monitoring handoff,
376
+ countermeasure policy, domain/date lock smoke, source-reading compatibility
377
+ scan, release metadata, and protected-build smoke into owner prompts without
378
+ sharing source code, protected output, domains, dates, redirect URLs, beacon
379
+ URLs, countermeasure values, raw config files, API credentials, provider
380
+ keys, collector tokens, customer data, or secrets.
381
+
382
+ ### Identifier cache review assistant (2026-06-08)
383
+
384
+ - `--identifier-cache-review` Markdown and JSON now include a source-free
385
+ Identifier Cache Review Assistant for BYO AI or internal reviewer triage.
386
+ - The assistant turns deterministic cache assumptions, custom dictionary
387
+ replacement, reserved-name coverage, release metadata, and protected-build
388
+ smoke into owner prompts without sharing source code, protected output, cache
389
+ contents, dictionary values, prefixes, reserved-name expressions, raw config
390
+ files, API credentials, provider keys, customer data, or secrets.
391
+
392
+ ### Migration review assistant (2026-06-08)
393
+
394
+ - `--migration-review` Markdown and JSON now include a source-free Migration
395
+ Review Assistant for BYO AI or internal reviewer triage.
396
+ - The assistant turns manual review tracks, source-map policy,
397
+ identifier-cache replacement, runtime-defense behavior, source-reading
398
+ command boundaries, release metadata, and protected-build smoke into owner
399
+ prompts without sharing source code, protected output, source maps, cache
400
+ contents, raw config files, API credentials, provider keys, customer data, or
401
+ secrets.
402
+
403
+ ### Competitor gap review assistant (2026-06-08)
404
+
405
+ - `--competitor-gap-report` JSON and text output now include a source-free
406
+ Competitor Gap Review Assistant for BYO AI or internal reviewer triage.
407
+ - The assistant turns gap prioritization, partial-parity validation, triggered
408
+ migration limitations, source-reading scan boundaries, vendor-claim
409
+ freshness, and plan handoff into owner prompts without sharing source code,
410
+ protected output, API credentials, provider keys, customer data, or secrets.
411
+
412
+ ### Source-map evidence review assistant (2026-06-08)
413
+
414
+ - `--source-map-evidence` now includes a source-free Source Map Review
415
+ Assistant for BYO AI or internal reviewer triage.
416
+ - The assistant turns leak cleanup, manifest verification, secure debugging
417
+ exceptions, bundler cleanup order, and clean reviewer handoff into owner
418
+ prompts without sharing source code, protected output, raw `.map` files,
419
+ source-map contents, original source paths, customer data, or secrets.
420
+
421
+ ### VM proof review assistant (2026-06-08)
422
+
423
+ - `--vm-proof-pack` now includes a source-free VM Proof Review Assistant for
424
+ BYO AI or internal reviewer triage.
425
+ - The assistant turns failed proof checks, VM warnings, cold sensitive
426
+ function scope, hot-path risk, build identity, and protected-build smoke
427
+ evidence into owner prompts without sharing source code, protected output,
428
+ VM bytecode, source maps, provider keys, customer data, or secrets.
429
+
430
+ ### Deployment hygiene evidence packet (2026-06-08)
431
+
432
+ - Added `--deployment-hygiene-evidence <file>` and
433
+ `--deployment-hygiene-output <file>` to turn
434
+ `tools/Build-UpdatedArchives.ps1 -ReportPath` JSON into a source-free
435
+ archive/deployment hygiene reviewer packet.
436
+ - The packet summarizes archive names, entry counts, byte sizes, missing
437
+ required entries, blocked entries, blocked category booleans, exclusion
438
+ policy, operator checklist, rotation triggers, and hygiene-report SHA-256
439
+ without including `Web.config` contents, raw secrets, provider keys,
440
+ database strings, host-specific transforms, customer data, or source code.
441
+ - The command writes failed packets before exiting nonzero when archive
442
+ hygiene is blocked, and includes a Deployment Hygiene Review Assistant for
443
+ BYO AI or internal reviewers.
444
+
445
+ ### Runtime incident review assistant (2026-06-08)
446
+
447
+ - `--runtime-incident-evidence` now includes a source-free Runtime Incident
448
+ Review Assistant for BYO AI or internal reviewer triage.
449
+ - The assistant turns urgent response, repeated-signal correlation, dashboard
450
+ status actions, response-window decisions, and alert-routing handoff into
451
+ owner prompts without sharing source code, raw incident payloads, collector
452
+ tokens, customer data, or secrets.
453
+
454
+ ### AI-resistance review assistant (2026-06-08)
455
+
456
+ - `--ai-resistance-evidence` now includes a source-free Review Assistant
457
+ Packet for BYO AI or internal reviewer triage.
458
+ - The packet turns failed required checks, missing attacker-model review
459
+ tracks, VM scope, runtime evidence, compatibility proof, and planned
460
+ Resistance Score wording into owner actions without sending source code,
461
+ protected output, source maps, provider keys, or secrets.
462
+ - Text output now renders the assistant packet beside the non-scoring review
463
+ matrix, review decision, claim boundaries, and recommendations.
464
+
465
+ ### Payment-page security-header review assistant (2026-06-08)
466
+
467
+ - HAR-derived payment-page security-header snapshots now include a
468
+ source-free Review Assistant Packet for BYO AI or internal reviewer triage.
469
+ - The packet focuses checkout reviewers on baseline drift, CSP/reporting,
470
+ HSTS, and frame-policy owner actions while explicitly excluding raw response
471
+ headers, cookies, source code, payment data, customer data, provider keys,
472
+ and secrets.
473
+ - PCI DSS v4 security-header evidence now preserves or rebuilds the same
474
+ review assistant packet and renders it in Markdown beside the header summary.
475
+
476
+ ### Runtime incident repeated-signal correlation (2026-06-08)
477
+
478
+ - `--runtime-incident-evidence` now preserves Dashboard Monitoring
479
+ repeated-signal correlation and computes a CSV/row fallback when the export
480
+ does not already include it.
481
+ - Runtime evidence Markdown now includes a repeated-signal correlation table
482
+ for repeated fingerprints and reasons, plus recommendations for repeated
483
+ active high/critical signals before reviewer handoff.
484
+ - PCI DSS v4 runtime-incident evidence now summarizes repeated-signal
485
+ correlation beside routing, dashboard actions, response windows, and
486
+ checklist metadata.
487
+
488
+ ### Runtime incident evidence dashboard closeout (2026-06-08)
489
+
490
+ - Runtime incident evidence packets now preserve and recommend the dashboard's
491
+ filtered `Reviewing -> Resolved` closeout action when it is present in a
492
+ Dashboard Monitoring JSON export.
493
+ - CLI tests now cover multi-action dashboard metadata, including both
494
+ `Open -> Reviewing` acknowledgement and `Reviewing -> Resolved` closeout.
495
+
496
+ ### BYO AI key health in usage preflight (2026-06-08)
497
+
498
+ - `ai.usage()` test fixtures now pin the `/v1/ai/usage.ashx`
499
+ `providerKey` health object so Node callers can monitor missing, failed,
500
+ stale, or rotation-review-due BYO AI keys without receiving key material.
501
+ - `jso-protector --estimate` now preserves that source-free provider-key
502
+ health in text output and under `estimate.providerKey` in JSON output while
503
+ keeping quota as the only OK/WARN/FAIL gate.
504
+ - `jso ai usage --pretty` now prints the same provider-key health summary:
505
+ source-free status label, provider, next stored-key test, rotation review,
506
+ and recommended action.
507
+ - TypeScript callers now get an `AiProviderKeyHealth` declaration on
508
+ `AiUsageResult.providerKey`, and package verification guards that declaration.
509
+ - The README now documents `jso ai usage --pretty`, typed
510
+ `ai.usage().providerKey` monitoring, the 30-day stored-key test, and the
511
+ 90-day rotation review fields surfaced by usage preflight.
512
+
513
+ ### Native parser-engine verification runners (2026-06-08)
514
+
515
+ - Added PowerShell runners for ES6 lowering conformance, real-world parser
516
+ corpus parse/write-back checks, and the combined parser-engine pre-deploy
517
+ gate so this Windows workspace can verify parser changes without git-bash.
518
+ - Added `verify:parser-engine` as a static package guard so the native engine
519
+ runners, parser/ES6 harness docs, archive packaging, and polyglot smoke
520
+ contract cannot drift out of the shipped updated-files package.
521
+
522
+ ### Migration review packet (2026-06-08)
523
+
524
+ - Added `--migration-review` with optional
525
+ `--migration-review-output <file>` so migrated release teams get one
526
+ source-free owner checklist for all accepted competitor-only fields before
527
+ running focused source-map, identifier-cache, or runtime-defense packets.
528
+ - The packet captures review-only field names, value types/counts, limitation
529
+ groups, CLI compatibility warnings, saved report/manifest readiness,
530
+ follow-up commands, protected-build smoke-test actions, and source-free
531
+ sharing boundaries without embedding source code, protected output,
532
+ source-map contents, cache contents, dictionary values, prefixes, domains,
533
+ URLs, dates, seed values, or reserved expressions.
534
+ - Migration reports now add a `migration-review` next command whenever any
535
+ review-only item is present, and `--competitor-gap-report` lists the packet
536
+ as a source-free review artifact when limitation groups are triggered.
537
+ - The GitHub Action now exposes `migration-review` and
538
+ `migration-review-report`, writes the same source-free JSON packet as a
539
+ pre-protection artifact, and surfaces the report path for upload-artifact
540
+ steps.
541
+
542
+ ### Source-map migration next command (2026-06-08)
543
+
544
+ - Migration reports now add a post-protect `source-map-evidence` next command
545
+ whenever the source config contains source-map review items.
546
+ - The generated command uses the same manifest path emitted by the `protect`
547
+ next command:
548
+ `jso-protector --source-map-evidence dist-protected/jso-manifest.json
549
+ --source-map-evidence-output reports/source-map-evidence.md`.
550
+ - Updated the README, website migration docs, tests, and source-map evidence
551
+ guard so source-map migrations point directly at the source-free reviewer
552
+ packet instead of relying on separate documentation.
553
+
554
+ ### Runtime defense migration review packet (2026-06-08)
555
+
556
+ - Added `--runtime-defense-review` with optional
557
+ `--runtime-defense-review-output <file>` so migrated release teams can turn
558
+ anti-debug, self-defending, runtime lock, console, and countermeasure
559
+ settings into a source-free reviewer packet instead of a broad compatibility
560
+ scan note.
561
+ - The packet lists review-only field names, configured runtime evidence,
562
+ monitoring and customer-owned forwarding tracks, countermeasure-policy
563
+ follow-up, source-free release metadata readiness, compatibility-scan
564
+ follow-up, protected-build smoke-test follow-up, and safe-sharing boundaries
565
+ without embedding domains, dates, redirect URLs, beacon URLs, countermeasure
566
+ values, source code, protected output, or compatibility-scan snippets.
567
+ - `--competitor-gap-report` now points runtime-self-defending limitations at
568
+ the dedicated `--runtime-defense-review` command and keeps
569
+ `runtime-compatibility-scan` as an explicit source-reading follow-up.
570
+ - Migration reports now add a `runtime-defense-review` next command whenever
571
+ the source config contains anti-debug, self-defending, runtime lock, console,
572
+ or countermeasure review items.
573
+ - Added a `verify:runtime-defense-review` guard so CLI behavior, tests, docs,
574
+ changelog, and competitive gap notes stay aligned.
575
+
576
+ ### Identifier cache replacement review packet (2026-06-08)
577
+
578
+ - Added `--identifier-cache-review` with optional
579
+ `--identifier-cache-review-output <file>` so migrated release teams can turn
580
+ `identifierNamesCache`, `identifierNamesCachePath`, `identifiersDictionary`,
581
+ and `identifiersPrefix` into a source-free reviewer packet instead of a
582
+ vague manual-review note.
583
+ - The packet lists review-only field names, counts, reserved-name evidence,
584
+ saved API report and manifest readiness, protected-build smoke-test follow-up,
585
+ and safe-sharing boundaries without embedding cache contents, dictionary
586
+ values, prefixes, reserved-name expressions, or source code.
587
+ - `--competitor-gap-report` now points identifier-cache and custom-dictionary
588
+ limitations at the dedicated review command, and the main verify chain has a
589
+ `verify:identifier-cache-review` guard so CLI, tests, docs, and gap notes stay
590
+ aligned.
591
+ - Migration reports now add an `identifier-cache-review` next command whenever
592
+ the source config contains identifier cache or custom dictionary review items,
593
+ so release owners do not have to discover the packet from separate docs.
594
+
595
+ ### Runtime incident dashboard action metadata (2026-06-08)
596
+
597
+ - `--runtime-incident-evidence` now preserves `dashboardActions` from
598
+ Dashboard Monitoring JSON exports and renders them in Markdown.
599
+ - PCI DSS v4 runtime incident evidence also keeps the same action metadata, so
600
+ reviewer packets can say which source-free dashboard status action is
601
+ available without scraping dashboard HTML.
602
+ - The action metadata currently covers the filtered `Open` to `Reviewing`
603
+ acknowledgement path, including scope, matching Open incident count, and the
604
+ safety boundary for resolved, ignored, and already-reviewing incidents.
605
+
606
+ ### Payment-page security-header evidence (2026-06-08)
607
+
608
+ - Added `--payment-page-headers <csv|json>` to `jso-protector compliance
609
+ pci-dss-v4` so checkout owners can summarize CSP, `script-src`,
610
+ `frame-src`, reporting endpoint, HSTS, referrer-policy, monitor,
611
+ alert-route, baseline-hash match state, checkout surface, and frame context
612
+ in the same source-free PCI evidence packet as script inventory and runtime
613
+ incidents.
614
+ - Added `examples/payment-page-security-headers.json` as a starter snapshot
615
+ for payment-page header evidence.
616
+ - Added `--payment-page-headers-from-har <file>` with
617
+ `--payment-page-headers-output <file>` and optional
618
+ `--payment-page-url-pattern <regex>` so browser or synthetic-monitor HAR
619
+ exports can become the same source-free security-header snapshot without
620
+ preserving raw cookie headers.
621
+ - Added optional `--payment-page-headers-baseline <file>` so the HAR converter
622
+ marks each checkout page or frame as `match`, `mismatch`, or `missing`
623
+ against the last approved security-header snapshot for PCI 11.6.1 change
624
+ review.
625
+ - PCI DSS v4 security-header evidence now reports missing baseline pages as a
626
+ first-class count instead of folding them into unstated baseline evidence.
627
+ - Added matching GitHub Action support through `payment-page-har`,
628
+ `payment-page-headers-baseline`, `payment-page-url-pattern`, and
629
+ `payment-page-headers-report`, including a source-free JSON artifact path,
630
+ step-summary baseline metrics, and workflow annotations for header drift,
631
+ missing CSP, or missing reporting-endpoint coverage.
632
+ - Updated the non-GitHub CI template hint blocks so Jenkins, GitLab, Azure,
633
+ CircleCI, Bitbucket, Buildkite, Drone, Woodpecker, GoCD, Tekton, Argo, and
634
+ TeamCity users see the same security-header baseline option.
635
+ - Added optional GitHub Action PCI DSS v4 evidence assembly through
636
+ `pci-dss-v4-evidence`, `pci-dss-v4-report`, and
637
+ `pci-dss-v4-json-report`. The action now auto-creates a manifest when the
638
+ PCI gate is enabled, prefers the signed `.sig` envelope when present, reuses
639
+ payment-page audit/header/runtime evidence inputs, and emits source-free
640
+ Markdown plus JSON report paths.
641
+
642
+ ### Payment-page iframe evidence context (2026-06-08)
643
+
644
+ - Payment-page script inventory starters, audit packets, and PCI DSS v4
645
+ reports now preserve optional checkout-surface and frame metadata:
646
+ `checkoutSurface`, `frameContext`, `frameOwner`, `parentPageHref`,
647
+ `frameHref`, and `frameOrigin`.
648
+ - Audit and PCI Markdown/JSON summaries now include checkout surface counts,
649
+ frame context counts, frame owner counts, and iframe-scoped script counts so
650
+ checkout owners can distinguish parent-page, hosted-checkout, PSP iframe,
651
+ and embedded-frame evidence without embedding raw source code.
652
+
653
+ ### Source-map evidence verification guard (2026-06-08)
654
+
655
+ - Added `verify:source-map-evidence` to the main package verify chain. The
656
+ guard checks that manifest verification, source-map leak auditing,
657
+ `--source-map-evidence`, public npm docs, GitHub Action artifact wiring, and
658
+ source-free reviewer-boundary wording stay aligned.
659
+
660
+ ### Payment-page evidence verification guard (2026-06-08)
661
+
662
+ - Added `verify:payment-page` to the main package verify chain. The guard
663
+ checks that payment-page script inventory generation, audit reconciliation,
664
+ PCI DSS v4 evidence import, GitHub Action preflight wiring, public
665
+ Payment Page Protection docs, and source-free Review Assistant Packet
666
+ boundaries stay aligned.
667
+
668
+ ### VM proof-pack verification guard (2026-06-08)
669
+
670
+ - Added `verify:vm-proof` to the main package verify chain. The guard checks
671
+ that `--verify-vm-proof`, `--vm-proof-pack`, public VM Proof Pack docs,
672
+ GitHub Action inputs/outputs, CLI tests, and reviewer handoff language stay
673
+ aligned around source-free VM evidence, cold-path review, and
674
+ `ready-for-manual-review` decisions.
675
+
676
+ ### Runtime incident evidence packet (2026-06-08)
677
+
678
+ - Added `--runtime-incident-evidence <csv|json>` with optional
679
+ `--runtime-incident-evidence-output <file>` so account owners can turn a
680
+ Dashboard Monitoring runtime incident export into a standalone source-free
681
+ Markdown or JSON handoff packet for support, on-call, and reviewer workflows.
682
+ - The packet summarizes incident counts, active high/critical count, BuildIDs,
683
+ routing recommendation, response window, response checklist, alert routing
684
+ playbook, export SHA-256, safe-sharing boundaries, and review decision. It
685
+ exits nonzero when active high/critical incidents need response.
686
+
687
+ ### Competitor gap review artifacts (2026-06-08)
688
+
689
+ - Refreshed the `--competitor-gap-report` public-source snapshot to 2026-06-08
690
+ with current javascript-obfuscator, JS-Confuser, Jscrambler, AfterPack,
691
+ Obfuscator.io, JSDefender, and Digital.ai public surfaces.
692
+ - Added a `reviewArtifacts` block to the JSON and text report so migrated
693
+ release teams get concrete source-free handoff commands for release-check,
694
+ competitor-gap, source-map evidence, and identifier-cache replacement review,
695
+ plus a source-reading compatibility scan when runtime-defense switches need
696
+ manual validation.
697
+
698
+ ### Source-map evidence packet (2026-06-07)
699
+
700
+ - Added `--source-map-evidence <manifest>` with optional
701
+ `--source-map-evidence-output <file>` so release teams can generate a
702
+ source-free Markdown or JSON packet proving protected artifacts still match
703
+ the manifest and do not expose `.map` files or `sourceMappingURL` comments.
704
+ The packet lists artifact names, counts, policy boundaries, review decision,
705
+ and next actions without embedding source code or source-map contents.
706
+
707
+ ### Runtime incident alert routing playbook evidence (2026-06-07)
708
+
709
+ - PCI DSS v4 runtime-incident evidence now preserves Dashboard Monitoring
710
+ `routing.alertRoutingPlaybook` metadata from JSON exports and renders it in
711
+ Markdown. Reviewer packets keep the security-response, customer-owned
712
+ alerting, support-handoff, and reviewer-packet lanes without embedding raw
713
+ incident rows or turning JSO into a managed SOC console.
714
+
715
+ ### Competitor gap source snapshot (2026-06-07)
716
+
717
+ - `--competitor-gap-report` now includes a dated public-source snapshot in JSON
718
+ and text output. The report names the competitor pages reviewed for the
719
+ migration framing and warns teams to re-check current vendor pages before
720
+ publishing named competitive claims.
721
+
722
+ ### AI evidence review decision (2026-06-07)
723
+
724
+ - `--ai-resistance-evidence` now includes a source-free `reviewDecision`
725
+ object and text line. The packet is `blocked` when required evidence fails,
726
+ `ready-for-manual-review` when required checks pass but review tracks need
727
+ confirmation, and `ready` when every current track is evidenced.
728
+
729
+ ### Public copy discipline verify gate (2026-06-07)
730
+
731
+ - Added `verify:copy-discipline` to the main verify chain. The guard scans
732
+ public website copy and the npm README for stale competitor claims, absolute
733
+ AI/security claims, and missing evidence-boundary statements so customer
734
+ pages stay end-user focused and source-reviewable.
735
+
736
+ ### Runtime incident response window (2026-06-07)
737
+
738
+ - PCI runtime-incident evidence now preserves Dashboard Monitoring
739
+ `responseWindow` metadata from JSON exports and renders it in Markdown.
740
+ The packet records the source-free timing basis, target, due time, overdue
741
+ state, and status action so reviewers can see whether active runtime
742
+ incidents are still inside the response target.
743
+ - CSV incident exports now get a conservative response-window fallback in the
744
+ PCI report: the reporter can calculate the due time from the oldest active
745
+ high/critical or active incident, while leaving overdue state unevaluated
746
+ unless a dashboard JSON export supplies generation timing.
747
+
748
+ ### Archive hygiene verify gate (2026-06-07)
749
+
750
+ - Added `verify:deployment-hygiene` to the main verify chain. The guard checks
751
+ that `tools/Build-UpdatedArchives.ps1` still supports optional JSON hygiene
752
+ reports, keeps blocked deployment files out of updated-files zips, and keeps
753
+ the public Deployment Hygiene docs aligned with the archive handoff command.
754
+ - Archive hygiene JSON reports now include a source-free operator checklist
755
+ with before-sharing steps, rotation triggers, and a support boundary so
756
+ release handoffs can say what to verify without exposing config secrets.
757
+
758
+ ### Payment-page inventory audit packet (2026-06-07)
759
+
760
+ - PCI runtime-incident evidence now includes a source-free response checklist
761
+ derived from Dashboard Monitoring CSV/JSON exports. Dashboard JSON exports
762
+ can carry that checklist directly, and the PCI report preserves it when
763
+ present. The checklist keeps filter scope, routing scope, suggested owners,
764
+ response targets, downstream incident destinations, and safe-sharing
765
+ boundaries without embedding raw incident rows.
766
+ - Added optional payment-page script review metadata fields:
767
+ `risk`, `dataAccess`, and `approvalTicket`. Generated inventory starters now
768
+ include blank fields for checkout owners to complete, and PCI evidence
769
+ reports summarize risk ratings, data-access scopes, and approval-ticket
770
+ coverage without embedding every script row.
771
+ - The payment-page script inventory audit now reports review-context coverage
772
+ for authorized scripts. Missing optional `risk`, `dataAccess`, or
773
+ `approvalTicket` values show up as non-blocking review-context gaps, while
774
+ unknown scripts, unauthorized scripts, hash drift, missing approved rows,
775
+ late injection, runtime violations, duplicate rows, and required metadata
776
+ gaps remain blocking.
777
+ - The same audit now includes a source-free Review Assistant Packet for BYO
778
+ AI or internal reviewer triage, with safe-input boundaries, "do not include"
779
+ reminders, and prompts for unknown scripts, authorization gaps, integrity
780
+ drift, runtime behavior, missing approved scripts, and approval-ticket
781
+ cleanup.
782
+ - Added `--script-inventory-audit <inventory.json|csv>` with required
783
+ `--runtime-inventory-snapshot <snapshot.json>` and optional
784
+ `--script-inventory-audit-output <file>` so checkout owners can reconcile an
785
+ approved payment-page script inventory against a saved browser runtime
786
+ snapshot before reviewer handoff.
787
+ - The audit stays local and source-free, emits Markdown by default or JSON with
788
+ `--json`, and flags unknown observed scripts, unauthorized observed scripts,
789
+ missing approved scripts, integrity hash mismatches, late injection, runtime
790
+ violation reasons, duplicate approved rows, and incomplete inventory
791
+ metadata.
792
+ - `jso-protector compliance pci-dss-v4` now accepts
793
+ `--script-inventory-audit <json>` so the approved-vs-observed reconciliation
794
+ summary can be included in the same PCI evidence report as the script
795
+ inventory and Dashboard Monitoring runtime incident export.
796
+ - The shipped CI templates now advertise the same
797
+ `--script-inventory-audit --runtime-inventory-snapshot
798
+ --script-inventory-audit-output --json` gate in their optional preflight
799
+ block, and the GitHub Action exposes matching
800
+ `payment-script-inventory`, `runtime-inventory-snapshot`, and
801
+ `script-inventory-audit-report` inputs for checkout release workflows.
802
+ - The GitHub Action audit preflight now writes a step summary and workflow
803
+ annotations for the first source-free findings so checkout owners can see
804
+ script drift in the CI run before opening the JSON artifact.
805
+
806
+ ### VM proof pack handoff (2026-06-07)
807
+
808
+ - Added `--vm-proof-pack <report.json>` with optional
809
+ `--vm-proof-output <file>` so release teams can turn a saved, source-free API
810
+ report into a reviewer-ready VM evidence packet. Markdown is emitted by
811
+ default; add `--json` for machine-readable evidence.
812
+ - The proof pack reuses `--verify-vm-proof` checks and adds build identity,
813
+ release label, polymorphism fingerprint, enabled options, warnings,
814
+ recommendations, and a required reviewer checklist.
815
+ - The proof pack now includes a `reviewDecision` object in JSON and a matching
816
+ Markdown section. Passing VM evidence can still be labeled
817
+ `ready-for-manual-review` when the reviewer must confirm cold-function scope
818
+ and protected-build smoke-test results before approval.
819
+ - Generated Markdown and JSON proof packs now include hot-path/cold-path
820
+ guidance so reviewers can confirm VM protection stayed on rare sensitive
821
+ functions instead of render loops, animation ticks, scroll handlers, or
822
+ high-frequency parsers.
823
+ - Generated proof packs now also include VM compatibility guidance covering
824
+ supported function shape, skipped-with-warning syntax, public callback /
825
+ framework-reflection risks, and reviewer actions before approval.
826
+
827
+ ### Payment-page incident evidence for PCI reports (2026-06-06)
828
+
829
+ - Added `--script-inventory <csv|json>` to `jso-protector compliance
830
+ pci-dss-v4` so payment-page script authorization, written justification,
831
+ owner, review-date, domain, and integrity-reference coverage can be hashed
832
+ and summarized in the same source-free evidence report.
833
+ - Added `examples/payment-page-script-inventory.json` as a starter attachment
834
+ for the source-free payment-page inventory evidence workflow.
835
+ - Added `--script-inventory-from-snapshot <file>` with optional
836
+ `--script-inventory-output <file>` so checkout owners can turn an observed
837
+ `third-party-inventory` runtime snapshot into a source-free PCI inventory
838
+ review starter before adding authorization, justification, owner, and review
839
+ dates.
840
+ - Added `--runtime-incidents <csv|json>` to `jso-protector compliance
841
+ pci-dss-v4` so the report can summarize the Dashboard Monitoring
842
+ runtime-incident export as source-free PCI DSS v4 11.6.1 evidence.
843
+ - Broadened the same flag to accept the Dashboard Monitoring JSON export too,
844
+ so support tooling and release automation can feed machine-readable incident
845
+ evidence into the PCI report without converting to CSV first.
846
+ - Runtime incident JSON evidence now preserves Dashboard Monitoring export
847
+ filters, such as active status or high/critical severity, in the JSON summary
848
+ and Markdown evidence table.
849
+ - Runtime incident JSON evidence now also preserves Dashboard Monitoring
850
+ routing recommendations, including escalation level, recommended queue, and
851
+ preferred evidence packet, in the PCI evidence JSON and Markdown report.
852
+ - Dashboard Monitoring now shows that same source-free routing recommendation
853
+ on the current filtered incident view before checkout and support owners
854
+ export the JSON evidence packet.
855
+ - Runtime incident JSON evidence now preserves routing response targets and
856
+ next status actions, so PCI reviewer packets can carry queue, timing, and
857
+ triage-state guidance without embedding source code.
858
+ - The Markdown/JSON report now records CSV SHA-256, incident count, status and
859
+ severity counts, open/reviewing totals, high-or-critical unresolved totals,
860
+ received/event date ranges, and Build IDs without embedding every raw URL or
861
+ user-agent row.
862
+ - Updated payment-page documentation so checkout owners can pair signed
863
+ manifests, watermarks, beacon/SIEM routing, and dashboard incident history
864
+ in one reviewer-friendly command.
865
+
866
+ ### AI resistance evidence report (2026-06-06)
867
+
868
+ - Added `--ai-resistance-evidence <report.json>` so security reviewers can
869
+ turn a saved, source-free API report into a current AI-resistance evidence
870
+ checklist without sending source to an AI provider.
871
+ - Added `--ai-resistance-evidence-output <file>` so the same checklist can be
872
+ written as a reviewer artifact, using text by default or JSON when `--json`
873
+ is set.
874
+ - Extended `verify:ai` static checks so the AI evidence output artifact
875
+ workflow remains visible in both the CLI and public AI Resistance Evidence
876
+ docs.
877
+ - Added a non-scoring attacker-model review matrix to the evidence checklist.
878
+ The matrix covers identifier recovery, string recovery, control-flow
879
+ reconstruction, sensitive-function extraction, runtime instrumentation,
880
+ compatibility regression, and source-free handoff without claiming the
881
+ planned Resistance Score is live.
882
+ - The report checks build identity, strong protection options, optional VM
883
+ proof, runtime-defense evidence, compatibility evidence, and source-free
884
+ review data while clearly marking Resistance Score as planned, not live.
885
+ - The Markdown-style text output and JSON report now include explicit claim
886
+ boundaries for current evidence, planned Resistance Score, bounded AI
887
+ resistance claims, and client-side runtime secrecy limits.
888
+ - Added `--require-vm-proof` for release teams that want VM-backed evidence to
889
+ be a hard CI gate.
890
+
891
+ ### VM proof-pack verifier (2026-06-06)
892
+
893
+ - Added `--verify-vm-proof <report.json>` so security reviewers can validate a
894
+ saved, source-free API report without inspecting private source.
895
+ - The verifier checks that VM protection was requested, VM protection was
896
+ applied, the virtualized function count meets `--min-vm-functions`, and
897
+ `VMProtectionWarnings` is empty.
898
+ - Added CLI regression tests for saved-report and direct-report shapes.
899
+
900
+ ### Competitor gap report hosted-runtime evidence (2026-06-06)
901
+
902
+ - The runtime-defense capability now lists hosted dashboard intake,
903
+ `RuntimeDefenseBeaconUrl`, Dashboard Monitoring, SIEM forwarding, and
904
+ countermeasure helpers as the JSO evidence surface.
905
+ - The generated migration plan now tells teams to route runtime events to
906
+ customer monitoring or `/v1/runtime/beacon.ashx` before manually validating
907
+ competitor anti-debug/self-defending switches.
908
+ - Added regression coverage so the CLI report keeps the hosted first-triage
909
+ path visible during competitor migrations.
910
+
911
+ ### Migration documentation parity wording (2026-06-06)
912
+
913
+ - Updated the README, migration guide, and security checklist so runtime
914
+ defense is described as a mapped/partial capability with monitoring and
915
+ countermeasure helpers, not as a pure unresolved gap.
916
+ - The competitor report docs now name Obfuscator.io explicitly and call out
917
+ manual validation for protected source-map generation, release readiness,
918
+ and review-only migration fields.
919
+
920
+ ### Competitor gap report runtime-defense parity (2026-06-06)
921
+
922
+ - Runtime-defense parity now reports as `partial` instead of a pure `gap`
923
+ because `jso-protector` ships runtime monitoring, beacon forwarding, and
924
+ countermeasure helpers.
925
+ - The competitor list now names Obfuscator.io explicitly alongside
926
+ `javascript-obfuscator`, JS-Confuser, Jscrambler, and JSDefender.
927
+ - Migrated anti-debug, integrity, self-defending, and tamper-protection
928
+ switches remain review-only limitations because they are not one-to-one
929
+ hosted API options.
930
+ - Added a CLI test assertion so the runtime-defense capability cannot regress
931
+ to a pure gap while the JSO runtime helpers remain available.
932
+
933
+ ### Compliance evidence forwarder — push reports to GRC platforms (2026-06-02)
934
+
935
+ New `compliance/evidence-forwarder.js` + a `--push` flag on the
936
+ `compliance` CLI. After the PCI DSS v4 reporter generates a report, the
937
+ forwarder normalizes it into a vendor-neutral evidence artifact (control
938
+ mappings, summary, build id, content sha256) and POSTs it to a GRC
939
+ platform so the per-build report that already exists also lands in
940
+ Drata / Vanta / an in-house system without a manual upload.
941
+
942
+ ```
943
+ npx jso-protector compliance pci-dss-v4 \
944
+ --manifest dist/build.manifest.json.sig --root dist \
945
+ --push drata --push-endpoint "$JSO_GRC_ENDPOINT" --push-token "$JSO_GRC_TOKEN"
946
+ ```
947
+
948
+ Three profiles shape the envelope + headers: `generic` (artifact as-is,
949
+ optional HMAC signing identical to the jso-beacon-slack webhook adapter),
950
+ `drata`, and `vanta`. Field names are overridable via `fieldMap`. The
951
+ tenant endpoint + token are operator-supplied — GRC platforms are
952
+ multi-tenant, so the module deliberately does not hardcode a vendor API
953
+ version it can't keep current; the profile only shapes the request.
954
+
955
+ Contract matches the SIEM adapters: the forwarder never throws — a flaky
956
+ GRC endpoint resolves to `{ ok:false, status:0, error }` and does NOT
957
+ change the compliance exit code (the report's own verdict is the
958
+ authority; forwarding is a side channel). 14 new tests (artifact
959
+ normalization + stable hashing, all three profiles, fieldMap overrides,
960
+ HMAC verifiability, transport-failure + throw isolation, non-2xx
961
+ handling). 315/315 full jso-protector suite passes.
962
+
963
+ ### AI script data governance — block LLM-bound exfiltration (2026-06-02)
964
+
965
+ New browser runtime module `jso-protector/runtime/ai-script-governance.js`
966
+ that hooks `fetch`, `XMLHttpRequest`, and `WebSocket` on the protected
967
+ page and watches for requests that hit a known LLM provider endpoint.
968
+ Closes the Jscrambler "AI Data Governance" parity gap surfaced by the
969
+ latest deep-research workflow.
970
+
971
+ What it catches:
972
+
973
+ - a Magecart-style script exfiltrating card data to a free OpenAI
974
+ endpoint ("summarize this number")
975
+ - an untrusted third-party widget quietly streaming page contents to
976
+ its own AI backend
977
+ - a compromised CI/CD dependency that POSTs conversation history to
978
+ a side-channel LLM
979
+
980
+ Default known-host list covers OpenAI / Anthropic / Google
981
+ (Gemini + Vertex) / Groq / Together / Mistral / AWS Bedrock
982
+ (region-prefixed) / Cohere / Perplexity / xAI / DeepSeek / Replicate /
983
+ Hugging Face Inference / Azure OpenAI (tenant-prefixed). Extensible via
984
+ `config.additionalKnownLLMHosts`.
985
+
986
+ Two enforcement modes:
987
+
988
+ - `log` (default) — records destination + payload size + caller stack
989
+ frame; request proceeds.
990
+ - `block` — refuses. `fetch` returns a synthetic HTTP 451; XHR
991
+ transitions to `readyState=4 status=0`; `WebSocket` constructor
992
+ throws.
993
+
994
+ Events emit through the same beacon channel as `third-party-inventory`,
995
+ so the existing `jso-beacon-slack` SIEM adapters forward them unchanged
996
+ (envelope `kind: "ai-data-access"`).
997
+
998
+ 17 new tests, 301/301 full jso-protector suite passes.
999
+
1000
+ ### Electron V8 bytecode adapter + React Native 2026 playbook (2026-06-02)
1001
+
1002
+ Completes deep-research GAP 5.
1003
+
1004
+ - New sibling package **`jso-protector-electron`** (`packages/jso-protector-electron/`)
1005
+ with `compileDirectory({input, output, mode})` that walks JSO-protected
1006
+ JS and emits V8 bytecode `.jsc` files via `vm.Script.createCachedData()`.
1007
+ Two execution modes:
1008
+ - `embedded` (run under Electron): emits real `.jsc` files bound to
1009
+ the host Electron's V8 build.
1010
+ - `scaffold-only` (plain Node): emits the source + per-file
1011
+ `.bytecode-meta.json` for CI environments that don't ship Electron.
1012
+ - `auto` picks based on `process.versions.electron`.
1013
+ CLI: `jso-protector-electron --input dist-protected --output dist-bytecode`.
1014
+ Each `.jsc` carries an 8-byte magic + length-prefixed JSON header +
1015
+ the V8 cachedData blob so an auditor can validate coverage. 14 tests
1016
+ cover both modes, the CLI surface, the header layout, and the
1017
+ actionable error when embedded mode is invoked under plain Node.
1018
+
1019
+ - New **`examples/react-native/README.md`** playbook (2026 refresh)
1020
+ walking the modern React Native + JSO pipeline:
1021
+ - Metro `customSerializer` JSO integration (existing `metro.js`).
1022
+ - Hermes bytecode layering (`.hbc`).
1023
+ - **Play Integrity API** (Android) replacing the deprecated
1024
+ SafetyNet Attestation (shut down 2024-06-30).
1025
+ - **DCAppAttestService** (iOS) for on-device attestation.
1026
+ - JSO release manifest + beacon flow for the in-app verifier.
1027
+ - Field-tested gotchas (Reanimated worklets, native-module bridge
1028
+ name preservation, dev-mode bypass).
1029
+
1030
+ ### RASP active countermeasures + named config sets (2026-06-02)
1031
+
1032
+ Two paired build-time + browser-runtime features completing deep-research
1033
+ GAP 4 (JSDefender v2 / Jscrambler RASP parity).
1034
+
1035
+ **Browser runtime (`runtime/countermeasures.js`):**
1036
+
1037
+ Six configurable reactions to runtime-defense tamper events, fired after
1038
+ the beacon POST so even destructive actions leave telemetry:
1039
+
1040
+ - `log` - record-only; default, no UI side effects
1041
+ - `break` - stub every function on `window.__jsoEntry.*` so the protected
1042
+ entry points become no-ops
1043
+ - `deleteCookies` - clear cookies + sessionStorage + localStorage to
1044
+ defuse stale credentials in a poisoned page
1045
+ - `selfDestruct` with `mode: blank-body | crashWithMemory | crashTimeout`
1046
+ - `redirect` to a safe URL (`javascript:` schemes rejected at build time)
1047
+ - `callback` invoking a customer function with the violation event
1048
+
1049
+ Configurable as a single action or an ordered array
1050
+ (`onTamper: ["break", "deleteCookies"]`). An `allowList` keeps dev
1051
+ environments from accidentally shipping destructive escalations.
1052
+
1053
+ **Build-time named sets (`config/named-sets.js`):**
1054
+
1055
+ Apply different protection profiles to different parts of one app:
1056
+
1057
+ ```json
1058
+ {
1059
+ "preset": "balanced",
1060
+ "countermeasures": { "onTamper": "log" },
1061
+ "namedSets": {
1062
+ "checkout": { "match": ["src/checkout/**", "src/wallet/**"],
1063
+ "preset": "maximum",
1064
+ "options": { "AddDeadCode": true, "DeadcodeLevel": "High" },
1065
+ "countermeasures": { "onTamper": ["break", "deleteCookies"],
1066
+ "redirectUrl": "https://example.com/outage" } },
1067
+ "authenticated": { "match": ["src/dashboard/**", "src/account/**"],
1068
+ "preset": "maximum",
1069
+ "countermeasures": { "onTamper": ["deleteCookies"] } }
1070
+ }
1071
+ }
1072
+ ```
1073
+
1074
+ First-matching-set wins, so config authors get deterministic precedence
1075
+ by writing sets in priority order (like a route table). The glob matcher
1076
+ supports `**`, `*`, `?`, `[a-z]`, `{a,b}` — including `/**` at end which
1077
+ matches the bare directory plus any nested files (so `src/checkout/**`
1078
+ covers `src/checkout` AND `src/checkout/a/b.js`).
1079
+
1080
+ Schema (`jso.config.schema.json`) extends with `countermeasures` and
1081
+ `namedSets` as top-level properties plus a `$defs/countermeasures`
1082
+ shared definition. Strict `additionalProperties: false` is preserved
1083
+ on both the top-level and per-set objects.
1084
+
1085
+ 28 new tests (15 countermeasures + 13 named-sets), full jso-protector
1086
+ suite **284/284 pass**, verify chain green.
1087
+
1088
+ ### Third-party script inventory + Magecart detection (2026-06-02)
1089
+
1090
+ New browser-side runtime module `jso-protector/runtime/third-party-inventory.js`
1091
+ that snapshots every script loaded by a payment page and flags violations
1092
+ to a beacon URL.
1093
+
1094
+ Detection signals:
1095
+
1096
+ - script `src` outside the configured `originAllowlist`
1097
+ - inline `<script>` whose sha256 is not in `inlineContentAllowlist`
1098
+ - script DOM-injected AFTER `document.readyState === "complete"`
1099
+ (defer-injection is a common Magecart evasion)
1100
+ - same script URL but its content sha256 changed since the previous
1101
+ deploy (catches CDN supply-chain swap attacks)
1102
+
1103
+ Pure browser code (Web Crypto, fetch, PerformanceObserver) so it ships
1104
+ in the protected bundle without server-side support. The module's
1105
+ inventory snapshots emit through the same beacon channel as the rest
1106
+ of the runtime-defense suite, so jso-beacon-slack forwards them to
1107
+ Splunk / Elasticsearch / generic webhook unchanged.
1108
+
1109
+ ```js
1110
+ // In the page that's being protected:
1111
+ const tpi = require("jso-protector/runtime/third-party-inventory");
1112
+ tpi.attach(window, {
1113
+ buildId: window.__jsoBuildId,
1114
+ originAllowlist: ["https://www.example.com", "https://cdn.example.com"],
1115
+ inlineContentAllowlist: ["a3f5...sha256...", "b07e..."],
1116
+ previousContentBySrc: { "https://cdn.example.com/lib.js": "<old-sha256>" },
1117
+ beaconUrl: "https://beacon.example.com/v1/jso/inventory",
1118
+ flushIntervalMs: 15000,
1119
+ });
1120
+ ```
1121
+
1122
+ 16 new tests (256 total in jso-protector) cover the pure-engine path
1123
+ (unknown-origin / unknown-inline / injected-after-load /
1124
+ content-changed-vs-previous-deploy / dedup / backpressure /
1125
+ '*'-wildcard / trailing-slash) and the DOM-attach path
1126
+ (idempotency + `createElement('script')` setter intercept).
1127
+
1128
+ ### PCI DSS v4.0.1 compliance reporter (2026-06-02)
1129
+
1130
+ New offline subcommand `jso-protector compliance pci-dss-v4` that consumes
1131
+ a `--sign-release`-produced manifest envelope and emits a Markdown +
1132
+ JSON evidence report mapping JSO primitives onto the two PCI DSS v4
1133
+ controls JSO directly contributes to:
1134
+
1135
+ - **Req 6.4.3** payment-page script management — covered by HMAC watermarks
1136
+ (sub-req .a, authorized), Ed25519 release attestation (.b, integrity),
1137
+ and the manifest `files[]` array (.c, inventory).
1138
+ - **Req 11.6.1** change/tamper detection — covered by Runtime Defense +
1139
+ BeaconUrl wiring (.a/.b, detection + cadence) and jso-beacon-slack SIEM
1140
+ adapters (.c, personnel alerts).
1141
+
1142
+ CLI:
1143
+
1144
+ ```
1145
+ jso-protector compliance pci-dss-v4 \
1146
+ --manifest dist/build.manifest.json.sig \
1147
+ --root dist \
1148
+ --watermark-key "$JSO_WATERMARK_KEY" \
1149
+ --beacon-url https://beacon.example.com/v1/jso \
1150
+ --siem splunk-hec \
1151
+ --organization "Example Corp" \
1152
+ --output reports/pci-dss-v4.md
1153
+ ```
1154
+
1155
+ Exit codes follow the same shape as `--verify-release`: 0 = fully evidenced,
1156
+ 1 = evidence gaps, 2 = manifest unsigned. The reporter is pure-offline —
1157
+ no HTTP traffic, no telemetry. New `compliance/pci-dss-v4/` directory
1158
+ ships in the npm tarball; 12 new tests (240 total) all pass.
1159
+
1160
+ ### Supply-chain integrity surface
1161
+
1162
+ - Added `--competitor-gap-report` to summarize covered / partial / gap parity
1163
+ against common JavaScript obfuscator surfaces after migrations, including
1164
+ runtime-defense, source-map, lock, and release-forensics guidance.
1165
+ - Added public TypeScript declarations and package verification coverage for
1166
+ the competitor gap report helpers.
1167
+ - Added `--competitor-gap-report` to the optional CI template hint block and
1168
+ extended CI template verification so all shipped pipelines keep surfacing
1169
+ competitor migration gap checks.
1170
+ - Added the same competitor gap report step to Kubernetes and Helm release
1171
+ examples, plus migration/security/example docs that call out its
1172
+ source-free behavior.
1173
+ - Added `competitor-gap` to migration next-command output, gave the JSON report
1174
+ a stable `format` / `version` envelope, and included the report in
1175
+ `--local-only` preflight guidance.
1176
+ - Added `--watermark <tag> --watermark-key <key>` &mdash; injects an HMAC-SHA256
1177
+ header-comment marker into every input file before submission to the
1178
+ obfuscation API. The obfuscator's `KeepComment` option preserves the
1179
+ block verbatim through every transform so the marker survives in the
1180
+ protected output. `JSO_WATERMARK_KEY` env-var fallback. Wire format
1181
+ documented at /Docs/WireFormat.aspx#watermark.
1182
+ - Added `--verify-watermark <file>` &mdash; single-file watermark validator.
1183
+ With `--watermark-key`, runs a constant-time HMAC compare; without, prints
1184
+ the embedded tag (lookup-only mode for forensic inspection of leaked
1185
+ artifacts). Exit codes: 0 valid / 1 invalid / 2 missing-or-no-key.
1186
+ - Added `--scan-watermarks <dir>` &mdash; tree walker for forensic / inventory
1187
+ use. Skips `node_modules` + `.git`. Aggregates findings into a sorted
1188
+ report. Exit codes: 0 all clean, 1 at least one invalid signature, 2 no
1189
+ watermarks found at all.
1190
+ - Added `--sign-release <priv.pem>` &mdash; produces an Ed25519-signed release
1191
+ attestation `.manifest.json.sig` next to the manifest. Covers BuildId +
1192
+ polymorphism fingerprint + label + per-file SHA-256. Canonical-JSON
1193
+ serialization so verifiers in any language produce byte-identical
1194
+ signatures.
1195
+ - Added `--verify-release <sig>` &mdash; validates the envelope. Stage 1 is
1196
+ Ed25519 signature over canonical manifest. Stage 2 (when `--verify-root
1197
+ <dir>` is also passed) re-hashes referenced files on disk to catch
1198
+ post-signing artifact tampering. `--public-key <pem>` pins to a trusted
1199
+ public key (defeats key-substitution attacks).
1200
+ - Added `--genkey-release <name>` &mdash; mints a fresh Ed25519 keypair, writes
1201
+ `<name>.priv.pem` (0o600) and `<name>.pub.pem` (0o644). Removes the
1202
+ "where do I get keys" friction.
1203
+ - Added `--estimate` &mdash; pre-flight quota gate. Walks input files, calls
1204
+ `/v1/ai/usage` for current-month counters, prints a three-state report
1205
+ (OK / WARN / FAIL). FAIL (exit 1) when actions remaining = 0 blocks
1206
+ builds that can't finish. Network failure on the usage endpoint
1207
+ downgrades to WARN with a note (doesn't crash the pipeline).
1208
+ - Added `--ai-precheck` &mdash; inline AI compatibility gate. Runs
1209
+ `/v1/ai/compat-check` on every input file before the obfuscation API
1210
+ is called; aborts the build on findings per `--ai-precheck-fail-on`
1211
+ (`error` / `warning` / `never`). Quota untouched on failure.
1212
+ - New `jso ai compat-scan` subcommand &mdash; stand-alone compat-check over
1213
+ every input file in `jso.config.json`. Useful for pre-commit hooks and
1214
+ IDE integrations.
1215
+ - jso.config.schema.json: added `report`, `label`, `watermark`, and
1216
+ `watermarkKey` to the schema so config validators stop rejecting these
1217
+ documented keys. (Previous behavior: `additionalProperties: false`
1218
+ caused IDE schema validators to flag the keys as unknown.)
1219
+ - Coverage: new test suites `test/ai-precheck.test.js`, `test/watermark.test.js`,
1220
+ `test/release-signer.test.js`, `test/estimate.test.js`,
1221
+ `test/scan-watermarks.test.js`, `test/compat-scan.test.js`,
1222
+ `test/wire-format-vectors.test.js` &mdash; 54 new cases on top of the
1223
+ pre-existing AI client tests. Full suite 64/64.
1224
+
1225
+ ### --init templates
1226
+
1227
+ - Added `nextjs-app` and `react-native-app` `--init` templates plus `next`, `nextjs`, `react-native`, `reactnative`, `metro`, and `expo` aliases so scaffolded configs match the existing framework integrations.
1228
+ - Added `vite-app`, `webpack-app`, `rspack-app`, and `turbopack-app` `--init` templates plus matching aliases so supported modern build paths now have first-class starter configs.
1229
+ - Added `parcel-app`, `bun-app`, and `browserify-app` `--init` templates plus matching aliases so shipped Parcel/Bun/Browserify workflows now scaffold directly from the CLI.
1230
+ - Added first-class `parcel`, `bun`, and `turbopack` package exports so the documented post-build workflows now ship with callable helpers and typed plan/config APIs.
1231
+
1232
+ ## 0.1.1
1233
+
1234
+ - Added `--mode` support so CommonJS and ES module config functions can branch cleanly across production, staging, and similar release profiles.
1235
+ - Added the `electron-app` init template plus `electron` and `desktop` aliases for faster Electron/Desktop release onboarding.
1236
+ - Added shipped Parcel, Bun, and Turbopack post-build examples plus README coverage for modern release pipelines without dedicated wrapper entrypoints.
1237
+ - Fixed TypeScript init-template declarations so the public types include the shipped `electron-app` scaffold and aliases.
1238
+ - Added regression coverage to ensure package JSON files do not introduce duplicate keys.
1239
+ - Updated local-install tarball references and package metadata for the new patch release.
1240
+
1241
+ ## 0.1.0
1242
+
1243
+ Initial private package scaffold for JavaScript Obfuscator HTTP API workflows.
1244
+
1245
+ - Added dependency-free CLI for directory, single-file, stdin/stdout, and dry-run workflows.
1246
+ - Added named presets: `standard`, `balanced`, and `maximum`.
1247
+ - Added JSON config schema, `--init`, online web-preset import, and CI option overrides.
1248
+ - Added `doctor` preflight checks with optional tiny live API validation.
1249
+ - Added Node API plus esbuild, Vite, Rollup, and Webpack entrypoints.
1250
+ - Added a dedicated `react-native` alias entrypoint for Metro/Expo integrations.
1251
+ - Added TypeScript declarations for public entrypoints.
1252
+ - Added source-map removal, asset copying, include/exclude filtering, and public-name preservation helpers.
1253
+ - Added Webpack 4 compatibility through a legacy `emit`-hook fallback while keeping Webpack 5 and Rspack support.
1254
+ - Expanded Browserify, Webpack plugin, and Webpack/Rspack loader coverage to respect configured script extensions such as `.mjs` and `.cjs`.
1255
+ - Added JS-Confuser migration helpers for the CLI and Node API, including starter-config conversion, option explanations, and direct translation for common presets, locks, and string/control-flow settings.