[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B7VKNJVMS6YVABN64B0DHC":3,"skill-same:01M7B7VKNJVMS6YVABN64B0DHC":100},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":15,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":46,"commitSha":47,"skillDirectory":48,"forksCount":13,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":51,"install":52,"resources":65},"01M7B7VKNJVMS6YVABN64B0DHC","implementing-stix-taxii-feed-integration",null,"Implements a STIX 2.1\u002FTAXII 2.1 threat-intelligence feed consumer and producer in Python, covering TAXII server discovery, collection polling, parsing STIX bundles with the stix2 library, and standing up a local TAXII server with Medallion. Use when integrating a STIX\u002FTAXII CTI feed into a SIEM or TIP, writing a TAXII client to poll for new indicators, or setting up TAXII collections for indicator exchange.","vikasvardhanv\u002Fjerry_skills","vikasvardhanv","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99010657?v=4","01M7B2B0VN78W7529RQX5BR6DZ","01M7B2B0WDNTXJHRK3QNPNWRP6",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: implementing-stix-taxii-feed-integration\ndescription: Implements a STIX 2.1\u002FTAXII 2.1 threat-intelligence feed consumer and\n  producer in Python, covering TAXII server discovery, collection polling, parsing\n  STIX bundles with the stix2 library, and standing up a local TAXII server with Medallion.\n  Use when integrating a STIX\u002FTAXII CTI feed into a SIEM or TIP, writing a TAXII client\n  to poll for new indicators, or setting up TAXII collections for indicator exchange.\ndomain: cybersecurity\nsubdomain: threat-intelligence\ntags:\n- threat-intelligence\n- cti\n- ioc\n- mitre-attack\n- stix\n- taxii\n- feed-integration\n- oasis\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- ID.RA-01\n- ID.RA-05\n- DE.CM-01\n- DE.AE-02\nmitre_attack:\n- T1591\n- T1592\n- T1593\n- T1589\n---\n# Implementing STIX\u002FTAXII Feed Integration\n\n## Overview\n\nSTIX (Structured Threat Information eXpression) and TAXII (Trusted Automated eXchange of Intelligence Information) are OASIS open standards for representing and transporting cyber threat intelligence. This skill covers implementing a STIX\u002FTAXII 2.1 feed consumer and producer using Python, configuring TAXII server discovery, collection management, polling for new intelligence, parsing STIX 2.1 objects, and integrating feeds into SIEM and TIP platforms.\n\n\n## When to Use\n\n- When deploying or configuring implementing stix taxii feed integration capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Python 3.9+ with `taxii2-client`, `stix2`, `cti-taxii-client` libraries\n- Understanding of STIX 2.1 data model (SDOs, SCOs, SROs)\n- Understanding of TAXII 2.1 protocol (discovery, API roots, collections)\n- Network access to TAXII servers (MITRE ATT&CK TAXII, Anomali STAXX)\n- Optional: medallion for running a local TAXII 2.1 server\n\n## Key Concepts\n\n### TAXII 2.1 Architecture\n\nTAXII defines a RESTful API with three service types:\n- **Discovery**: Returns information about available API roots\n- **API Root**: Contains collections and serves as the main interaction point\n- **Collection**: A logical grouping of STIX objects accessible via GET\u002FPOST\n\n### STIX 2.1 Object Model\n\nSTIX objects are categorized as:\n- **SDOs (STIX Domain Objects)**: Indicator, Malware, Threat Actor, Campaign, Attack Pattern, Tool, Infrastructure, Vulnerability, Identity, Location, Note, Opinion, Report, Grouping\n- **SCOs (STIX Cyber Observables)**: IPv4-Addr, Domain-Name, URL, File, Email-Addr, Process, Network-Traffic, Artifact\n- **SROs (STIX Relationship Objects)**: Relationship, Sighting\n- **Meta Objects**: Marking Definition (TLP), Language Content, Extension Definition\n\n### STIX Bundle\n\nA Bundle is a collection of STIX objects transmitted together. Bundles have a unique ID and contain an array of objects. TAXII collections serve bundles in response to GET requests.\n\n## Workflow\n\n### Step 1: TAXII Server Discovery\n\n```python\nfrom taxii2client.v21 import Server, Collection, as_pages\n\n# Connect to MITRE ATT&CK TAXII server\nserver = Server(\"https:\u002F\u002Fcti-taxii.mitre.org\u002Ftaxii2\u002F\", user=\"\", password=\"\")\n\nprint(f\"Title: {server.title}\")\nprint(f\"Description: {server.description}\")\n\n# List API roots\nfor api_root in server.api_roots:\n    print(f\"\\nAPI Root: {api_root.title}\")\n    print(f\"  URL: {api_root.url}\")\n\n    # List collections\n    for collection in api_root.collections:\n        print(f\"  Collection: {collection.title} (ID: {collection.id})\")\n        print(f\"    Can Read: {collection.can_read}\")\n        print(f\"    Can Write: {collection.can_write}\")\n```\n\n### Step 2: Fetch STIX Objects from Collection\n\n```python\nfrom taxii2client.v21 import Collection, as_pages\nimport json\n\n# Connect to Enterprise ATT&CK collection\nENTERPRISE_ATTACK_ID = \"95ecc380-afe9-11e4-9b6c-751b66dd541e\"\ncollection = Collection(\n    f\"https:\u002F\u002Fcti-taxii.mitre.org\u002Fstix\u002Fcollections\u002F{ENTERPRISE_ATTACK_ID}\u002F\",\n    user=\"\",\n    password=\"\",\n)\n\nprint(f\"Collection: {collection.title}\")\n\n# Fetch all objects (paginated)\nall_objects = []\nfor envelope in as_pages(collection.get_objects, per_request=50):\n    objects = envelope.get(\"objects\", [])\n    all_objects.extend(objects)\n    print(f\"  Fetched {len(objects)} objects (total: {len(all_objects)})\")\n\nprint(f\"\\nTotal objects retrieved: {len(all_objects)}\")\n\n# Categorize by type\ntype_counts = {}\nfor obj in all_objects:\n    obj_type = obj.get(\"type\", \"unknown\")\n    type_counts[obj_type] = type_counts.get(obj_type, 0) + 1\n\nfor obj_type, count in sorted(type_counts.items()):\n    print(f\"  {obj_type}: {count}\")\n```\n\n### Step 3: Parse STIX 2.1 Objects with stix2 Library\n\n```python\nfrom stix2 import parse, Filter, MemoryStore\n\n# Load objects into a MemoryStore for querying\nstore = MemoryStore(stix_data=all_objects)\n\n# Query for all indicators\nindicators = store.query([Filter(\"type\", \"=\", \"indicator\")])\nprint(f\"Indicators: {len(indicators)}\")\n\nfor ind in indicators[:5]:\n    print(f\"  {ind.name}: {ind.pattern}\")\n\n# Query for malware\nmalware_list = store.query([Filter(\"type\", \"=\", \"malware\")])\nprint(f\"\\nMalware families: {len(malware_list)}\")\n\n# Query for threat actors\nactors = store.query([Filter(\"type\", \"=\", \"intrusion-set\")])\nprint(f\"Threat actors: {len(actors)}\")\n\n# Find relationships for a specific object\ndef get_related(store, source_id):\n    relationships = store.query([\n        Filter(\"type\", \"=\", \"relationship\"),\n        Filter(\"source_ref\", \"=\", source_id),\n    ])\n    return relationships\n\n# Example: Get all techniques used by APT28\napt28 = store.query([\n    Filter(\"type\", \"=\", \"intrusion-set\"),\n    Filter(\"name\", \"=\", \"APT28\"),\n])\nif apt28:\n    rels = get_related(store, apt28[0].id)\n    for rel in rels:\n        target = store.get(rel.target_ref)\n        if target:\n            print(f\"  {rel.relationship_type} -> {target.name} ({target.type})\")\n```\n\n### Step 4: Implement Custom TAXII Consumer\n\n```python\nfrom taxii2client.v21 import Collection, as_pages\nfrom stix2 import parse, Bundle\nfrom datetime import datetime, timedelta\nimport json\n\nclass TAXIIConsumer:\n    \"\"\"Consume STIX\u002FTAXII 2.1 feeds and extract IOCs.\"\"\"\n\n    def __init__(self, collection_url, user=\"\", password=\"\"):\n        self.collection = Collection(collection_url, user=user, password=password)\n        self.last_poll = None\n\n    def poll_new_objects(self, added_after=None):\n        \"\"\"Poll for objects added after a specific timestamp.\"\"\"\n        if added_after is None:\n            added_after = (\n                self.last_poll or\n                (datetime.utcnow() - timedelta(days=1)).strftime(\n                    \"%Y-%m-%dT%H:%M:%S.000Z\"\n                )\n            )\n\n        all_objects = []\n        kwargs = {\"added_after\": added_after}\n\n        for envelope in as_pages(\n            self.collection.get_objects, per_request=100, **kwargs\n        ):\n            objects = envelope.get(\"objects\", [])\n            all_objects.extend(objects)\n\n        self.last_poll = datetime.utcnow().strftime(\"%Y-%m-%dT%H:%M:%S.000Z\")\n        return all_objects\n\n    def extract_indicators(self, objects):\n        \"\"\"Extract actionable indicators from STIX objects.\"\"\"\n        indicators = []\n        for obj in objects:\n            if obj.get(\"type\") == \"indicator\":\n                indicators.append({\n                    \"id\": obj.get(\"id\"),\n                    \"name\": obj.get(\"name\", \"\"),\n                    \"pattern\": obj.get(\"pattern\", \"\"),\n                    \"pattern_type\": obj.get(\"pattern_type\", \"\"),\n                    \"valid_from\": obj.get(\"valid_from\", \"\"),\n                    \"valid_until\": obj.get(\"valid_until\", \"\"),\n                    \"indicator_types\": obj.get(\"indicator_types\", []),\n                    \"confidence\": obj.get(\"confidence\", 0),\n                    \"labels\": obj.get(\"labels\", []),\n                })\n        return indicators\n\n    def extract_observables(self, objects):\n        \"\"\"Extract STIX Cyber Observables.\"\"\"\n        observables = []\n        observable_types = {\n            \"ipv4-addr\", \"ipv6-addr\", \"domain-name\", \"url\",\n            \"file\", \"email-addr\", \"network-traffic\",\n        }\n        for obj in objects:\n            if obj.get(\"type\") in observable_types:\n                observables.append({\n                    \"type\": obj[\"type\"],\n                    \"value\": obj.get(\"value\", \"\"),\n                    \"id\": obj.get(\"id\"),\n                })\n        return observables\n\n\n# Usage\nconsumer = TAXIIConsumer(\n    f\"https:\u002F\u002Fcti-taxii.mitre.org\u002Fstix\u002Fcollections\u002F{ENTERPRISE_ATTACK_ID}\u002F\"\n)\nnew_objects = consumer.poll_new_objects()\nindicators = consumer.extract_indicators(new_objects)\nprint(f\"New indicators: {len(indicators)}\")\n```\n\n### Step 5: Set Up Local TAXII Server with Medallion\n\n```python\n# medallion configuration (medallion.conf)\nTAXII_CONFIG = {\n    \"backend\": {\n        \"module_class\": \"MemoryBackend\",\n    },\n    \"users\": {\n        \"admin\": \"admin_password\",\n        \"readonly\": \"readonly_password\",\n    },\n    \"taxii\": {\n        \"max_content_length\": 10485760,\n    },\n}\n\n# Run medallion server:\n# pip install medallion\n# python -m medallion --config medallion.conf --port 5000\n\n# Add objects to local TAXII server\nimport requests\n\ndef push_to_taxii(server_url, collection_id, stix_bundle, user, password):\n    \"\"\"Push STIX bundle to a TAXII 2.1 collection.\"\"\"\n    url = f\"{server_url}\u002Fcollections\u002F{collection_id}\u002Fobjects\u002F\"\n    headers = {\n        \"Content-Type\": \"application\u002Fstix+json;version=2.1\",\n        \"Accept\": \"application\u002Ftaxii+json;version=2.1\",\n    }\n    response = requests.post(\n        url,\n        json=stix_bundle,\n        headers=headers,\n        auth=(user, password),\n        timeout=30,\n    )\n    return response.json()\n```\n\n## Validation Criteria\n\n- TAXII server discovery returns valid API roots and collections\n- STIX objects fetched and parsed correctly from TAXII collections\n- Indicators extracted with valid STIX patterns\n- Pagination handled correctly for large collections\n- Consumer tracks polling state for incremental updates\n- Local TAXII server accepts and serves STIX bundles\n\n## References\n\n- [STIX 2.1 Specification](https:\u002F\u002Fdocs.oasis-open.org\u002Fcti\u002Fstix\u002Fv2.1\u002Fstix-v2.1.html)\n- [TAXII 2.1 Specification](https:\u002F\u002Fdocs.oasis-open.org\u002Fcti\u002Ftaxii\u002Fv2.1\u002Ftaxii-v2.1.html)\n- [taxii2-client PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Ftaxii2-client\u002F)\n- [stix2 Python Library](https:\u002F\u002Fstix2.readthedocs.io\u002F)\n- [MITRE ATT&CK TAXII Server](https:\u002F\u002Fcti-taxii.mitre.org\u002Ftaxii2\u002F)\n- [Medallion TAXII Server](https:\u002F\u002Fgithub.com\u002Foasis-open\u002Fcti-taxii-server)\n","# Implementing STIX\u002FTAXII Feed Integration\n\n## Overview\n\nSTIX (Structured Threat Information eXpression) and TAXII (Trusted Automated eXchange of Intelligence Information) are OASIS open standards for representing and transporting cyber threat intelligence. This skill covers implementing a STIX\u002FTAXII 2.1 feed consumer and producer using Python, configuring TAXII server discovery, collection management, polling for new intelligence, parsing STIX 2.1 objects, and integrating feeds into SIEM and TIP platforms.\n\n\n## When to Use\n\n- When deploying or configuring implementing stix taxii feed integration capabilities in your environment\n- When establishing security controls aligned to compliance requirements\n- When building or improving security architecture for this domain\n- When conducting security assessments that require this implementation\n\n## Prerequisites\n\n- Python 3.9+ with `taxii2-client`, `stix2`, `cti-taxii-client` libraries\n- Understanding of STIX 2.1 data model (SDOs, SCOs, SROs)\n- Understanding of TAXII 2.1 protocol (discovery, API roots, collections)\n- Network access to TAXII servers (MITRE ATT&CK TAXII, Anomali STAXX)\n- Optional: medallion for running a local TAXII 2.1 server\n\n## Key Concepts\n\n### TAXII 2.1 Architecture\n\nTAXII defines a RESTful API with three service types:\n- **Discovery**: Returns information about available API roots\n- **API Root**: Contains collections and serves as the main interaction point\n- **Collection**: A logical grouping of STIX objects accessible via GET\u002FPOST\n\n### STIX 2.1 Object Model\n\nSTIX objects are categorized as:\n- **SDOs (STIX Domain Objects)**: Indicator, Malware, Threat Actor, Campaign, Attack Pattern, Tool, Infrastructure, Vulnerability, Identity, Location, Note, Opinion, Report, Grouping\n- **SCOs (STIX Cyber Observables)**: IPv4-Addr, Domain-Name, URL, File, Email-Addr, Process, Network-Traffic, Artifact\n- **SROs (STIX Relationship Objects)**: Relationship, Sighting\n- **Meta Objects**: Marking Definition (TLP), Language Content, Extension Definition\n\n### STIX Bundle\n\nA Bundle is a collection of STIX objects transmitted together. Bundles have a unique ID and contain an array of objects. TAXII collections serve bundles in response to GET requests.\n\n## Workflow\n\n### Step 1: TAXII Server Discovery\n\n```python\nfrom taxii2client.v21 import Server, Collection, as_pages\n\n# Connect to MITRE ATT&CK TAXII server\nserver = Server(\"https:\u002F\u002Fcti-taxii.mitre.org\u002Ftaxii2\u002F\", user=\"\", password=\"\")\n\nprint(f\"Title: {server.title}\")\nprint(f\"Description: {server.description}\")\n\n# List API roots\nfor api_root in server.api_roots:\n    print(f\"\\nAPI Root: {api_root.title}\")\n    print(f\"  URL: {api_root.url}\")\n\n    # List collections\n    for collection in api_root.collections:\n        print(f\"  Collection: {collection.title} (ID: {collection.id})\")\n        print(f\"    Can Read: {collection.can_read}\")\n        print(f\"    Can Write: {collection.can_write}\")\n```\n\n### Step 2: Fetch STIX Objects from Collection\n\n```python\nfrom taxii2client.v21 import Collection, as_pages\nimport json\n\n# Connect to Enterprise ATT&CK collection\nENTERPRISE_ATTACK_ID = \"95ecc380-afe9-11e4-9b6c-751b66dd541e\"\ncollection = Collection(\n    f\"https:\u002F\u002Fcti-taxii.mitre.org\u002Fstix\u002Fcollections\u002F{ENTERPRISE_ATTACK_ID}\u002F\",\n    user=\"\",\n    password=\"\",\n)\n\nprint(f\"Collection: {collection.title}\")\n\n# Fetch all objects (paginated)\nall_objects = []\nfor envelope in as_pages(collection.get_objects, per_request=50):\n    objects = envelope.get(\"objects\", [])\n    all_objects.extend(objects)\n    print(f\"  Fetched {len(objects)} objects (total: {len(all_objects)})\")\n\nprint(f\"\\nTotal objects retrieved: {len(all_objects)}\")\n\n# Categorize by type\ntype_counts = {}\nfor obj in all_objects:\n    obj_type = obj.get(\"type\", \"unknown\")\n    type_counts[obj_type] = type_counts.get(obj_type, 0) + 1\n\nfor obj_type, count in sorted(type_counts.items()):\n    print(f\"  {obj_type}: {count}\")\n```\n\n### Step 3: Parse STIX 2.1 Objects with stix2 Library\n\n```python\nfrom stix2 import parse, Filter, MemoryStore\n\n# Load objects into a MemoryStore for querying\nstore = MemoryStore(stix_data=all_objects)\n\n# Query for all indicators\nindicators = store.query([Filter(\"type\", \"=\", \"indicator\")])\nprint(f\"Indicators: {len(indicators)}\")\n\nfor ind in indicators[:5]:\n    print(f\"  {ind.name}: {ind.pattern}\")\n\n# Query for malware\nmalware_list = store.query([Filter(\"type\", \"=\", \"malware\")])\nprint(f\"\\nMalware families: {len(malware_list)}\")\n\n# Query for threat actors\nactors = store.query([Filter(\"type\", \"=\", \"intrusion-set\")])\nprint(f\"Threat actors: {len(actors)}\")\n\n# Find relationships for a specific object\ndef get_related(store, source_id):\n    relationships = store.query([\n        Filter(\"type\", \"=\", \"relationship\"),\n        Filter(\"source_ref\", \"=\", source_id),\n    ])\n    return relationships\n\n# Example: Get all techniques used by APT28\napt28 = store.query([\n    Filter(\"type\", \"=\", \"intrusion-set\"),\n    Filter(\"name\", \"=\", \"APT28\"),\n])\nif apt28:\n    rels = get_related(store, apt28[0].id)\n    for rel in rels:\n        target = store.get(rel.target_ref)\n        if target:\n            print(f\"  {rel.relationship_type} -> {target.name} ({target.type})\")\n```\n\n### Step 4: Implement Custom TAXII Consumer\n\n```python\nfrom taxii2client.v21 import Collection, as_pages\nfrom stix2 import parse, Bundle\nfrom datetime import datetime, timedelta\nimport json\n\nclass TAXIIConsumer:\n    \"\"\"Consume STIX\u002FTAXII 2.1 feeds and extract IOCs.\"\"\"\n\n    def __init__(self, collection_url, user=\"\", password=\"\"):\n        self.collection = Collection(collection_url, user=user, password=password)\n        self.last_poll = None\n\n    def poll_new_objects(self, added_after=None):\n        \"\"\"Poll for objects added after a specific timestamp.\"\"\"\n        if added_after is None:\n            added_after = (\n                self.last_poll or\n                (datetime.utcnow() - timedelta(days=1)).strftime(\n                    \"%Y-%m-%dT%H:%M:%S.000Z\"\n                )\n            )\n\n        all_objects = []\n        kwargs = {\"added_after\": added_after}\n\n        for envelope in as_pages(\n            self.collection.get_objects, per_request=100, **kwargs\n        ):\n            objects = envelope.get(\"objects\", [])\n            all_objects.extend(objects)\n\n        self.last_poll = datetime.utcnow().strftime(\"%Y-%m-%dT%H:%M:%S.000Z\")\n        return all_objects\n\n    def extract_indicators(self, objects):\n        \"\"\"Extract actionable indicators from STIX objects.\"\"\"\n        indicators = []\n        for obj in objects:\n            if obj.get(\"type\") == \"indicator\":\n                indicators.append({\n                    \"id\": obj.get(\"id\"),\n                    \"name\": obj.get(\"name\", \"\"),\n                    \"pattern\": obj.get(\"pattern\", \"\"),\n                    \"pattern_type\": obj.get(\"pattern_type\", \"\"),\n                    \"valid_from\": obj.get(\"valid_from\", \"\"),\n                    \"valid_until\": obj.get(\"valid_until\", \"\"),\n                    \"indicator_types\": obj.get(\"indicator_types\", []),\n                    \"confidence\": obj.get(\"confidence\", 0),\n                    \"labels\": obj.get(\"labels\", []),\n                })\n        return indicators\n\n    def extract_observables(self, objects):\n        \"\"\"Extract STIX Cyber Observables.\"\"\"\n        observables = []\n        observable_types = {\n            \"ipv4-addr\", \"ipv6-addr\", \"domain-name\", \"url\",\n            \"file\", \"email-addr\", \"network-traffic\",\n        }\n        for obj in objects:\n            if obj.get(\"type\") in observable_types:\n                observables.append({\n                    \"type\": obj[\"type\"],\n                    \"value\": obj.get(\"value\", \"\"),\n                    \"id\": obj.get(\"id\"),\n                })\n        return observables\n\n\n# Usage\nconsumer = TAXIIConsumer(\n    f\"https:\u002F\u002Fcti-taxii.mitre.org\u002Fstix\u002Fcollections\u002F{ENTERPRISE_ATTACK_ID}\u002F\"\n)\nnew_objects = consumer.poll_new_objects()\nindicators = consumer.extract_indicators(new_objects)\nprint(f\"New indicators: {len(indicators)}\")\n```\n\n### Step 5: Set Up Local TAXII Server with Medallion\n\n```python\n# medallion configuration (medallion.conf)\nTAXII_CONFIG = {\n    \"backend\": {\n        \"module_class\": \"MemoryBackend\",\n    },\n    \"users\": {\n        \"admin\": \"admin_password\",\n        \"readonly\": \"readonly_password\",\n    },\n    \"taxii\": {\n        \"max_content_length\": 10485760,\n    },\n}\n\n# Run medallion server:\n# pip install medallion\n# python -m medallion --config medallion.conf --port 5000\n\n# Add objects to local TAXII server\nimport requests\n\ndef push_to_taxii(server_url, collection_id, stix_bundle, user, password):\n    \"\"\"Push STIX bundle to a TAXII 2.1 collection.\"\"\"\n    url = f\"{server_url}\u002Fcollections\u002F{collection_id}\u002Fobjects\u002F\"\n    headers = {\n        \"Content-Type\": \"application\u002Fstix+json;version=2.1\",\n        \"Accept\": \"application\u002Ftaxii+json;version=2.1\",\n    }\n    response = requests.post(\n        url,\n        json=stix_bundle,\n        headers=headers,\n        auth=(user, password),\n        timeout=30,\n    )\n    return response.json()\n```\n\n## Validation Criteria\n\n- TAXII server discovery returns valid API roots and collections\n- STIX objects fetched and parsed correctly from TAXII collections\n- Indicators extracted with valid STIX patterns\n- Pagination handled correctly for large collections\n- Consumer tracks polling state for incremental updates\n- Local TAXII server accepts and serves STIX bundles\n\n## References\n\n- [STIX 2.1 Specification](https:\u002F\u002Fdocs.oasis-open.org\u002Fcti\u002Fstix\u002Fv2.1\u002Fstix-v2.1.html)\n- [TAXII 2.1 Specification](https:\u002F\u002Fdocs.oasis-open.org\u002Fcti\u002Ftaxii\u002Fv2.1\u002Ftaxii-v2.1.html)\n- [taxii2-client PyPI](https:\u002F\u002Fpypi.org\u002Fproject\u002Ftaxii2-client\u002F)\n- [stix2 Python Library](https:\u002F\u002Fstix2.readthedocs.io\u002F)\n- [MITRE ATT&CK TAXII Server](https:\u002F\u002Fcti-taxii.mitre.org\u002Ftaxii2\u002F)\n- [Medallion TAXII Server](https:\u002F\u002Fgithub.com\u002Foasis-open\u002Fcti-taxii-server)\n",{"name":5,"tags":24,"author":33,"domain":34,"license":14,"version":35,"nist_csf":36,"subdomain":25,"description":7,"mitre_attack":41},[25,26,27,28,29,30,31,32],"threat-intelligence","cti","ioc","mitre-attack","stix","taxii","feed-integration","oasis","mahipal","cybersecurity","1.0",[37,38,39,40],"ID.RA-01","ID.RA-05","DE.CM-01","DE.AE-02",[42,43,44,45],"T1591","T1592","T1593","T1589","main","1eb986d0b0ecc180291597e08eb5a58288843536","skills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv","2026-08-25 13:16:33",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add vikasvardhanv\u002Fjerry_skills --skill implementing-stix-taxii-feed-integration",{"tool":58,"command":59},"bunx","bunx skills add vikasvardhanv\u002Fjerry_skills --skill implementing-stix-taxii-feed-integration",{"tool":61,"command":62},"pnpm","pnpm dlx skills add vikasvardhanv\u002Fjerry_skills --skill implementing-stix-taxii-feed-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002FSKILL.md",true,[66,72,76,82,86,90,96],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"assets\u002Ftemplate.md","ASSET","资产文件",1236,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002Fassets\u002Ftemplate.md",{"path":73,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":15},"LICENSE","许可证",11255,{"path":77,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fapi-reference.md","REFERENCE","参考文档",4813,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002Freferences\u002Fapi-reference.md",{"path":83,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fstandards.md",2876,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002Freferences\u002Fstandards.md",{"path":87,"resourceType":78,"resourceTypeDesc":79,"sizeBytes":88,"sourceHtmlUrl":89},"references\u002Fworkflows.md",2905,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002Freferences\u002Fworkflows.md",{"path":91,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":94,"sourceHtmlUrl":95},"scripts\u002Fagent.py","SCRIPT","脚本",11976,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002Fscripts\u002Fagent.py",{"path":97,"resourceType":92,"resourceTypeDesc":93,"sizeBytes":98,"sourceHtmlUrl":99},"scripts\u002Fprocess.py",10969,"https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fcurated_premium_skills\u002FAnthropic-Cybersecurity-Skills\u002Fskills\u002Fimplementing-stix-taxii-feed-integration\u002Fscripts\u002Fprocess.py",[101,109,116,123,130,137],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":106,"categories":107,"keywords":108,"publishedAt":19},"01M7BESR1CJ3H5SP9XM8KYJZ9W","syllabus","Generates a curated supplementary reading list from any course syllabus using Consensus academic search. Grill-me intake (syllabus input format + course audience + year range) plus a grouping forcing-options checkpoint before any search runs — so the reading list matches the course's level and recency need. Parses the syllabus to extract topics and learning outcomes, searches Consensus for recent peer-reviewed papers per topic, and produces a professionally formatted .docx with clickable Consensus links, plain-language summaries calibrated to audience level, and Bloom-higher-order discussion questions tied to course learning goals. Use when the user uploads a syllabus, course outline, or curriculum document and wants supplementary readings (e.g., 'create a reading list from this syllabus', 'find recent papers for my course') — even casual mentions with a syllabus attached should trigger this skill.","MIT","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fsyllabus\u002Fskills\u002Fsyllabus\u002FSKILL.md",[],[],{"skillNo":110,"name":111,"nameZh":6,"description":112,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":19},"01M7BES1YA6R97W7QPMFFM1PED","pulse","Multi-source recency research skill that takes the pulse of any topic across Reddit, Hacker News, the open web, and optionally X\u002FTwitter within a configurable recent window (default 30 days). Forcing intake clarifies topic specificity, angle (trend\u002Fsentiment\u002Fproblems\u002Fopportunities\u002Fcomparison), time window, and platform scope before searching. Returns a synthesized briefing with citations, engagement metrics, and cross-platform pattern analysis. Use when the user requests multi-source recency intelligence on a topic (e.g., 'pulse on [topic]', 'what's happening with [topic]', 'what are people saying about [topic]', 'current conversation about [topic]', 'take the pulse of [topic]', 'trending: [topic]', 'find me info on [topic]'), and for competitor research, trend discovery, tool comparisons, and audience sentiment analysis.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpulse\u002Fskills\u002Fpulse\u002FSKILL.md",[],[],{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":19},"01M7BERNHYGY035AR00VRT03KE","patent","Patent prior-art and landscape intelligence skill — not generic patent help. Commits to one of five sub-use-cases via forcing intake (novelty search \u002F freedom-to-operate \u002F competitive landscape \u002F acquisition diligence \u002F litigation prior-art) before any search runs. Searches Google Patents, Espacenet, USPTO, and optionally Lens.org for citation-graph signals. Output is an editable Word document (.docx) with verdict, ranked closest art (claim-text extracted), CPC-class-aware landscape, family-resolved hits, geographic coverage, FTO flags where applicable, strategy recommendations, and full audit log. Use when the user asks for patent searching or analysis (e.g., 'prior art search for [invention]', 'freedom to operate analysis for [product]'). Produces search signal, not legal advice — always recommends consulting a patent attorney before filing or licensing decisions. Trademark, copyright, and trade-secret questions are out of scope.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fpatent\u002Fskills\u002Fpatent\u002FSKILL.md",[],[],{"skillNo":124,"name":125,"nameZh":6,"description":126,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":127,"categories":128,"keywords":129,"publishedAt":19},"01M7BERCK1EAKTWW7R436WAR0J","notebooklm","Browser automation skill for controlling Google's NotebookLM. Use when the user wants anything done in NotebookLM (e.g., 'open NotebookLM', 'check my [name] notebook', 'ask my notebook about X', 'add [source] to NotebookLM', 'generate a Video Overview from my notebook', 'use NotebookLM Studio'). Handles reading and querying notebooks, adding sources (URLs, text, files, YouTube links, synthesized content), generating Studio outputs (Audio\u002FVideo Overviews, Mind Maps, Reports incl. Briefing Doc\u002FStudy Guide\u002FFAQ, Flashcards, Quiz, slide decks, infographics — discover the exact set from the live Studio panel; the UI evolves fast), and creating new notebooks. Requires browser automation environment — fails gracefully when unavailable.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fnotebooklm\u002Fskills\u002Fnotebooklm\u002FSKILL.md",[],[],{"skillNo":131,"name":132,"nameZh":6,"description":133,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":134,"categories":135,"keywords":136,"publishedAt":19},"01M7BEQZAZAQRTXFJRY7RHV3TY","litreview","Academic literature orientation skill that searches papers via free keyless APIs (PubMed E-utilities + OpenAlex) by default — with the Consensus MCP as an optional enhancement lane when connected — builds a strategic search plan using PICO (default) or SPIDER \u002F Decomposition \u002F hybrid as fallbacks, and synthesizes findings into a formatted Word (.docx) research guide. Grill-me intake (research question specificity + framework hint + tentative depth) before the recon search; a second forcing checkpoint after Phase 2 confirms framework + sub-areas + depth before searches consume budget. Configurable depth (5\u002F10\u002F20 queries) controls coverage vs. speed. Output is a 'launching pad' — an orientation guide that lets a researcher dive in confidently, not a finished review. Use when the user starts literature-oriented research (e.g., 'litreview on [topic]', 'literature review on [topic]', 'I'm starting a literature review on X', 'I'm writing a paper on X', 'help me research X', 'I'm doing research on X', 'can you help me research X'). Do NOT use for single one-off paper searches wanting a quick list — that's a plain PubMed\u002FOpenAlex (or Consensus) query.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Flitreview\u002Fskills\u002Flitreview\u002FSKILL.md",[],[],{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":105,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":19},"01M7BEQKJ45K31QK5VRAQSVJCJ","grants","NIH grant research skill for clinical researchers. Grill-me intake (research idea + career stage + preliminary data + environment + submission posture + known institute targets) locks down the funding strategy before any search runs. Runs a 5-facet Consensus positioning analysis (with draft Significance\u002FInnovation language), maps the research to the right NIH institutes and study sections via RePORTER, finds NOSIs and funded overlap, and produces an editable Word document (.docx) with budget\u002Fscope-aware mechanism recommendations, submission timelines, and a mandatory program officer recommendation. Use when the user asks about research funding or makes any grant-related request (e.g., 'grants for [topic]', 'find grants for my research idea', 'what grants match my research', 'help me find NIH funding', 'grant opportunities for my research'). NIH-only scope — non-NIH funders (PCORI, DOD CDMRP, VA, foundations) are out of scope and flagged at intake.","https:\u002F\u002Fgithub.com\u002Fvikasvardhanv\u002Fjerry_skills\u002Fblob\u002Fmain\u002Fskills\u002Fresearch\u002Fgrants\u002Fskills\u002Fgrants\u002FSKILL.md",[],[]]