Open Bug 2085200 Opened 1 month ago Updated 15 days ago

AiTab [FE] - Add a Smart Page's sources and links to the chat's seen URLs

Categories

(Core :: Machine Learning: Frontend, enhancement)

enhancement

Tracking

()

ASSIGNED

People

(Reporter: rrando, Assigned: rrando, NeedInfo)

References

(Blocks 1 open bug)

Details

(Whiteboard: [aiaug])

Attachments

(1 obsolete file)

The AITab security review says the seen URLs of a generated page are added to the chat. That does not happen today: creating or modifying a Smart Page leaves the chat's seenUrls unchanged, except for the page's own about:smartpage URL.

After a page is created or modified, AITab.#generate should add the pages it read and the links on the resulting page to the chat's seenUrls. That includes a chat modifying a page that another chat generated (allowed when the user referenced the page). The chat is then consistent with what the user was shown. Its links to those URLs render as trusted rather than with the full URL shown next to them, and later Smart Pages from that chat may link to them.

seenUrls only decides which links are trusted. It does not grant read access (see test_blocks_url_the_model_chose in browser_aitab.js), so this does not widen what the chat can fetch.

Assignee: nobody → rrando
Status: NEW → ASSIGNED

There is an r+ patch which didn't land and no activity in this bug for 1 week.
:rrando, could you have a look please?
If you still have some work to do, you can add an action "Plan Changes" in Phabricator.
For more information, please visit BugBot documentation.

Flags: needinfo?(rrando)
Attachment #9667040 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: