@ai-ecoverse/slicc 1.67.2 → 1.67.3
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/README.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1000,7 +1000,7 @@ Only browsers the user named are listed: the one seven runs in, `--cdp` and `--c
|
|
|
1000
1000
|
- **Session-wide settings are refused on every relay session, including ordinary pages.** `Network.setExtraHTTPHeaders`, `Network.setUserAgentOverride`, `Emulation.setUserAgentOverride`, `Emulation.setLocaleOverride`, `Emulation.setTimezoneOverride`, `Network.setCacheDisabled`, `Network.emulateNetworkConditions`, `Network.emulateNetworkConditionsByRule`, `Network.overrideNetworkState`, `Network.setBlockedURLs`, and every method matching `/^Emulation\.(set|add|update|remove)[A-Z]/` other than the four display admits above receive `slicc: refused: settings for a whole session (headers, user agent, locale, time zone, cache, network conditions, blocked URLs, emulation) could reach seven’s pages or the vault, so the guard doesn’t allow them; change a request through Fetch instead`. These calls are never forwarded or answered with fake success.
|
|
1001
1001
|
- **Browser-side inheriting navigation is refused.** `Page.navigate` to any `about:` URL, including `about:blank` and `about:srcdoc`, receives `slicc: refused: a browser-side navigation to about: gives the page the origin of whatever drives the browser, so the guard doesn’t send it; open a new tab on about:blank instead`. An absent or unparseable navigation URL receives the same error. Creating a fresh tab with `Target.createTarget` on `about:blank` remains available.
|
|
1002
1002
|
|
|
1003
|
-
- **Listing.** The origin-only rule covers page and tab targets only. `Target.getTargets`, `Target.getTargetInfo`, `Target.targetCreated` and `Target.targetInfoChanged` still show protected page and tab targets, so seven knows its tab exists, but their `url` and `title` are only the origin (`https://seven.sliccy.ai`, `chrome://settings`, `chrome-extension://<id>`, or `about:blank`), or only the scheme for a URL without a host (`file:`). A worker (`worker`, `shared_worker` or `service_worker`) is protected when its own URL is protected or a protected frame or target created it, including a `blob:` or `data:` URL and a worker auto-attached on an out-of-process iframe's session. That worker is not auto-attached and not listed at all: `Target.getTargets` leaves it out, its `targetCreated`, `targetInfoChanged` and `targetDestroyed` are dropped, and `Target.getTargetInfo` answers `No target with given id found`, the same answer an unknown target gets. An auto-attached worker whose URL and creator frame are not known yet is held the same way a page without a URL is: the page does not get `attachedToTarget`, the worker stays paused
|
|
1003
|
+
- **Listing.** The origin-only rule covers page and tab targets only. `Target.getTargets`, `Target.getTargetInfo`, `Target.targetCreated` and `Target.targetInfoChanged` still show protected page and tab targets, so seven knows its tab exists, but their `url` and `title` are only the origin (`https://seven.sliccy.ai`, `chrome://settings`, `chrome-extension://<id>`, or `about:blank`), or only the scheme for a URL without a host (`file:`). A worker (`worker`, `shared_worker` or `service_worker`) is protected when its own URL is protected or a protected frame or target created it, including a `blob:` or `data:` URL and a worker auto-attached on an out-of-process iframe's session. Every `data:` worker created by a sub-frame stays hidden: only a `data:` worker whose creator is an ordinary target the guard already knows is ordinary. Once a worker is classified protected, that decision sticks for the worker's life even if its creator later navigates away or drops out of the frame map. That protected worker is not auto-attached and not listed at all: `Target.getTargets` leaves it out, its `targetCreated`, `targetInfoChanged` and `targetDestroyed` are dropped, and `Target.getTargetInfo` answers `No target with given id found`, the same answer an unknown target gets. An auto-attached worker whose URL and creator frame are not known yet is held the same way a page without a URL is: the page does not get `attachedToTarget`, the worker stays paused when `waitForDebuggerOnStart` was requested (so it does not run ahead of the decision), and it is left out of listings until its URL or that frame is known. Without `waitForDebuggerOnStart`, a held ordinary worker can run and emit early events (console, network) that the page never sees, because those events arrive while the session is still held; slicc-cdp accepts that for ordinary workers. Learning the creator frame decides the worker then, even when the worker was recorded first. If the creator is still unknown when the hold times out, the worker is resumed and detached without being shown. Detaching that page session, or turning auto-attach off on it (`autoAttach` false, `waitForDebuggerOnStart` false, `flatten` true, and no filter), does the same at once. `Target.attachToTarget` for a worker that is protected or still unresolved is refused. An ordinary worker the page learned outside listings (for example a `targetId` from `ServiceWorker.workerVersionUpdated`) may be attached by id even if it was never listed; `targetDestroyed` for a worker the page was never shown is still dropped until that attach or a listing shows it. A target whose URL slicc can't parse isn't listed at all, since it has no origin to show: `Target.getTargets` leaves it out, and its `targetCreated` and `targetInfoChanged` are dropped. A target of a `targetTypes` type (`browser_ui`) is never shown: `Target.getTargets` leaves it out, its `targetCreated`, `targetInfoChanged`, `targetDestroyed` and `targetCrashed` are dropped, and `Target.getTargetInfo` on its id is refused like any other command that names it. Service worker registrations and versions on a protected origin are left out of `ServiceWorker` events, and `Storage`, `DOMStorage` and `BackgroundService` events that name a protected origin are dropped.
|
|
1004
1004
|
- **Protected URLs in what the page gets.** In every event and result the page gets, a URL field that holds a protected URL is cut to its origin, at any depth: every key ending in `url`, `urls`, `origin` or `origins` (any case, so `documentURL`, `unreachableUrl` and `securityOrigin` too), `referrer`, `location`, `href` and `src`, and every header value in `headers`, `requestHeaders` and `responseHeaders`. That covers `Page.frameRequestedNavigation`, `Page.frameNavigated`, `Network.requestWillBeSent`, `Page.windowOpen`, `Page.getFrameTree` and the rest. Every other string (header values such as `Link` and `Refresh`, `headersText` and `requestHeadersText`, cookie and storage values, DOM attributes) keeps its text, but each protected URL inside it (a `scheme://` run up to whitespace, a quote, `<` or `>`, a URL that doesn't parse included, a percent-encoded run decoded repeatedly to a fixed point through at most five layers, and an unschemed protected `host[:port]/path` run) is cut to its origin (or host for an unschemed run); if percent-decoding still changes a string after five layers, the whole string is blanked, and next to a protected URL field every field ending in `Fragment` (`urlFragment` of a request or frame) is blanked to `""`, while ordinary URLs keep theirs, so a redirect from an ordinary page to seven's `/auth/callback?code=…` shows the page only seven's origin, wherever it names that URL. Unprotected URLs stay intact. Everything inside a `value`, `preview`, `customPreview`, `arguments` or `returnValue` (evaluation results and their previews) is left alone.
|
|
1005
1005
|
- **Limits.**
|
|
1006
1006
|
- On Chromium, the filter relies on site isolation. A seven frame inside a page of another site is a target of its own (`iframe`), which the node protects. Frame reads, DOM, paint and input on its page ancestor are locked too, including compound frames whose protected child shares an ordinary iframe's renderer. An iframe's lock belongs to its parent root document: a different root loader stops a cached document's frames from locking the new page, and restoring that loader locks again before content commands are answered. Without generation evidence the page stays locked, unless `DOM.getFrameOwner` on the node's private page session explicitly says a directly parented iframe is absent from the current document. Missing replies, ambiguous parents and other errors keep the lock; root commits, restores and frame attachments invalidate negative ownership evidence. A same-site frame shares its parent's process and isn't a target. Every `sliccy.ai` host is protected, so this only matters for an extra origin, such as one port of `127.0.0.1` framed by a page on another.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-ecoverse/slicc",
|
|
3
|
-
"version": "1.67.
|
|
3
|
+
"version": "1.67.3",
|
|
4
4
|
"description": "SLICC's command line for seven: links a machine's network, compute and browsers to seven over WebRTC",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
"node": ">=18"
|
|
19
19
|
},
|
|
20
20
|
"optionalDependencies": {
|
|
21
|
-
"@ai-ecoverse/slicc-darwin-arm64": "1.67.
|
|
22
|
-
"@ai-ecoverse/slicc-darwin-amd64": "1.67.
|
|
23
|
-
"@ai-ecoverse/slicc-linux-arm64": "1.67.
|
|
24
|
-
"@ai-ecoverse/slicc-linux-amd64": "1.67.
|
|
25
|
-
"@ai-ecoverse/slicc-windows-arm64": "1.67.
|
|
26
|
-
"@ai-ecoverse/slicc-windows-amd64": "1.67.
|
|
21
|
+
"@ai-ecoverse/slicc-darwin-arm64": "1.67.3",
|
|
22
|
+
"@ai-ecoverse/slicc-darwin-amd64": "1.67.3",
|
|
23
|
+
"@ai-ecoverse/slicc-linux-arm64": "1.67.3",
|
|
24
|
+
"@ai-ecoverse/slicc-linux-amd64": "1.67.3",
|
|
25
|
+
"@ai-ecoverse/slicc-windows-arm64": "1.67.3",
|
|
26
|
+
"@ai-ecoverse/slicc-windows-amd64": "1.67.3",
|
|
27
27
|
"@ai-ecoverse/slicc-jerk": "^1.9.1"
|
|
28
28
|
}
|
|
29
29
|
}
|