Back to skill

Security audit

lightpage

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because its reported social, messaging, and referral actions extend beyond the described Lightpage publishing purpose, and publishing may submit referral attribution without a fresh confirmation.

Consider whether you need this skill's extra social, mailbox, and referral features, and whether you are comfortable with its detected file, network, and shell capabilities. The review is based on a partial scan: unresolved local references leave some evidence incomplete. The suspicious verdict indicates meaningful concerns, not a conclusion that the author acted maliciously.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (37)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

There is overlap in publishing, reading, editing, and deleting content, but the supplied code implements a materially different service and a broader social/messaging workflow. Its authenticated /v1/mail endpoints expose private communications and mailbox administration not accurately represented by the Lightpage description. Authentication, credential storage, and local file handling are supporting implementation details and are not independently treated as mismatches. Features delegated to imported modules cannot be fully assessed from this chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

描述主要面向轻页内容发布、分享和作品管理,而该代码块主要调用 /v1/me/marks、/v1/me/following、/v1/likes 和 /v1/notices 等接口实现未明确声明的社交功能。附件接口还支持独立的二进制文件传输与管理,代码中没有证据表明它们仅是所声明发布流程的实现细节。描述中的“接入平台能力”过于笼统,不能充分表述这些独立能力。此判断基于该代码实际提供的额外功能,而非其未实现描述中的其他功能;未发现自动执行下载文件或隐蔽传输本地文件的行为。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

Ordinary link sharing overlaps with the description, but this chunk specifically implements installation attribution and a referral/promotion subsystem, neither of which is disclosed. These are substantive capabilities, not merely implementation details supporting content publication. The generic reference to platform integration does not clearly describe them. The source and status commands are local-only; the code does not itself show automatic transmission of the stored receipt.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
87% confidence
Finding

The declared purpose includes contacting authors or maintainers, which could reasonably cover sending or replying to relevant messages. However, the supplied commands also expose general inbox access and sent-message history without restricting them to those contacts. These are broader mailbox-management capabilities not stated in the description. The chunk shows CLI invocations, not their implementation, so it does not establish access to an external email account.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/management.md (reported line 39)May include surrounding context.

将新密码放进私有目录的 UTF-8 文件(4–128 字符,末尾换行会移除),不要放在作品上传目录、命令字面量或分享 URL 中。使用完整安装包入口:

bash
python3 "/实际skill目录/scripts/litepage.py" password 作品UUID --password-file "/私有目录/new-password.txt"
# 用户明确要求取消密码时:
python3 "/实际skill目录/scripts/litepage.py" password 作品UUID --remove

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · references/publishing.md (reported line 35)May include surrounding context.

用户要求密码分享时,使用上传目录之外的 UTF-8 密码文件(4–128 字符),不把密码写入命令字面量、URL、回执或作品内容。末尾换行会移除。客户端先检查服务支持 password,不支持时停止,不能去掉密码选项继续发布。

bash
python3 "/实际skill目录/scripts/litepage.py" publish "/作品/dist" --password-file "/私有目录/password.txt"

首次发布可原子启用保护;普通更新不带密码文件保留原密码,用户要求更换时明确传入新密码文件。已有作品的重设/移除流程见重设页面密码,无需重新上传页面或提供旧分享密码。重试原发布操作须使用原密码;幂等冲突不能换 ID 绕过。

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/client.py (reported line 369)May include surrounding context.

python
if self.store.backend != "file":
            raise RuntimeError(
                "New logins use file credentials; migrate old keyring credentials first"
            )
        self.store.preflight()
        with self.store.lock():

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 13)May include surrounding context.

python
from echo_cli.compat import unlink


def legacy_keyring():
    try:
        import keyring
    except ImportError:

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 15)May include surrounding context.

python
def legacy_keyring():
    try:
        import keyring
    except ImportError:
        raise RuntimeError("Legacy migration requires the optional keyring package") from None
    return keyring

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 18)May include surrounding context.

python
import keyring
    except ImportError:
        raise RuntimeError("Legacy migration requires the optional keyring package") from None
    return keyring


def digest(value):

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 106)May include surrounding context.

python
return json.loads(path.read_text())

    def load(self):
        if self.backend == "keyring":
            try:
                value = legacy_keyring().get_password("echo", self.account)
            except Exception:

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 108)May include surrounding context.

python
def load(self):
        if self.backend == "keyring":
            try:
                value = legacy_keyring().get_password("echo", self.account)
            except Exception:
                raise RuntimeError(
                    "System keyring unavailable. Configure it or explicitly use --credential-store file"

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 111)May include surrounding context.

python
value = legacy_keyring().get_password("echo", self.account)
            except Exception:
                raise RuntimeError(
                    "System keyring unavailable. Configure it or explicitly use --credential-store file"
                ) from None
            return json.loads(value) if value else None
        if not self.path.exists():

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 121)May include surrounding context.

python
return json.loads(self.path.read_text())

    def save(self, value):
        if self.backend == "keyring":
            try:
                legacy_keyring().set_password("echo", self.account, json.dumps(value))
            except Exception:

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 123)May include surrounding context.

python
def save(self, value):
        if self.backend == "keyring":
            try:
                legacy_keyring().set_password("echo", self.account, json.dumps(value))
            except Exception:
                raise RuntimeError(
                    "Cannot save to system keyring. Configure it or explicitly use --credential-store file"

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 126)May include surrounding context.

python
legacy_keyring().set_password("echo", self.account, json.dumps(value))
            except Exception:
                raise RuntimeError(
                    "Cannot save to system keyring. Configure it or explicitly use --credential-store file"
                ) from None
        else:
            atomic_json(self.path, value)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 133)May include surrounding context.

python
def delete(self):
        unlink(self.pending_path)
        if self.backend == "keyring":
            try:
                if legacy_keyring().get_password("echo", self.account):
                    legacy_keyring().delete_password("echo", self.account)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 135)May include surrounding context.

python
unlink(self.pending_path)
        if self.backend == "keyring":
            try:
                if legacy_keyring().get_password("echo", self.account):
                    legacy_keyring().delete_password("echo", self.account)
            except Exception:
                raise RuntimeError("Cannot remove credential from system keyring") from None

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 136)May include surrounding context.

python
if self.backend == "keyring":
            try:
                if legacy_keyring().get_password("echo", self.account):
                    legacy_keyring().delete_password("echo", self.account)
            except Exception:
                raise RuntimeError("Cannot remove credential from system keyring") from None
        else:

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/main.py (reported line 24)May include surrounding context.

python
)
    root.add_argument(
        "--credential-store",
        choices=["keyring", "file"],
        help="Default: mode-0600 file; keyring is legacy compatibility only",
    )
    root.add_argument("--client-id", default="echo-cli", help="Registered public OAuth client ID")

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/main.py (reported line 25)May include surrounding context.

python
root.add_argument(
        "--credential-store",
        choices=["keyring", "file"],
        help="Default: mode-0600 file; keyring is legacy compatibility only",
    )
    root.add_argument("--client-id", default="echo-cli", help="Registered public OAuth client ID")
    root.add_argument(

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/main.py (reported line 53)May include surrounding context.

python
bind.add_argument("--device-name", default=socket.gethostname())
    commands.add_parser(
        "migrate-credentials",
        help="Copy legacy keyring credentials into the default file without displaying secrets",
    )
    commands.add_parser("whoami")
    commands.add_parser("discover")

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 17)May include surrounding context.

python
try:
        import keyring
    except ImportError:
        raise RuntimeError("Legacy migration requires the optional keyring package") from None
    return keyring

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 138)May include surrounding context.

python
if legacy_keyring().get_password("echo", self.account):
                    legacy_keyring().delete_password("echo", self.account)
            except Exception:
                raise RuntimeError("Cannot remove credential from system keyring") from None
        else:
            unlink(self.path)

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/echo_cli/credentials.py (reported line 144)May include surrounding context.

python
class PublishJournal:
    """Persist the exact request before sending, independently of access tokens."""

    def __init__(self, server, *, namespace="publish"):
        self.path = config_dir() / f"{namespace}-{digest(server)}"