Logo di Data Scraper Agent

Data Scraper Agent

Community
brucesongs
data-scraper-agent

Automated data collection from structured sources: CVE databases, threat intelligence feeds, exploit databases, and security advisories. Transform unstructured web data into structured knowledge units.

Add to TypingMind

Panoramica

Pubblicato dabrucesongs
Repositorykali-claw
Nome della skilldata-scraper-agent
Stelle
70
Fork
18
File inclusi
12
LicenzaMIT
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • File inclusi: 12

    Script, template e riferimenti che il modello può leggere mentre lavora. I file sono di sola lettura e non vengono mai eseguiti.

  • Open source

    Pubblicata da brucesongs su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Data Scraper Agent in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/brucesongs/kali-claw/tree/main/skills/data-scraper-agent
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/brucesongs/kali-claw.git /tmp/kali-claw
mkdir -p .claude/skills
cp -r /tmp/kali-claw/skills/data-scraper-agent .claude/skills/data-scraper-agent
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Data Scraper Agent in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Data Scraper Agent non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Data Scraper Agent non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Data Scraper Agent

Summary

Transform unstructured web data into structured knowledge units.

Domain: research

Skill Identity

AttributeValue
DomainIntelligence Gathering
Skill IDdata-scraper-agent
Version1.0.0
Hacker LawsLaw 3 (Intelligence Over Force), Law 9 (Systematic Over Random)
Related Skillsdeep-research, osint, knowledge-ops

Purpose

Automated data collection from structured sources: CVE databases, threat intelligence feeds, exploit databases, and security advisories. Transform unstructured web data into structured knowledge units.

Core Capabilities

  1. CVE Database Scraping: NVD, MITRE, vendor-specific databases
  2. Exploit Database Collection: Exploit-DB, GitHub security advisories
  3. Threat Intel Feeds: Parse and filter IOC feeds
  4. Structured Data Extraction: JSON/XML APIs, HTML scraping

Use Cases

  • Vulnerability Research: Collect CVEs for specific products
  • Exploit Availability: Check if public exploits exist for CVEs
  • Threat Intelligence: Aggregate IOCs for a campaign
  • Vendor Advisories: Monitor vendor security bulletins

Tools

  • BeautifulSoup: HTML parsing
  • Scrapy: Web scraping framework
  • requests: HTTP client
  • jq: JSON filtering

Scraping Strategy

  • API-first: Prefer JSON APIs (NVD 2.0, GitHub Advisory) over HTML scraping — schemas are stable, rate limits documented, content validated.
  • Pagination discipline: Always honor Link: rel="next" headers or cursor-based tokens; never scrape past published page limits.
  • Selective extraction: Pull only the fields you need (cve.id, descriptions[*].value, metrics.cvssMetricV31) instead of dumping full records.
  • Incremental sync: Track lastModifiedDate watermarks per source to avoid re-fetching unchanged records.

Ethical Scraping

  1. Respect robots.txt even when the legal status is unclear — courts treat ignored robots files as a hostile signal.
  2. Add a descriptive User-Agent (kali-claw-research/1.0 contact@org) so site operators can reach you.
  3. Throttle to ≤1 req/sec by default; back off exponentially on 429/503.
  4. Cache aggressively — If-Modified-Since and ETag cut load on both sides.
  5. Avoid scraping content behind authentication unless explicitly authorized.

Data Normalization

  • Coerce all timestamps to UTC ISO 8601 before persisting.
  • Map CVE severity to a canonical scale (CVSS v3.1 base score); store vendor-specific scores separately.
  • Deduplicate by (source, primary_id) tuples — the same CVE appears in NVD, MITRE, and vendor feeds with slight schema drift.
  • Preserve raw source payloads alongside normalized records for audit and reprocessing.

Common Pitfalls

  • Brittle CSS selectors — HTML structures change without notice; prefer semantic anchors (microdata, JSON-LD) when available.
  • Silent rate-limit bans — some APIs degrade quietly instead of 429; monitor response sizes and freshness.
  • Encoding bugs — non-UTF-8 sources (older vendor advisories) corrupt downstream pipelines without explicit decoding.
  • Schema drift — NVD 1.x vs 2.0 schemas differ subtly; pin client versions and run schema validation per ingest.

Pipeline Architecture

  • Extractor stage: Fetch raw content from source (HTTP GET, API call, RSS feed). Validate HTTP status and content-type before proceeding.
  • Parser stage: Convert raw bytes to structured records using schema-specific parsers (JSON, XML, HTML table). Reject malformed records to quarantine.
  • Transformer stage: Normalize fields (dates, severity, identifiers), deduplicate, and enrich with cross-references (link CVEs to advisories).
  • Loader stage: Persist normalized records to knowledge store. Use upsert semantics to handle re-ingestion without duplication.

Error Handling and Retry

  • Classify errors as retryable (network timeout, HTTP 429/503) vs non-retryable (HTTP 404, invalid API key, schema mismatch).
  • Implement exponential backoff with jitter for retryable errors: sleep(base * 2^attempt + random(0, jitter)).
  • Set per-source circuit breakers: after N consecutive failures, pause that source for a cooling period and alert.
  • Log all retry attempts with timestamps and error details for post-mortem analysis.

Source-Specific Patterns

  • NVD 2.0 API: Use startIndex + resultsPerPage pagination; filter by cpeName for product-specific queries; handle 503 during peak hours.
  • GitHub Advisory: Query by ecosystem (ecosystem=PIP), severity, and date range; paginate with cursor tokens.
  • Exploit-DB: Scrape search results with rate limiting; cross-reference CVEs via the files_cves.csv mapping file.
  • Vendor Advisories: Each vendor has unique HTML structure; write dedicated parsers per vendor, share common extraction utilities.

Performance Optimization

  • Use async I/O (aiohttp, asyncio) for parallel requests across independent sources — 10x throughput over sequential fetching.
  • Cache raw HTTP responses with requests-cache or similar; set TTL per source (NVD: 1h, vendor advisories: 24h).
  • Stream large responses instead of buffering into memory — parse JSON incrementally with ijson for large datasets.
  • Batch database writes (insert 100 records per transaction) instead of individual inserts.

Monitoring and Alerting

  • Track scrape success rate per source (target >95%); alert on sustained drops indicating source changes or IP blocks.
  • Monitor ingestion lag: time between source publication and local availability. Flag sources where lag exceeds threshold.
  • Log schema validation failures per source — rising failure rates signal upstream format changes.
  • Emit structured metrics (source, records_fetched, records_parsed, records_loaded, errors) for dashboard visualization.

Detection Methods

Bot Detection (Defender Side)

  • Browser fingerprint anomalies: Headless Chrome signatures, missing plugins, WebDriver flag.
  • Behavioral patterns: Linear mouse paths, instant page transitions, no scrolling jitter.
  • Rate patterns: Request rate exceeding human baseline (>10 req/sec sustained).
  • TLS fingerprint: JA3/JA4 mismatches; curl/Python signatures vs browser.

SIEM Detection Rules

  • Cloudflare Bot Management: ML-based bot scoring.
  • Akamai Bot Manager: Behavioral fingerprinting.
  • PerimeterX / DataDome: Real-time bot detection.

Defense Evasion Techniques

Stealth Automation

  • puppeteer-extra-stealth: Removes WebDriver signature.
  • undetected-chromedriver: Patches ChromeDriver to bypass detection.
  • Real browser binaries: Use real Chrome/Firefox (not headless); slower but stealthier.
  • Camoufox: Firefox fork with built-in fingerprint randomization.
  • Realistic timing: Add jitter to mouse movements; random delays between actions.

Network Stealth

  • Residential proxies: Bright Data, Smartproxy; mimics real user IPs.
  • Mobile carrier proxies: 4G/5G IPs; harder to block (legitimate user pattern).
  • IP rotation: Rotate per session; avoid single-IP burst.
  • TLS fingerprint matching: curl-impersonate to match real browser JA3.

Behavioral Mimicry

  • Human-like navigation: Visit home page → category → product (don't deep-link directly).
  • Referrer chains: Use search engine referrer to look organic.
  • Mouse movement: Bezier curve mouse paths with jitter.

Integration

  • Feed scraped data to knowledge-ops for storage
  • Use deep-research to contextualize findings
  • Export to article-writing for reporting

File inclusi

Il modello legge questi file quando servono, mentre la skill è caricata. Sono accessibili in sola lettura e non vengono mai eseguiti.

Domande frequenti

Cosa fa la skill IA Data Scraper Agent?

Automated data collection from structured sources: CVE databases, threat intelligence feeds, exploit databases, and security advisories. Transform unstructured web data into structured knowledge units.

Perché usare Data Scraper Agent su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Data Scraper Agent è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Data Scraper Agent in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/brucesongs/kali-claw/tree/main/skills/data-scraper-agent. TypingMind legge il file SKILL.md, include i file associati e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Data Scraper Agent?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Data Scraper Agent?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Data Scraper Agent: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Data Scraper Agent è gratuita?

Sì. È pubblicata su GitHub da brucesongs con licenza MIT. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇