processing-stix-taxii-feeds
Qué hace
Esta herramienta procesa información sobre ciberseguridad (llamada inteligencia de amenazas) que se envía en un formato estándar llamado STIX, a través de un sistema llamado TAXII. La organiza para que otros sistemas puedan usarla.
Cuándo usarla
- ✓Cuando conectes una nueva fuente de datos de seguridad que use el estándar STIX/TAXII.
- ✓Para comprobar si la información de seguridad que llega está en el formato correcto (STIX).
- ✓Para automatizar la organización de la información sobre campañas de ataque.
Link de la skill
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/processing-stix-taxii-feeds/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Conecta la fuente de datos CISA AIS y procesa la inteligencia de amenazas.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
La herramienta se conecta al servidor TAXII, descarga la información de seguridad en formato STIX, verifica que sea correcta y la organiza para que la usen otros sistemas de seguridad.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Processing STIX/TAXII Feeds
When to Use
Use this skill when:
- Onboarding a new TAXII 2.1 collection from a government feed (CISA AIS, FS-ISAC) or commercial provider
- Validating that ingested STIX bundles conform to the OASIS STIX 2.1 specification before import
- Building automated pipelines that parse STIX relationship objects to reconstruct campaign context
Do not use this skill for proprietary vendor feed formats (Recorded Future JSON, CrowdStrike IOC lists) that require vendor-specific parsers rather than STIX processing.
Prerequisites
- Python 3.9+ with
stix2library (pip install stix2) andtaxii2-clientlibrary - Network access to TAXII 2.1 server endpoint with valid credentials
- Target TIP or SIEM with import API (MISP, OpenCTI, or Splunk ES)
Workflow
Step 1: Discover TAXII Server Collections
from taxii2client.v21 import Server, as_pages
server = Server("https://cti.example.com/taxii/",
user="apiuser", password="apikey")
api_root = server.api_roots[0]
for collection in api_root.collections:
print(collection.id, collection.title, collection.can_read)
Select collections relevant to your threat profile. CISA AIS provides collections segmented by sector (financial, energy, healthcare).
Step 2: Fetch STIX Bundles with Pagination
from taxii2client.v21 import Collection
from datetime import datetime, timedelta, timezone
collection = Collection(
"https://cti.example.com/taxii/api1/collections/<id>/objects/",
user="apiuser", password="apikey")
# Fetch only objects added in the last 24 hours
added_after = datetime.now(timezone.utc) - timedelta(hours=24)
for bundle_page in as_pages(collection.get_objects,
added_after=added_after, per_request=100):
process_bundle(bundle_page)
Step 3: Parse and Validate STIX Objects
import stix2
def process_bundle(bundle_dict):
bundle = stix2.parse(bundle_dict, allow_custom=True)
for obj in bundle.objects:
if obj.type == "indicator":
validate_indicator(obj)
elif obj.type == "threat-actor":
upsert_threat_actor(obj)
elif obj.type == "relationship":
link_objects(obj)
def validate_indicator(indicator):
required = ["id", "type", "spec_version", "created",
"modified", "pattern", "pattern_type", "valid_from"]
for field in required:
if not hasattr(indicator, field):
raise ValueError(f"Missing required field: {field}")
# Check confidence range
if hasattr(indicator, "confidence"):
assert 0 <= indicator.confidence <= 100
Step 4: Route Objects to Consuming Platforms
Map STIX object types to destination systems:
indicatorobjects → SIEM lookup tables and firewall blocklistsmalwareobjects → EDR threat intelligence librarythreat-actor/campaignobjects → TIP for analyst contextcourse-of-actionobjects → Security team wiki or SOAR playbook triggers
Use TLP marking definitions to enforce sharing restrictions:
for marking in obj.get("object_marking_refs", []):
if "tlp-red" in marking:
route_to_restricted_platform_only(obj)
Step 5: Publish Back to TAXII (Bi-directional Sharing)
# Add validated local intelligence back to shared collection
new_indicator = stix2.Indicator(
name="Malicious C2 Domain",
pattern="[domain-name:value = 'evil-c2.example.com']",
pattern_type="stix",
valid_from="2025-01-15T00:00:00Z",
confidence=80,
labels=["malicious-activity"],
object_marking_refs=["marking-definition--34098fce-860f-479c-ae..."] # TLP:GREEN
)
collection.add_objects(stix2.Bundle(new_indicator))
Key Concepts
| Term | Definition |
|---|---|
| STIX Bundle | Top-level STIX container object (type: "bundle") holding any number of STIX Domain Objects (SDOs) and STIX Relationship Objects (SROs) |
| SDO | STIX Domain Object — core intelligence types: indicator, threat-actor, malware, campaign, attack-pattern, course-of-action |
| SRO | STIX Relationship Object — links two SDOs with a labeled relationship (e.g., "uses", "attributed-to", "indicates") |
| Pattern Language | STIX pattern syntax for indicator conditions: [network-traffic:dst_port = 443 AND ipv4-addr:value = '10.0.0.1'] |
| Marking Definition | STIX object encoding TLP or statement restrictions on intelligence sharing |
…
Preguntas frecuentes
¿Qué son STIX y TAXII?
STIX es un estándar para describir y compartir información sobre amenazas cibernéticas. TAXII es un protocolo para intercambiar esa información entre sistemas.
¿Puedo usar esta herramienta con cualquier tipo de información de seguridad?
No. Solo funciona con información que siga el estándar STIX/TAXII. No se admiten los formatos propios de otros fabricantes.
¿Necesito saber programar para usarla?
La herramienta está pensada para que la usen los sistemas, pero configurarla requiere conocimientos técnicos e instalar bibliotecas de Python concretas.
Detalles
Descripción original del autor
Processes STIX 2.1 threat intelligence bundles delivered via TAXII 2.1 servers, normalizing objects into platform-native schemas and routing them to appropriate consuming systems. Use when onboarding new TAXII collection endpoints, automating bi-directional intelligence sharing with ISACs, or building pipeline validation for malformed STIX bundles. Activates for requests involving OASIS STIX, TAXI
Popularidad
- Estrellas en GitHub
- 35 mil
- Posición en el ranking
- #8343
- Licencia
- Apache-2.0
- Actualizada
- 31/8/2026
Comentarios
- …
Más skills de este repositorio
abusing-dpapi-for-credential-access
35 milDa a tu agente de IA instrucciones listas para una tarea específica, para que la haga mejor y más rápido.
abusing-shadow-credentials-for-privesc
35 milEnseña a tu agente de IA a escribir textos claros y bien estructurados.
achieving-cmmc-level-2-compliance
35 milAyuda a tu agente a preparar un entorno para el cumplimiento de CMMC Nivel 2. Implementa los requisitos de seguridad y gestiona la documentación necesaria.
acquiring-disk-image-with-dd-and-dcfldd
35 milAyuda a tu agente a crear copias exactas de discos duros. Es útil para asegurar que no se pierda ni altere información durante las investigaciones.
Skills parecidas
tavily
394 milAyuda a tu agente a buscar en la web con Tavily y extraer el texto de páginas web concretas, con opciones de profundidad, dominios y fechas.
blogwatcher
394 milPermite que tu agente siga blogs y feeds RSS o Atom, los revise en busca de artículos nuevos y marque los que ya has leído.
data-scraper-agent
280 milAyuda a tu agente a recopilar datos automáticamente de cualquier fuente pública. Puede programarse, enriquecer la información y guardar resultados. Útil para monitorizar o seguir datos en línea.