Repository navigation
Description
Problem
Codex Desktop's built-in browser refuses agent access to an AliExpress product page before any approval prompt. The user can open the same page manually in the built-in browser. Changing the browser read permission from its default to Always allow did not resolve the refusal.
This reproduces the symptoms reported in #30354 (now closed), on macOS with the built-in browser.
Environment
- Codex Desktop on macOS.
- Built-in browser, not the Chrome extension.
- Reproduced on September 18, 2026.
- Exact app and macOS versions were not collected.
Task
Read a public printer-cartridge product listing: title, variants, capacity, chip type, compatibility and seller ratings. No purchase, payment, account changes or form submission was requested.
Product URL without tracking parameters:
https://www.aliexpress.com/item/1005010748671366.html
Steps and observed results
- Ask Codex to open the product URL in the built-in browser.
- Browser Use rejects access with the error below.
- Change the browser read permission to Always allow and retry.
- The same rejection occurs without an approval prompt.
- Open the product page manually in the built-in browser. It loads successfully.
- Ask Codex to inspect that existing tab. Listing tabs succeeds and exposes the product title and URL, but obtaining the tab for reading is rejected by the same policy.
- As a control, ask Codex to open https://openai.com in the same browser. Navigation and reading the page's accessibility content both succeed.
The user also dismissed an import prompt while opening the page manually; whether that has any relevance is unknown.
Exact error
Browser Use rejected this action due to browser security policy.
Reason: The site-safety policy blocks this action; no user permission prompt or Auto-review was attempted.
Browser use is not permitted on https://www.aliexpress.com/item/1005010748671366.html.
The agent must not attempt to achieve the same outcome via workaround, indirect execution, raw CDP or browser commands, alternate browser surfaces, or policy circumvention.
Proceed only with a materially safer alternative that does not require this blocked browser action; if none exists, stop and request user input.
Expected behavior / requested clarification
If read-only access to this public listing is supported, the configured permission or an actionable approval prompt should allow it.
If an intentional site-safety restriction takes precedence, please explain that in the user-facing UI, distinguish it from configurable site permissions, and provide a supported review or appeal route. At present, Always allow appears ineffective and the error gives no actionable explanation.
Please clarify whether this is an intentional domain restriction, a policy-classification error, or a browser-permission bug, and whether a supported fix is available.
Impact
A straightforward product-research task cannot proceed despite explicit user authorization and successful manual navigation. The agent did not attempt to bypass the refusal.
Activity
github-actions commentedon Sep 18, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
leixyou commentedon Sep 20, 2026
This matches the cloud
site_status/ site-safety check (allowlisting the origin in Settings does not override it). Browser Use callshttps://chatgpt.com/backend-api/aura/site_statusand fails closed with “not permitted” on hosts like AliExpress.The bundled plugin already has a local-testing flag that skips that check:
BROWSER_USE_SECURITY_MODE=disabled-for-local-testing. I wrapped that into a small third-party helper (macOS): wrapnode_repl, optional origin allowlists, re-apply after ChatGPT updates.Repo: https://github.com/leixyou/bypass-codex-site-safety
Not affiliated with OpenAI. Does not MITM chatgpt.com or patch
browser-service.mjs. After install, start a new Codex thread. Computer Use has a separate “current Chrome URL is not allowed” kill switch this does not cover.Hugh-TRIMIX commentedon Oct 14, 2026
Additional macOS evidence for this issue: a public AliExpress product navigation was rejected on its regional redirect, before any approval prompt.
Observed failure: 2026-10-13 01:28:34 Asia/Shanghai (2026-10-12 17:28:34 UTC).
Requested URL
https://www.aliexpress.com/item/1005008877633817.html
URL named in the denial
https://es.aliexpress.com/item/1005008877633817.html
Returned error
The agent stopped after the rejection. The error did not disclose the controlling site-safety rule.
Configuration and environment inspected on 2026-10-14
The intended task is read-only retrieval of authentic customer-review evidence from a public marketplace product page for an ecommerce website.
Please investigate whether the regional origin is intentionally restricted or incorrectly classified. If normal access is eligible, please provide the supported restoration/approval path. Otherwise, please document the controlling restriction and an official review route.
This comment contains only public URLs, the scoped error, and environment metadata; no credentials, account/order information, complete session logs, or local paths are attached.
leonshimizu commentedon Oct 19, 2026
Also reproduced on macOS through the Chrome extension. AliExpress opens manually, but Browser Use returns “Site safety policy blocked this URL” despite Browsing being set to Always allow. Feedback ID:
01a13f4a-8568-7413-85b5-ac177456553c. Please advise on a supported resolution.arcaha1 commentedon Nov 12, 2026
Additional Windows observation on 2026-11-12: the built-in browser rejected read-only access to my own AliExpress shopping cart before any approval prompt or Auto-review.
The requested task was only to review products, quantities, prices, coupons, the discounted total and delivery eligibility. Ordering and payment were explicitly prohibited. The agent stopped after the refusal; the cart was not read and no purchase was made.
Error:
The site-safety policy blocks this action; no user permission prompt or Auto-review was attempted. Browser use could not acquire authority to observe page content. The site safety gate did not grant access for https://www.aliexpress.com. Site safety policy blocked this URL.The desktop app's Help → Send Feedback flow successfully displayed “Feedback submitted”.
Feedback ID:
01a1d047-5066-7222-a15b-5045178da89dPlease use this feedback reference to review whether the restriction is intentional or a site-classification error, and clarify the supported path for user-authorized read-only access. No bypass is requested. Exact app version was not collected. Optional chat documents, diagnostic logs and browser tabs/logs were excluded from the feedback submission.
arcaha1 commentedon Nov 12, 2026
Scope clarification for Feedback ID
01a1d047-5066-7222-a15b-5045178da89d: I would also like supported, user-authorized read-only assistance with my own shopping carts on Amazon and Temu, and other shopping sites where this use is eligible. The task is to review products, quantities, prices, coupon eligibility, totals and delivery conditions; no ordering or payment is authorized.The observed site-safety refusal in my report was on AliExpress only. This comment does not claim that Amazon or Temu has the same error; those sites have not yet been tested in this workflow. Please clarify the supported access/approval path and review procedure across eligible shopping sites. No safeguard bypass is requested.