Back to skill

Security audit

Craigslist Monitor

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Craigslist lead-scraper with optional saving and scheduling, but users should be aware it stores contact leads locally and enrichment follows listing URLs without strong validation.

Install only if you are comfortable with a scraper making outbound Craigslist requests and, when --save is used, appending lead/contact details to a local markdown file. Avoid scheduled use unless you intend recurring weekly runs, and be cautious with --enrich until listing URL validation is added.

Vulnerability Patterns
  • System PersistenceInstalls backdoors, hooks, services, or scheduled tasks that survive the run
  • 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 (2)

T06 · System Persistence

Note
Location
SKILL.md:47
Finding

Documented Cron Configuration Creates Persistent Scheduled Execution

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
monitor.py:118
Finding

Unvalidated Listing URLs Can Be Fetched During Phone Enrichment

Content
View full analysis
str: """Fetch individual ad page to find phone number.""" if not url: return "" page = fetch_page(url) if not page: return "" body = page.css('body') text = body[0].get_all_text() if body else "" return extract_phone(text) ``` ```python if enrich_phone: for lead in leads: if not lead["phone"] and lead["url"]: p = fetch_ad_phone(lead["url"]) if p: lead["phone"] = p print(f" 📞 {p} → {lead['title'][:40]}") ``` The request function used by this flow performs no destination validation: ```python def fetch_page(url: str): try: return Fetcher.get(url, stealthy_headers=True, impersonate='chrome', timeout=30) except Exception as e: print(f" [fetch error] {e}", file=sys.stderr) return None ``` ### Technical Analysis The scraper extracts the first anchor's `href` from remotely supplied search-result HTML and stores it without validating its scheme, hostname, port, or resolved IP address. When `--enrich` is enabled, that URL is passed directly to `Fetcher.get`. Consequently, a manipulated or unexpected listing URL could cause the host running the scraper to issue a request to a destination other than Craigslist. Depending on the HTTP client's URL and redirect behavior, possible targets include public attacker-controlled servers or services reachable only from the local environment. This is an SSRF-style request primitive. Exploitation requires an attacker to influence the parsed search-result anchor or otherwise supply manipulated page content. The co ...[truncated 1829 chars]
Remediation
View remediation
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (3)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

When --enrich is used, the code performs extra HTTP fetches against individual ad URLs and extracts phone numbers from page bodies. The help text says it will 'find phone numbers,' but it does not explicitly warn that this triggers additional network access and collection of contact information from ad content.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This code writes collected lead details, including phone numbers, locations, and URLs, to a persistent markdown file. While the CLI flag name suggests saving, there is no explicit warning in the code comments, help text, or output that contact data will be stored on disk in a specific internal path.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

This markdown file documents a file-writing behavior by stating that --save appends to MASTER_LEAD_LIST.md, but it presents the action as a feature without any caution about modifying persistent internal data. Under the markdown-file warning criterion, behaviors affecting user data or system state should be disclosed with a warning, especially for scheduled or repeated use.

Content

No source excerpt is available for this finding.