jso-protector 0.2.0 → 0.4.0

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "jso-protector",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "description": "Command-line wrapper for JavaScript Obfuscator HTTP API workflows.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "author": "JavaScript Obfuscator",
7
- "homepage": "https://www.javascriptobfuscator.com/Docs/NpmCli.aspx",
7
+ "homepage": "https://javascriptobfuscator.com/docs/npmcli.aspx",
8
8
  "keywords": [
9
9
  "javascript-obfuscator",
10
10
  "obfuscation",
@@ -204,18 +204,59 @@
204
204
  "scripts": {
205
205
  "smoke": "node ./bin/jso-protector.js --help && node ./bin/jso-protector.js --config ./jso.config.example.json --dry-run --json",
206
206
  "smoke:api": "node ./bin/jso-protector.js --config ./jso.config.example.json --json",
207
- "test": "node ./test/cli.test.js && node ./test/ai.test.js && node ./test/ai-precheck.test.js && node ./test/ai-script-governance.test.js && node ./test/data-exfiltration-guard.test.js && node ./test/compat-scan.test.js && node ./test/compliance.test.js && node ./test/evidence-forwarder.test.js && node ./test/config-schema.test.js && node ./test/countermeasures.test.js && node ./test/environment-integrity.test.js && node ./test/estimate.test.js && node ./test/github-action.test.js && node ./test/governance.test.js && node ./test/managed-integrity.test.js && node ./test/named-sets.test.js && node ./test/release-signer.test.js && node ./test/scan-watermarks.test.js && node ./test/third-party-inventory.test.js && node ./test/watermark.test.js && node ./test/wire-format-vectors.test.js",
208
- "verify": "npm test && npm run verify:package && npm run verify:publish-metadata && npm run verify:ci && npm run verify:polyglot && npm run verify:ai && npm run verify:aspnet-bom && npm run verify:aspnet-compile && npm run verify:endrequest-guard && npm run verify:parser-engine && npm run verify:emit-validation && npm run verify:internal-links && npm run verify:seo && npm run verify:runtime-dashboard && npm run verify:payment-page && npm run verify:competitor-gap && npm run verify:source-map-evidence && npm run verify:migration-review && npm run verify:identifier-cache-review && npm run verify:runtime-defense-review && npm run verify:vm-proof && npm run verify:deployment-hygiene && npm run verify:download-artifacts && npm run verify:copy-discipline && npm run verify:github-action",
207
+ "test": "node ./test/cli.test.js && node ./test/ai.test.js && node ./test/ai-precheck.test.js && node ./test/ai-script-governance.test.js && node ./test/data-exfiltration-guard.test.js && node ./test/compat-scan.test.js && node ./test/compliance.test.js && node ./test/evidence-forwarder.test.js && node ./test/config-schema.test.js && node ./test/countermeasures.test.js && node ./test/environment-integrity.test.js && node ./test/estimate.test.js && node ./test/github-action.test.js && node ./test/governance.test.js && node ./test/local-bridge.test.js && node ./test/managed-integrity.test.js && node ./test/named-sets.test.js && node ./test/release-signer.test.js && node ./test/scan-watermarks.test.js && node ./test/third-party-inventory.test.js && node ./test/watermark.test.js && node ./test/wire-format-vectors.test.js",
208
+ "verify": "npm test && npm run verify:package && npm run verify:examples && npm run verify:publish-metadata && npm run verify:ci && npm run verify:polyglot && npm run verify:ai && npm run verify:verify-scripts-tracked && npm run verify:aspnet-bom && npm run verify:aspnet-compile && npm run verify:endrequest-guard && npm run verify:health-readiness && npm run verify:legacy-soap-security && npm run verify:online-demo-security && npm run verify:parser-engine && npm run verify:emit-validation && npm run verify:emit-validation-modern && npm run verify:runtime-defense-libraries && npm run verify:internal-links && npm run verify:seo && npm run verify:artifact-claims && npm run verify:runtime-dashboard && npm run verify:payment-page && npm run verify:payment-activation && npm run verify:payment-row-completeness && npm run verify:account-recovery && npm run verify:registration && npm run verify:admin-auth && npm run verify:http-api-auth && npm run verify:request-body-limits && npm run verify:public-form-security && npm run verify:operational-logs && npm run verify:richtexteditor-surface && npm run verify:dashboard-resource-governance && npm run verify:dashboard-diagnostic-surface && npm run verify:web-integrity-policy && npm run verify:entitlements && npm run verify:enterprise-governance && npm run verify:database-migrations && npm run verify:source-secrets && npm run verify:ignored-shipping-secrets && npm run verify:winforms-runtime-floor && npm run verify:ai-billing && npm run verify:ai-key-security && npm run verify:ajax-transport && npm run verify:competitor-gap && npm run verify:parity-defect-sync && npm run verify:source-map-evidence && npm run verify:migration-review && npm run verify:identifier-cache-review && npm run verify:runtime-defense-review && npm run verify:vm-proof && npm run verify:deployment-hygiene && npm run verify:download-artifacts && npm run verify:download-examples && npm run verify:copy-discipline && npm run verify:github-action",
209
+ "verify:release": "npm run verify && npm run verify:corpus-protect && npm run verify:corpus-runtime",
210
+ "verify:verify-scripts-tracked": "node ../polyglot-smoke/check-verify-scripts-tracked.js",
211
+ "verify:parity-defect-sync": "node ../polyglot-smoke/check-parity-defect-sync.js",
209
212
  "verify:aspnet-bom": "node ../polyglot-smoke/check-aspnet-bom.js",
210
213
  "verify:aspnet-compile": "node ../polyglot-smoke/check-aspnet-compile.js",
211
214
  "verify:endrequest-guard": "node ../polyglot-smoke/check-endrequest-guard.js",
215
+ "verify:payment-row-completeness": "node ../polyglot-smoke/check-payment-row-completeness.js",
216
+ "verify:health-readiness": "node ../polyglot-smoke/check-health-readiness.js",
217
+ "verify:live-health": "node ../polyglot-smoke/check-production-health.js",
218
+ "verify:live-seo": "node ../polyglot-smoke/check-live-seo.js",
219
+ "verify:legacy-soap-security": "node ../polyglot-smoke/check-legacy-soap-security.js",
220
+ "verify:online-demo-security": "node ../polyglot-smoke/check-online-demo-security.js",
212
221
  "verify:parser-engine": "node ../polyglot-smoke/check-parser-engine.js",
222
+ "verify:package-closure": "bash ../../tools/verify-package-closure.sh",
223
+ "verify:package-behaviour": "bash ../../tools/verify-package-behaviour.sh",
213
224
  "verify:emit-validation": "node ../../tools/emit-validation/run.js",
225
+ "verify:emit-validation-modern": "node ../../tools/emit-validation/run.js modern",
214
226
  "verify:corpus-protect": "node ../../tools/corpus-protect/run.js",
227
+ "verify:corpus-runtime": "node ../../tools/corpus-protect/runtime-smoke.js",
228
+ "verify:runtime-defense-libraries": "node ../../tools/corpus-protect/runtime-defense-libraries.js",
215
229
  "verify:internal-links": "node ../polyglot-smoke/check-internal-links.js",
216
230
  "verify:seo": "node ../polyglot-smoke/check-public-seo.js",
231
+ "verify:artifact-claims": "node ../polyglot-smoke/check-public-artifact-claims.js",
232
+ "verify:artifact-claims-live": "node ../polyglot-smoke/check-public-artifact-claims.js --live",
217
233
  "verify:runtime-dashboard": "node ../polyglot-smoke/check-runtime-dashboard.js",
218
234
  "verify:payment-page": "node ../polyglot-smoke/check-payment-page-evidence.js",
235
+ "verify:payment-activation": "node ../polyglot-smoke/check-payment-activation-security.js",
236
+ "verify:account-recovery": "node ../polyglot-smoke/check-account-recovery-security.js",
237
+ "verify:registration": "node ../polyglot-smoke/check-registration-security.js",
238
+ "verify:admin-auth": "node ../polyglot-smoke/check-admin-auth-security.js",
239
+ "verify:http-api-auth": "node ../polyglot-smoke/check-http-api-auth-security.js",
240
+ "verify:request-body-limits": "node ../polyglot-smoke/check-request-body-limits.js",
241
+ "verify:public-form-security": "node ../polyglot-smoke/check-public-form-security.js",
242
+ "verify:operational-logs": "node ../polyglot-smoke/check-operational-log-governance.js",
243
+ "verify:richtexteditor-surface": "node ../polyglot-smoke/check-richtexteditor-surface.js",
244
+ "verify:dashboard-resource-governance": "node ../polyglot-smoke/check-dashboard-resource-governance.js",
245
+ "verify:dashboard-diagnostic-surface": "node ../polyglot-smoke/check-dashboard-diagnostic-surface.js",
246
+ "verify:web-integrity-policy": "node ../polyglot-smoke/check-web-integrity-policy-security.js",
247
+ "verify:entitlements": "node ../polyglot-smoke/check-entitlement-consistency.js",
248
+ "verify:enterprise-governance": "node ../polyglot-smoke/check-enterprise-governance-security.js",
249
+ "verify:database-migrations": "node ../polyglot-smoke/check-database-migration-drift.js",
250
+ "verify:source-secrets": "node ../polyglot-smoke/check-source-secret-discipline.js",
251
+ "verify:ignored-shipping-secrets": "node ../polyglot-smoke/check-ignored-shipping-secrets.js",
252
+ "verify:winforms-runtime-floor": "node ../polyglot-smoke/check-winforms-runtime-floor.js",
253
+ "verify:ai-billing": "node ../polyglot-smoke/check-ai-billing-security.js",
254
+ "verify:ai-key-security": "node ../polyglot-smoke/check-ai-key-security.js",
255
+ "verify:ajax-transport": "node ../polyglot-smoke/check-ajax-transport-security.js",
256
+ "verify:js-safe-integer-ids": "node ../polyglot-smoke/check-js-safe-integer-ids.js",
257
+ "verify:mixedfile-roundtrip": "node ../../tools/mixedfile-roundtrip/run.js",
258
+ "verify:mixedfile-protect": "node ../../tools/mixedfile-protect/run.js",
259
+ "verify:local-report": "node ../../tools/local-report/run.js",
219
260
  "verify:competitor-gap": "node ../polyglot-smoke/check-competitor-gap-report.js",
220
261
  "verify:source-map-evidence": "node ../polyglot-smoke/check-source-map-evidence.js",
221
262
  "verify:migration-review": "node ../polyglot-smoke/check-migration-review.js",
@@ -224,9 +265,11 @@
224
265
  "verify:vm-proof": "node ../polyglot-smoke/check-vm-proof-pack.js",
225
266
  "verify:deployment-hygiene": "node ../polyglot-smoke/check-archive-hygiene.js",
226
267
  "verify:download-artifacts": "node ../polyglot-smoke/check-download-artifacts.js",
268
+ "verify:download-examples": "node ../polyglot-smoke/check-download-examples.js",
227
269
  "verify:copy-discipline": "node ../polyglot-smoke/check-public-copy-discipline.js",
228
270
  "verify:github-action": "node ../polyglot-smoke/check-github-action.js",
229
271
  "verify:package": "node ./ci/verify-package.js",
272
+ "verify:examples": "node ./ci/verify-examples.js",
230
273
  "verify:publish-metadata": "node ./ci/verify-publish-metadata.js --allow-local",
231
274
  "verify:publish-ready": "node ./ci/verify-publish-metadata.js",
232
275
  "verify:ci": "node ./ci/verify-templates.js",