Back to skill

Security audit

lightpage

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because scanners report several capabilities beyond its stated publishing purpose, including social activity and messaging; coverage was partial, so the evidence is incomplete.

The verdict is suspicious, so consider whether the reported social, messaging, attachment, and image-publishing features fit your needs before installing. Skillspector inspected all 36 listed components but marked analysis partial because two local references were missing; the separate AIG scan completed without findings, which does not resolve that coverage gap or prove the skill safe.

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

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied module primarily provides social participation and attachment-management operations through endpoints such as /v1/me/marks, /v1/me/following/people, /v1/notices, and /v1/attachments. Likes, bookmarks, person following, and notification acknowledgments are not described by the declared Lightpage publishing purpose. Attachment handling could support publishing, but this chunk exposes standalone binary attachment operations without establishing that relationship. The broad reference to platform integration does not adequately disclose these concrete social capabilities. This finding concerns the supplied chunk; it does not establish what other modules implement.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

Publishing, reading, editing, deleting, and generating content links overlap with the description, and credential/device management can reasonably support those functions. However, the code also implements a substantial mailbox and social-post client. Its arbitrary-recipient messaging and mailbox administration materially exceed contacting an author or maintainer and are not adequately disclosed by the generic platform-integration wording. The visible publishing implementation submits text posts to /v1/posts and generates ?post= links; it does not demonstrate static-site deployment. Imported module behavior is not available and was not assumed.

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 366)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 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 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/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 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 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 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 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 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/main.py (reported line 330)May include surrounding context.

python
raise RuntimeError("File credentials already exist; refusing to overwrite")
                value = old_store.load()
                if not value:
                    raise RuntimeError("No legacy keyring credentials found")
                store.save(value)
            result = {"ok": True, "credential_store": "file", "legacy_item_preserved": True}
        elif args.command == "whoami":

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)}"

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 321)May include surrounding context.

python
args.device_name, binding=True, wechat_application=args.wechat_app
            )
        elif args.command == "migrate-credentials":
            old_store = CredentialStore(server, "keyring")
            if store.backend != "file":
                raise RuntimeError("Migration destination must be file")
            store.preflight()