Back to skill

Security audit

gjsw

Security checks for vulnerabilities and agentic risk

Overview

This skill appears to be legitimate login automation, but it handles tax-platform credentials with weak destination, browser-session, and persistence controls that users should review carefully.

Install only if you are comfortable with local browser automation handling tax credentials. Use a carefully verified official HTTPS 12366 URL, avoid placing real passwords in shell history, run in an isolated local account or virtual environment, and remove ./chrome_profile after use if you do not want cookies or login state retained.

Vulnerability Patterns
  • Tool Hijacking and SpoofingModifies or replaces tools so legitimate-looking calls execute attacker logic
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (4)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/openclaw_login.py:488
Finding

Credentials Can Be Submitted to an Arbitrary HTTP(S) Destination

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/openclaw_login.py:627
Finding

Password Exposed Through Process Arguments

Content
View full analysis
Remediation
View remediation

T07 · Tool Hijacking and Spoofing

Error
Location
scripts/openclaw_login.py:449
Finding

Unauthenticated Reuse of an Arbitrary Browser Debugging Endpoint

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:33
Finding

Unpinned Third-Party Dependencies Installed from the Active Package Index

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (6)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

Accepting the username and password as positional command-line arguments exposes credentials through shell history, process listings, audit logs, and task-management tools on many systems. Because this skill handles access to a government tax platform, disclosure of those credentials could enable direct account compromise and access to sensitive taxpayer data.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill documentation indicates it uses environment variables and shell-executed commands (pip install, playwright install, and running a Python login script), but it does not declare an explicit tool/permission scope. In an agent ecosystem, missing scope declarations can cause overly broad or opaque execution of sensitive capabilities, especially for a credential-handling login automation skill.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill explicitly advertises persistent session storage via ./chrome_profile and login-state reuse, but does not clearly warn users that cookies and authenticated session artifacts will remain on disk. Because this skill automates login to a tax platform using user credentials, retained session data could expose sensitive tax-account access to other local users, malware, or later unintended reuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The script stores a persistent Chrome profile in ./chrome_profile, which will retain cookies, session tokens, and potentially autofill or other sensitive browser state after login. In the context of a tax-service login automation skill, that persisted state materially increases the chance of local credential/session theft or unintended account reuse by other local users or later processes.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/openclaw_login.py (reported line 504)May include surrounding context.

python
creationflags = subprocess.CREATE_NEW_PROCESS_GROUP
    else:
        creationflags = 0
    proc = subprocess.Popen(args, stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL,
                            creationflags=creationflags if sys.platform == "win32" else 0,
                            start_new_session=True)
    max_wait = 10

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

Natural-language strings in the docstring and runtime messages are fixed in Chinese, and the script is tailored to a specific Chinese tax platform without any option to select another language. Under the language/locale policy, forcing a language without user opt-in can be a policy violation unless explicitly justified as region-specific.

Content

No source excerpt is available for this finding.