Commit Graph

689 Commits

Author SHA1 Message Date
Naibo Wang df5cf5a649 Update Readme 2026-07-03 17:11:11 +08:00
Naibo Wang 676486bc67 Bug fix about the parameter names when importing from excel files 2026-05-22 19:59:53 +08:00
Naibo Wang d3afddde9f Merge pull request #977 from sebastiondev/fix/cwe95-utils-64b9
fix(ExecuteStage): prevent CWE-95 code injection via Field["x"] templates
2026-05-12 11:20:13 +08:00
Naibo Wang 3caa7a213f Merge pull request #976 from sebastiondev/fix/cwe352-server-auth-0b5c
fix(server): restrict CORS and bind local API to loopback (CWE-352)
2026-05-12 11:18:48 +08:00
Naibo Wang e791c73f3d Merge pull request #975 from orbisai0security/fix-command-injection-patcher-v001
fix: remove unsafe exec() in patcher.py
2026-05-12 11:17:51 +08:00
Sebastion 598f6a0ffa fix(ExecuteStage): prevent CWE-95 code injection in Field[...] templates
Field["x"] tokens substituted into the body of an e v a l("...") or JS("...")
template were inserted as raw source. Because outputParameters values come
from scraped page content, any attacker controlling a crawled page could
break out of the surrounding string literal and execute arbitrary Python on
the user's machine (or arbitrary JS in the browser context).

Substitute Field["x"] inside Python expression bodies via repr() and inside
JS() bodies via json.dumps() so the scraped value is always a well-formed,
properly-escaped string literal that cannot escape its quoting. Field
expansions outside of those calls are still inserted as plain text.
2026-05-11 22:45:48 +01:00
Sebastion 38e63282e8 fix(server): restrict CORS and bind local API to loopback (CWE-352)
The local Electron HTTP server (server.js) exposes endpoints that spawn
child processes (/executeTask), read/write task and config files
(/manageTask, /setUserDataFolder, /deleteTask), and otherwise perform
state-changing actions, but it has no authentication and previously sent
'Access-Control-Allow-Origin: *' on every response.

Because the server listens on a predictable local port, any website the
user visited could issue cross-origin POSTs to drive task creation and
execution (CWE-352 / CSRF).

This change:
- Removes the unconditional ACAO:* header.
- Echoes Access-Control-Allow-Origin only for loopback origins
  (http(s)://localhost, 127.0.0.1, [::1]).
- Rejects requests with a non-local Origin header with HTTP 403.
- Handles CORS preflight (OPTIONS) safely.
- Binds the HTTP server (port 8074) and Express upload server
  (port 8075) to 127.0.0.1 only, so they are not exposed on the LAN.
- Restricts the express 'cors' middleware to the same loopback allowlist.
2026-05-11 15:30:25 +01:00
orbisai0security fc6cf2b9da fix: V-001 security vulnerability
Automated security fix generated by Orbis Security AI
2026-05-06 06:37:41 +00:00
Naibo Wang 1984f0dbc5 Update Readme 2026-04-22 21:59:41 +08:00
Naibo Wang aeba8ca71a Update Readme 2026-04-22 21:52:30 +08:00
Naibo Wang 7861d19502 Update Readme 2026-04-22 14:43:35 +08:00
Naibo Wang 107bf4ca15 Update Readme 2026-04-16 14:40:33 +08:00
Naibo Wang 6be10a5f36 Update Readme 2026-04-12 21:42:26 +08:00
Naibo Wang d854ab3e83 Update Readme 2026-04-11 18:19:07 +08:00
Naibo Wang c395f022a9 Update Readme 2026-04-11 18:16:32 +08:00
Naibo Wang 55376218dc Update Readme 2026-04-11 14:51:25 +08:00
Naibo Wang 3ab06b3813 Update Readme with Capsolver Integration 2026-03-18 14:47:07 +08:00
Naibo Wang 6f2d9fb39e Merge pull request #971 from sora-ot/master
修复chrome浏览器中自动化插件加载问题
2026-02-26 11:20:00 +08:00
sora-ot a0d3798520 Enable WebExtension debugging and install extensions
Added options for WebExtension debugging and installation.
2026-02-25 21:41:56 +08:00
sora-ot 4d469c7f68 upload some folders
upload EasySpider_en, EasySpider_zh and selenium-webdriver-bidi-webExtension folders.
2026-02-25 21:36:01 +08:00
Naibo Wang b16c20b2d1 Update Readme 2026-02-25 13:09:00 +08:00
Naibo Wang 23b694789c Update Readme 2026-02-03 17:16:50 +08:00
Naibo Wang e8b3ee1077 Update Readme 2026-01-20 17:50:14 +08:00
Naibo Wang 80818648c0 Update Readme 2026-01-10 17:16:18 +08:00
Naibo Wang 3c256644cd Update Readme 2026-01-07 18:20:48 +08:00
Naibo Wang f4e4d958e9 Update Readme 2025-12-01 16:39:11 +08:00
Naibo Wang a7fde17f71 Merge pull request #882 from yan-xiaoo/remote-access-dev
Support remote control with backend api
2025-11-28 21:34:18 +08:00
Naibo Wang 8ca2418133 Update Readme 2025-10-30 17:21:11 +08:00
Naibo Wang f838d1ca6f Update Readme 2025-10-30 17:12:41 +08:00
Naibo_Mac_M2 7f66b9513f Add Thordata 2025-10-23 21:21:41 +08:00
Naibo Wang 6d060b879c Merge pull request #949 from HuangShiqing/master
Fix the binary file not found bug when using Docker
2025-10-20 14:40:35 +08:00
HuangShiqing c97e1a62dd Fix the binary file not found bug when using Docker 2025-10-17 15:15:06 +08:00
Naibo Wang 3e06d1092b Update Readme 2025-08-23 17:57:59 +08:00
Naibo Wang d27330582b Update Readme 2025-07-31 15:56:44 +08:00
Naibo Wang 4dc220913b Update Readme 2025-07-28 14:48:34 +08:00
Naibo Wang 640204716f Update Readme 2025-07-24 23:47:04 +08:00
Naibo_Mac_M2 ce64b81cc6 Add thordata 2025-07-22 15:03:12 +08:00
Naibo Wang 1af94e8008 Merge pull request #876 from yan-xiaoo/publish-improve-dev
改进 macOS 下的部分打包流程
2025-07-21 00:54:35 +08:00
Naibo_Mac_M2 c937bb2c77 Solve the problem that the extension cannot be loaded after chrome version 137 2025-07-18 13:13:53 +08:00
Li Yanxiao ae9b0d7e75 fix: fix path not found issues on linux 2025-07-10 18:16:02 +08:00
Li Yanxiao 92d58490f0 feat: support remote execution, termination and reading logs 2025-07-10 17:18:52 +08:00
Naibo Wang db6ace0692 Update package.js 2025-07-08 17:21:30 +08:00
Li Yanxiao 26e204dc8e feat: Support execute task remotely by api 2025-07-05 23:15:24 +08:00
Li Yanxiao 5a844b186a fix: Fix issues related to context menu in the flow chart page.
1. Fixes the issue that right click on an element would trigger it to be focused in the browser.
2. Fixes the issue that after scrolling the window, the context menu might be generated in a improper location.
2025-07-05 19:56:23 +08:00
Li Yanxiao adf7664b07 fix: 错误的注释了下载命令 2025-07-04 22:48:59 +08:00
Li Yanxiao b3a1e64e72 feat: 添加 adhoc 签名
在 Electron 打包后通过 codesign 程序为应用增加一个 adhoc 空签名。此签名不能让软件通过门禁认证,但可以让门禁显示“Apple无法验证“EasySpider”是否包含可能危害Mac安全或泄漏隐私的恶意软件。”而不是“EasySpider 已损坏,你应将其移动到废纸篓“。
2025-07-04 22:47:00 +08:00
Li Yanxiao c56f47b2c9 fix: 修改 macOS 下内嵌 Chrome 的权限
修改 macOS 下内嵌 Chrome 的权限为 755(可读写)而非 555(不可写),解决了下次打包时无法删除上次打包生成的应用的问题。
2025-07-04 22:43:40 +08:00
Li Yanxiao da90005bba feat: 修改 full 版本打包 onnx 和 ocr 文件的路径为解释器给出的路径
修改 macOS full 版本打包时添加的文件为基于当前解释器安装的 onnxruntime 和 ddddocr 软件包得到的地址,而不是写死的绝对地址。
2025-07-01 22:41:23 +08:00
Li Yanxiao 6630c6627b feat: update_chrome.py 在 macOS 下自动获得 Chrome 版本号
添加在 macOS 下,通过读取「应用程序」文件夹下可能存在的 Chrome 应用内容从而获得 Chrome 版本号的功能。
2025-07-01 22:19:11 +08:00
Naibo Wang 0a1d8d81d7 Update Readme 2025-05-25 21:55:20 +08:00