Back to skill

Security audit

lightpage

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because scanners report substantial capabilities beyond its stated Lightpage publishing purpose, including private-mail, social, and referral features.

Consider avoiding installation until the undeclared messaging, social, and referral features are clarified or removed, and the skill's tool scope is made clear. The scan was partial: although all listed components were scanned, several local references could not be resolved, so the evidence is incomplete.

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 (39)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

Publishing, reading, editing, deleting, and returning content links overlap with the description. However, the code also directly implements an extensive authenticated private-mail subsystem whose scope materially exceeds contacting an author or maintainer. The CLI identifies its default service as Echo and centers on posts, replies, and messaging; the supplied chunk does not establish that Echo is Lightpage or demonstrate static-site publishing. Authentication, credential storage, and local file handling are treated as supporting implementation details, not independent mismatches. Behavior inside imported modules is not assumed.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied module primarily implements social participation and attachment management, rather than the declared Lightpage publishing and sharing workflow. Likes, bookmarks, follows, and social notifications are distinct user-facing capabilities not identified in the description. Binary attachment operations are also exposed as standalone commands, with no visible connection to publishing a page or static website. The generic reference to integrating platform capabilities does not meaningfully disclose these specific operations. The absence of publishing code in this individual chunk is not itself the mismatch; the undeclared capabilities it does implement are.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
91% confidence
Finding

普通内容分享与声明一致,但此代码的核心是安装来源归因和推广推荐管理,而非发布内容或常规分享。声明中的“设置分享方式”“查看访问统计”和“接入平台能力”未明确涵盖这些独立的推广归因能力。代码会在本地缓存或配置目录持久保存推荐来源,并访问 /v1/hosting/referrals/ 下的接口,因此存在实质性的未声明功能。所示代码没有证明存在恶意外传;source 和 status 操作本身也不发起网络请求。

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

Author lookup and messaging a work's author fit the declared contact functionality. However, the code also exposes general private-mail and contact-management access, including reading existing correspondence and messaging user identifiers without restricting recipients to authors or maintainers. These are materially broader capabilities than the description explicitly communicates. Local retry receipts and input-file handling are supporting implementation details, not separate mismatches.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
88% confidence
Finding

Most visible behavior matches the description. However, the code additionally registers and dispatches a dedicated referral command, merges referral fields into login bodies, and automatically submits pending referral attribution for existing identities. Referral attribution is a distinct capability not disclosed in the description, rather than a necessary implementation detail of publishing, access management, or visit analytics. The implementations of imported modules were not supplied, so this finding is limited to the referral behavior directly visible here.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
86% confidence
Finding

The description does not disclose general-purpose public-image uploads. Although image handling could support page publication or avatar updates, this command is explicitly independent of publication and editing and is not restricted to avatars. It therefore exposes a distinct user-facing capability rather than merely implementing a declared workflow. The size checks, UUID handling, and authenticated request are ordinary implementation details, not separate mismatches.

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 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 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 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 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/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/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 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"