Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

funread-api

Latest version: v1.2.30

Overview

Last scanned
1 Dec 2026
Published
1 Dec 2026
PyPI package Publisher: niuliangtao
0 Stars
0 Forks
51 Versions
730 Downloads
Python Repo language

Scan summary

funread-api was last scanned on 1 Dec 2026 at version 1.2.30. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 51 versions; the latest 5 were published within 2 days (30 Nov and 1 Dec 2026).
  • Findings: No rules fired in version 1.2.30.
  • Downloads: 730 downloads.

Versions

51 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.2.30 LATEST 1 Dec 2026 No rules fired
1.2.29 1 Dec 2026 No rules fired
1.2.28 1 Dec 2026 No rules fired
1.2.27 30 Nov 2026 Not shown
1.2.26 30 Nov 2026 Not shown

No rules fired in 1.2.30

Findings

Findings for v1.2.30. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.2.30; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

funread-api

FunRead 自托管架构的后端 REST API 服务,依赖 funread 核心库并对外暴露 /api/v1 接口,同时支撑:

  • B 端管理台:funread-web(/admin,书源采集、候选源池测速与人员管理)
  • C 端阅读端:funread-client(统一 Web 浏览器阅读器 + Android / iOS / Windows / macOS / Linux 全平台客户端)

多仓联调与整体架构文档见 funread-dev。

Install and run

Install a released version with uv:

uv tool install funread-api

The named CLI owns the server lifecycle:

funread-api server start
funread-api server status
funread-api server stop
funread-api server run --port 18811
funread-api server restart

The server listens on 127.0.0.1:18811 by default. start writes its PID and log to .run/funread-api.pid and .run/funread-api.log below the current working directory; run keeps the process in the foreground. Visit /docs for the API documentation and /healthz for health checks.

For a repository checkout, scripts/setup.sh keeps installation separate from runtime:

scripts/setup.sh install-dev
scripts/setup.sh install-prod [version]
scripts/setup.sh publish
scripts/setup.sh start
scripts/setup.sh status

Runtime actions invoke only the installed funread-api CLI. The same CLI also provides upgrade [version], rollback <version>, and uninstall; the last action stops the managed service before removing the package.

跨域配置(C 端 Web 独立部署)

funread-client 的 Web 浏览器阅读器默认走同源 /api/v1(推荐由 Nginx / Caddy 统一反代)。若将 funread-client 的 Web 静态产物部署在独立域名或端口,请在 ~/.farfarfun/funread/api/config.toml 配置允许的来源:

[auth]
cors_origins = ["https://read.example.com", "http://127.0.0.1:8080"]

Casdoor 单点登录

在 Casdoor 为 Funread 创建独立的 Application,Redirect URLs 精确填写 https://read.farfarfun.com/api/v1/auth/oidc/callback。确认 https://id.farfarfun.com/.well-known/openid-configuration 返回的 issuer, 并记录 Application 的 Client ID、Client Secret 和统一管理员 ID Token 的 sub。 不要把用户名、邮箱或显示名填进 admin_subject。

在运行 API 的账号下编辑 ~/.farfarfun/funread/api/config.toml:

[oidc]
issuer = "https://id.farfarfun.com"
client_id = "Funread Application 的 Client ID"
client_secret = "Funread Application 的 Client Secret"
redirect_uri = "https://read.farfarfun.com/api/v1/auth/oidc/callback"
admin_subject = "统一管理员 ID Token 的 sub"
timeout_seconds = 120

将域名和凭据替换为实际值,配置文件权限设为 0600,并通过 HTTPS 访问 Funread。 启动时 API 自动给已有的 reader_user 表补充 OIDC 身份列和唯一索引;数据库应先备份。 首次登录按 (issuer, sub) 新建独立的本地读者记录,书架、进度和订阅继续以本地 user_id 关联,不会按同名或邮箱合并旧账号。仅配置的管理员 sub 能访问管理端; 停用账号会使会话和设备凭据失效。

配置 OIDC 后,本地密码登录、注册、共享管理口令登录和密码换设备凭据入口关闭; B 端管理台从 /admin/login 跳转 Casdoor,C 端 funread-client 使用设备凭据或统一账号接入。未配置 [oidc] 时原有本地登录保持可用。

Development

uv sync --extra dev
uv run pytest -q
uv run ruff check .

关于 farfarfun

farfarfun 是一个专注于实用工具库的开源组织, 涵盖云存储、数据处理、AI、多媒体与开发工具链等方向。

本项目基于 MIT 协议开源。

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases funread-api

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229