Skip to content

[New Rule] SAEP static policy declaration #1436

Open

Description

@zerofancy

Library filename / 库文件名

Application-level Android manifest metadata key: com.obric.agentrobots.POLICY_JSON

Library label / 库的文字标签

SAEP

Library team / 库的开发团队

ByteDance / 字节跳动

Files & Comment / 同组文件 & 备注

SAEP stands for Screen Automation Execution Protocol. ByteDance's official demo declares a packaged static policy through this application-level metadata entry:

<meta-data
    android:name="com.obric.agentrobots.POLICY_JSON"
    android:resource="@raw/agent_saep_policy" />

Primary evidence: official demo manifest at commit 592493b7.

The proposed rule uses an exact metadata-name match (type 8). It identifies the static declaration only. It does not validate the referenced policy, determine whether the device supports or enables SAEP, or establish that protection rules are enforced.

In Apps / 出现于

  • Reference sample: ByteDance SAEP Demo.
  • End-to-end device validation: a local test build of 拾光阅读 (top.ntutn.sonovelreader, version 1.0, versionCode 1) containing this declaration, on NX888J running Android 16 / API 36. This describes the local test build, not a claim about a published release of that app.

Library icon / 库图标

Reuse the existing ByteDance SVG, ic_lib_bytedance (existing icon index 12).

Library description / 库描述

English

SAEP (Screen Automation Execution Protocol) lets apps declare protection policies that constrain Agent screen automation. The application metadata com.obric.agentrobots.POLICY_JSON references a packaged static policy resource. This rule identifies the static declaration only; it does not validate the policy or confirm that SAEP is enabled on the device or that protection rules are enforced.

简体中文

SAEP(Screen Automation Execution Protocol,屏幕自动化执行协议)允许应用声明约束 Agent 屏幕自动化操作的保护策略。应用通过 application 级元数据 com.obric.agentrobots.POLICY_JSON 引用打包的静态策略资源。此规则仅识别该静态策略声明,不验证策略内容,也不代表设备已启用 SAEP 或保护规则当前生效。

Library relative URL / 相关链接

https://github.com/bytedance/SAEP-demo

Related implementation

The prepared client change adds generic metadata rule matching and library details. The SAEP definition is maintained in the separate rules change:

Client PR: LibChecker/LibChecker#2255

Rule PR: #1437

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions