Back to skill

Security audit

site-monitor

Security checks for vulnerabilities and agentic risk

Overview

The skill has a legitimate website-monitoring purpose, but its implementation gives broad network and file-write authority that users should review before installing.

Install only if you are comfortable with this skill making HTTP requests from your machine and writing a local state file. Run it in a restricted environment, avoid checking internal or metadata-service URLs, and do not pass sensitive paths to --state-file; a safer version would restrict URL targets and store state only in a dedicated private directory.

Vulnerability Patterns
  • 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
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (3)

T09 · Insecure Skill Coding Practices

Error
Location
scripts/monitor.py:17
Finding

Server-Side Request Forgery Through an Unrestricted Target URL

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
scripts/monitor.py:24
Finding

Arbitrary File Overwrite and Predictable Temporary-State Symlink Attack

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
SKILL.md:29
Finding

Unpinned and Unverified Runtime Dependency Installation

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

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill advertises executable behavior that can read/write files and perform network access, but it does not declare any explicit tool scope or permissions. That omission weakens review and containment, because operators and automated systems cannot clearly enforce least privilege for a user-invocable skill that monitors arbitrary URLs and stores results.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The natural-language description and usage guidance are presented in Chinese, which effectively forces a specific language for users reading the skill documentation. The file does not offer an opt-in language choice or explain that the skill is intended only for a Chinese-speaking audience, which conflicts with the language/locale policy criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The docstring and user-visible status messages are written in Chinese, including success and error outputs, without offering a language option or documenting a locale-specific requirement. This can violate language or locale policy when users are not given a choice or informed that the tool is region-specific.

Content

No source excerpt is available for this finding.

Dynamic import via __import__()

Medium
Category
Dangerous Code Execution
Confidence
75% confidence
Finding

Dynamic import() can load arbitrary modules at runtime, bypassing static analysis and potentially importing malicious code.

Content

Scanner excerpt · scripts/monitor.py (reported line 35)May include surrounding context.

python
json.dump({
                'hash': content_hash,
                'status': status_code,
                'last_check': str(__import__('datetime').datetime.now())
            }, f)

        return {

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This code writes monitoring state to the path provided by --state-file, overwriting any existing file contents. Although the skill prints the monitoring result, it does not disclose that it will modify a local file, and the code lacks a comment or prompt warning users about this side effect.

Content

No source excerpt is available for this finding.