@ai-ecoverse/slicc-bios 2.10.11 → 2.10.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -645,6 +645,7 @@ A browser extension's frame inside an ordinary page, such as a password manager'
645
645
  - **Filtered answers and events:** cookie lists leave out cookies whose domain is protected and partitioned cookies under a protected site. `Storage`, `DOMStorage`, `IndexedDB`, `CacheStorage` and `BackgroundService` events that name a protected origin are dropped, and so are service worker registrations and versions on one.
646
646
  - **Credential origins (the identity provider seven signs in with):** the Adobe IMS hosts seven signs in with (`https://ims-na1.adobelogin.com` and `https://ims-na1-stg1.adobelogin.com`, from `os/adobe.js`) keep their cookies and web storage out of export on every route, always, and the guard fails closed. The guard reads slicc-browsers' `catalog.credentialOrigins` list, which names the same two hosts, and keeps the IMS hosts from `os/adobe.js` as a floor: a later catalog can add hosts, but one that leaves an IMS host out doesn't reopen its export, and a change to the host seven signs in with is covered without waiting for a catalog release. A `credentialOrigins` field the guard can't read (not a list of origins) makes it withhold the cookies and storage of every origin. A URL or origin is a credential origin when its host is one of those hosts (`http` or `https`, any port); a cookie domain or a top-level site is one when it covers one of them (`adobelogin.com` does; `x.ims-na1.adobelogin.com`, `other.adobelogin.com` and `.adobe.com` don't). Cookie lists (`Network.getCookies`, with or without `urls`, `Network.getAllCookies`, `Storage.getCookies`, `Page.getCookies`) leave out those cookies, partitioned cookies under such a site and any cookie without a domain. Cookie writes and deletes naming one by `url`, `domain` or `partitionKey` (`Network.setCookie`, `setCookies`, `deleteCookies`, `Page.deleteCookie`, `Storage.setCookies`) are refused with the catalog's `credentialOrigins.refusal` text, and so is every `Storage.*`, `IndexedDB.*`, `CacheStorage.*`, `DOMStorage.*` and `FileSystem.*` command whose origin, storage key (its top-level site too), cache id or site names one, or can't be parsed. `Network.clearBrowserCookies` and `Storage.clearCookies` keep the rule above. `Storage.getAffectedUrlsForThirdPartyCookieMetadata` leaves those URLs out, and storage events naming one are dropped. `Cookie` and `Set-Cookie` headers, `headersText` lines and `associatedCookies`, `blockedCookies` and `exemptedCookies` are stripped from the `Network` and `Fetch` events of a request whose URL, at any hop, is on such a host's site (a parent-domain cookie reaches every host there), and of a request the guard hasn't seen a URL for. On any other request those lists still leave out an entry whose cookie, or whose `Set-Cookie` line's `Domain` (quoted or not, any case), names a credential or protected origin, an entry whose `Domain` isn't a host name, and an entry with neither a cookie nor a line. An `Audits.issueAdded` cookie issue is dropped when its cookie URL, request, cookie domain or raw `Set-Cookie` line names a protected or credential origin, or when the raw line's origin can't be told. The pages stay drivable: they are listed and attachable, and navigation, `Runtime`, `DOM`, `Input`, `Page` and screenshots work as on any ordinary page, because stock clients sign in by filling and clicking the IdP's page through script. So in-page script (`Runtime.evaluate`, Playwright locators) can still read the non-HttpOnly cookies (`document.cookie`), `localStorage`, `sessionStorage` and IndexedDB of those origins, and response bodies, OAuth codes in URLs and `Authorization` headers on a drivable IdP page are not withheld. A sign-in URL that names seven's client or callback stays protected as a whole, as above. The catalog lists the two Adobe IMS hosts as credential origins: their cookies and storage cannot be exported. The Adobe login-UI hosts (`auth.services.adobe.com`, `adobeid-na1.services.adobe.com`) and federated corporate SSO, MFA and consent hosts are not covered: pages on them are drivable and their cookies and storage are exportable, `Domain=.adobe.com` cookies included, because listing a login-UI host would have made every `.adobe.com` cookie a credential cookie. A host added to the catalog's `credentialOrigins` reaches bios with the pinned slicc-browsers release.
647
647
  - **Checked on attach:** a new session is handed to the program only after the guard has checked its target and read the session's frame tree, and none of them is protected. An auto-attached page or frame without a URL yet is held, with its events dropped and its commands refused, until it has one, and cut if it has none after 10 s. One the guard couldn't prove when it attached (its first read named no URL because it was mid-navigation, or a read failed) is held the same way: the guard checks it again, from the start (URL, protected origins, opener, content proof), at its next navigation or target info change, and every 100 ms while its URL is unread; a protected commit cuts it at once, and if it isn't proved within 10 s it is cut, with its tab's `Target.detachedFromTarget` and `Target.targetDestroyed` and, unless the program holds another session on it, the target's `Target.targetDestroyed`. A session that detaches meanwhile isn't read again. A content read is proved through any session the guard holds on the target, the shown ones first. A target that attaches paused (`waitForDebuggerOnStart`) is resumed as soon as the guard's `Fetch` arm on its own session for that target is accepted (at most 1 s), before the rest of the guard's setup, because `Page.enable` and the frame-tree read can't finish on a paused page; it stays held the same way until the guard has placed it, and a program's own `Runtime.runIfWaitingForDebugger` doesn't wait for that setup. If the guard's `Fetch.enable` is refused, the target is cut instead of resumed. A target that is already protected or held when it attaches is resumed only as the guard cuts it, and if the read that confirms it doesn't settle within 1 s, the guard cuts it then. A paused tab with no page under it after 10 s is resumed, since the program has no session on any page in it. A tab that attaches paused is resumed once the page under it is armed the same way: until the tab runs, that page can't answer the guard's frame-tree read, and the program waits for the guard before it resumes the tab. An iframe that Chrome still names with an empty URL when the guard checks it is read from a fresh frame tree of the page it attached under, used only when that tree lists the frame once at an `http:`, `https:` or `data:` address no other target claims and every recorded parent names that page, and judged again at its next target info change or navigation; otherwise it still fails closed.
648
+ - **A page that doesn't answer:** Chrome answers no renderer command for a page while a JavaScript dialog (`alert`, `confirm`, `prompt`, `beforeunload`) is open in it, and a session attached after the dialog opened can't close it either (`Page.handleJavaScriptDialog` says *No dialog is showing*). The guard then can't arm or read that tab, so it still refuses it, but it says why: when the guard's own setup (`Target.attachToTarget`, `Fetch.enable`, `Network.enable`, `Network.setBypassServiceWorker`, `Page.enable`) gets no answer within 10 s, or slicc-extension reports that the page isn't answering, the refusal reads `slicc: refused: the guard couldn’t keep seven’s pages and the vault out of this tab, so it refuses commands there: the page isn’t answering, and a dialog may be waiting in it` instead of the bare text before the colon. Only an ordinary tab gets this text: a tab on seven or the vault, or a held sign-in tab, is refused as protected before the guard arms it, and a tab that moved onto seven or the vault, or is loading one, while its setup went unanswered is refused as protected too. A refusal for a protected tab can therefore come sooner than the unanswered one, which waits out the 10 s setup. A target that is destroyed while the guard sets it up ends that setup at once. Closing the tab (`Target.closeTarget`) or bringing it to the front (`Target.activateTarget`) still works, and a fresh tab on the same site attaches as usual (`guard-unanswered.test.mjs`).
648
649
  - **Cut sessions:** a session whose target becomes protected (`Target.targetInfoChanged`), whose page or any frame in it is about to navigate or navigates to a protected URL (`frameRequestedNavigation`, `frameScheduledNavigation`, `frameStartedNavigating`, `frameNavigated`, `navigatedWithinDocument`, or a `Document` request), or whose context runs on a protected origin is detached at once, without the event, and its target counts as protected from then on. Any other page event that names a protected URL or origin is dropped. Its later events and the answers to its pending commands are dropped, and its commands are refused. The guard watches each session's `Page` events itself, and passes them on only when the program asked for them. While a page has started navigating to a protected URL, the guard blanks window names, download file names, titles and frame names in target and frame events until the navigation settles, as it does after the guard has learned the navigation.
649
650
  - **Target info changes on an ordinary page:** Chrome sends `Target.targetInfoChanged` several times while a page loads (its title, its URL). For one whose URL is ordinary and whose target isn't held or guarded, the guard waits up to 5 s for `Target.getTargetInfo` before it judges the target, since a page loading hundreds of requests over the link can keep that answer past the 1 s answer window; a protected URL is judged within 1 s as before. A target it can't confirm in that time is checked again from its frame tree; during an ordinary check that takes longer, commands keep flowing; if the check times out, the session is quarantined and reads are refused until the recheck. That check accepts child frames that haven't loaded a document yet (`url` empty, such as a `loading="lazy"` iframe below the fold, which stays that way until it's scrolled into view) under an ordinary root, as the check on attach does, so a page with a YouTube embed far down isn't cut for good. Keeping the session open doesn't make the child readable: whole-page DOM reads and screenshots are still refused until every frame is identified. A protected frame or root still cuts the session.
650
651
  - **Requests from protected documents:** a request whose URL, document, frame, initiator, `Referer` or `Origin` is protected never reaches the program. The guard continues its `Fetch` pause itself, drops its `Network` events, and refuses its bodies (`Network.getResponseBody`, `getRequestPostData`, `Fetch.getResponseBody` and the like). Bodies, `replayXHR` and `Fetch` replies for a request the guard hasn't seen are refused too. Extra-info events that come before their request wait up to 2 s for it, then are dropped.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ai-ecoverse/slicc-bios",
3
- "version": "2.10.11",
3
+ "version": "2.10.13",
4
4
  "description": "Slim loader that boots SLICC into OPFS and serves the UI from there",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",
@@ -52,10 +52,10 @@
52
52
  "@ai-ecoverse/cherry": "6.260.21",
53
53
  "@ai-ecoverse/slicc": "1.69.4",
54
54
  "@ai-ecoverse/slicc-browsers": "1.32.0",
55
- "@ai-ecoverse/slicc-cdp": "2.1.18",
55
+ "@ai-ecoverse/slicc-cdp": "2.1.24",
56
56
  "@ai-ecoverse/slicc-kernel": "1.191.4",
57
57
  "@ai-ecoverse/slicc-shared-web": "2.17.0",
58
- "@ai-ecoverse/slicc-spectrum": "2.20.1",
58
+ "@ai-ecoverse/slicc-spectrum": "2.21.0",
59
59
  "@ai-ecoverse/slicc-vault": "1.30.2",
60
60
  "@biomejs/biome": "2.6.8",
61
61
  "aws4fetch": "1.0.20",
@@ -11,7 +11,7 @@
11
11
  "@ai-ecoverse/slicc-capture": "1.5.0",
12
12
  "@ai-ecoverse/slicc-devices": "1.7.2",
13
13
  "@ai-ecoverse/slicc-kernel": "1.191.4",
14
- "@ai-ecoverse/slicc-spectrum": "2.20.1",
14
+ "@ai-ecoverse/slicc-spectrum": "2.21.0",
15
15
  "@ai-ecoverse/wasi-fnox": "1.48.0-1",
16
16
  "@ai-ecoverse/wasi-pnpm": "12.9.1-21",
17
17
  "@ai-ecoverse/wasm-bash": "5.3.0-23",
@@ -160,9 +160,9 @@
160
160
  }
161
161
  },
162
162
  "node_modules/@ai-ecoverse/slicc-spectrum": {
163
- "version": "2.20.1",
164
- "resolved": "https://registry.npmjs.org/@ai-ecoverse/slicc-spectrum/-/slicc-spectrum-2.20.1.tgz",
165
- "integrity": "sha512-3UwSDjYtXuPsDYd+DZkiAbTkO+seWY/wZ2FvI5nhnCB1hrAYE+gcGqUlruJSQNTdNhaXGrjQOQfgD6gaDxzt0Q==",
163
+ "version": "2.21.0",
164
+ "resolved": "https://registry.npmjs.org/@ai-ecoverse/slicc-spectrum/-/slicc-spectrum-2.21.0.tgz",
165
+ "integrity": "sha512-zwIID+uSoHE/Bo+a7xrqbkLV/7N9q70CsgH6tbRLP3K71yofYkOgwBNcLEUskZ7dSMG4NrGTc/LnAHpsVTf2zQ==",
166
166
  "license": "Apache-2.0",
167
167
  "engines": {
168
168
  "node": ">=24"
@@ -8,7 +8,7 @@
8
8
  "@ai-ecoverse/slicc-capture": "1.5.0",
9
9
  "@ai-ecoverse/slicc-devices": "1.7.2",
10
10
  "@ai-ecoverse/slicc-kernel": "1.191.4",
11
- "@ai-ecoverse/slicc-spectrum": "2.20.1",
11
+ "@ai-ecoverse/slicc-spectrum": "2.21.0",
12
12
  "@ai-ecoverse/wasi-fnox": "1.48.0-1",
13
13
  "@ai-ecoverse/wasi-pnpm": "12.9.1-21",
14
14
  "@ai-ecoverse/wasm-bash": "5.3.0-23",
@@ -24,8 +24,8 @@ importers:
24
24
  specifier: 1.191.4
25
25
  version: 1.191.4
26
26
  '@ai-ecoverse/slicc-spectrum':
27
- specifier: 2.20.1
28
- version: 2.20.1
27
+ specifier: 2.21.0
28
+ version: 2.21.0
29
29
  '@ai-ecoverse/wasi-fnox':
30
30
  specifier: 1.48.0-1
31
31
  version: 1.48.0-1
@@ -112,8 +112,8 @@ packages:
112
112
  webgpu:
113
113
  optional: true
114
114
 
115
- '@ai-ecoverse/slicc-spectrum@2.20.1':
116
- resolution: {integrity: sha512-3UwSDjYtXuPsDYd+DZkiAbTkO+seWY/wZ2FvI5nhnCB1hrAYE+gcGqUlruJSQNTdNhaXGrjQOQfgD6gaDxzt0Q==}
115
+ '@ai-ecoverse/slicc-spectrum@2.21.0':
116
+ resolution: {integrity: sha512-zwIID+uSoHE/Bo+a7xrqbkLV/7N9q70CsgH6tbRLP3K71yofYkOgwBNcLEUskZ7dSMG4NrGTc/LnAHpsVTf2zQ==}
117
117
  engines: {node: '>=24'}
118
118
 
119
119
  '@ai-ecoverse/wasi-fnox@1.48.0-1':
@@ -290,7 +290,7 @@ snapshots:
290
290
  - utf-8-validate
291
291
  optional: true
292
292
 
293
- '@ai-ecoverse/slicc-spectrum@2.20.1': {}
293
+ '@ai-ecoverse/slicc-spectrum@2.21.0': {}
294
294
 
295
295
  '@ai-ecoverse/wasi-fnox@1.48.0-1': {}
296
296