jso-protector 0.4.12 → 0.4.14

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