Back to Home
grapelike-class151 icon

cursor-skills

Verified Safe

by grapelike-class151

Overview

A Python script designed to crawl a given base URL, extract internal links up to a specified depth, and report any broken (404) links, logging the results to a versioned JSON file. It serves as a web site health utility.

Installation

Run Command
python checklinks.py

Security Notes

The script makes external HTTP requests. If the hardcoded base URL (or any discovered links) points to malicious content or an untrusted domain, the script will attempt to fetch and parse it. While it uses standard Python libraries (`urllib`, `html.parser`) which are generally robust, web crawlers inherently interact with external, potentially untrusted, content. There is no explicit input sanitization or validation for the `base_url` if it were to be dynamically supplied, which could lead to SSRF or resource exhaustion if pointed to internal or malicious targets. In its current form, targeting `https://cursor-skills.vercel.app/`, the immediate risk is low. Note: The `README` snippet provided in the prompt refers to a different, non-server example (`django-model-example`). This analysis focuses on `checklinks.py` as the most 'server-like' active component in the provided source.

Similar Servers

Stats

Interest Score35
Security Score7
Cost ClassMedium
Avg Tokens200
Stars3
Forks1
Last Update2025-12-14

Tags

Web CrawlerLink CheckerPythonHTML ParsingHTTP RequestsBroken Link DetectionSite AuditUtility