Two-way MISP integration: query events/attributes/objects, create events, add attributes, tag, and import/export STIX 2 bundles. Reads $MISP_URL and $MISP_API_KEY.
Ships in cti-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Two-way bridge to a MISP threat-intelligence platform. Unlike the other lookup-* skills, this one also writes — it can create events, add attributes, tag events, and import STIX 2 bundles. Treat write commands as deliberate actions; don't use them in autonomous enrichment loops.
Read:
Write:
/stix-bundle should be pushed into MISP as event(s)Do NOT invoke for:
Single Python CLI (stdlib only — no install).
# Search published events containing a value, optionally filtered by tag/date/published
python3 tools/clis/misp.py search-events --value 1.2.3.4 --tag tlp:white --limit 20
python3 tools/clis/misp.py search-events --tag misp-galaxy:threat-actor=\"APT28\" --from 2026-01-01
# Search attributes (the most common indicator lookup)
python3 tools/clis/misp.py search-attributes --type ip-dst --value 1.2.3.4
python3 tools/clis/misp.py search-attributes --type sha256 --value <hash> --limit 5
# Inspect a single event (full attribute + object detail)
python3 tools/clis/misp.py get-event 12345
# Search objects within an event
python3 tools/clis/misp.py search-objects --event-id 12345 --name file
# Resolve tag names → ids (needed before applying tags)
python3 tools/clis/misp.py list-tags --search tlp
# Export a search result as a STIX 2 bundle (cross-platform sharing)
python3 tools/clis/misp.py search-events --tag malware-family:lockbit --returnFormat stix2 > out.json
# Add one attribute to an existing event
python3 tools/clis/misp.py add-attribute 12345 \
--type ip-dst --value 185.220.101.45 \
--category 'Network activity' \
--comment 'C2 observed 2026-04-25' \
--to-ids true \
--distribution 1 \
--tags 'tlp:amber,kill-chain:command-and-control'
# Create a new event (skeleton — add attributes/objects after)
python3 tools/clis/misp.py create-event \
--info 'APT28 C2 cluster — April 2026' \
--threat-level 2 --analysis 1 \
--distribution 1 \
--tags 'tlp:amber,misp-galaxy:threat-actor="APT28"'
# Upload a STIX 2 bundle as one or more events (the canonical bulk-import path)
python3 tools/clis/misp.py upload-stix data/stix-bundles/2026-04-26-apt28-c2.json \
--publish --galaxies-as-tags --force-contextual-data
# Tag an existing event (resolves tag name → id automatically)
python3 tools/clis/misp.py tag-event 12345 'tlp:amber'
# Publish an event (makes it visible to other orgs at the chosen distribution)
python3 tools/clis/misp.py publish-event 12345
All commands accept --dry-run (preview the HTTP call without sending) and --insecure (skip TLS verification, common on internal MISP deployments).
The CLI exits 2 if MISP_URL or MISP_API_KEY is unset (when not in dry-run). Report missing credentials; do not fabricate.
--distribution N on add-attribute and create-event:
| N | Meaning | Use when |
|---|---|---|
| 0 | Your org only | Drafting, unverified, sensitive sources |
| 1 | This community | Published intel for your MISP server's users |
| 2 | Connected communities | Trusted federated sharing |
| 3 | All communities | Open community sharing |
| 4 | Sharing group | Named-partner sharing (needs sharing-group id) |
| 5 | Inherit event | Attributes that should track their parent event |
Default to 0 while drafting. Bump to 1+ only after review and TLP alignment.
This is the killer feature. The pack already writes STIX 2.1 bundles via /stix-bundle; upload-stix pushes them into MISP intact:
/ip-investigation)/stix-bundle)/apply-tlp, /score-source)python3 tools/clis/misp.py upload-stix <bundle.json> --galaxies-as-tagsFor exporting MISP → STIX, set --returnFormat stix2 on search-events.
Gotcha: MISP's STIX 2 importer rejects inline TLP marking-definition objects (the STIX 2.0 definition_type: "tlp" shape that /stix-bundle produces). Either drop the marking-definition from the bundle and apply TLP via tag-event after import, or trim the bundle to references only. See tools/integrations/misp.md for details.
Read commands return:
source: misp
operation: search-events | search-attributes | get-event | ...
query_time: <ISO8601>
filters: <echoed filters>
count: <n>
events|attributes|objects: [<distilled summaries>]
raw: <full response on get-event for completeness>
Write commands return:
source: misp
operation: add-attribute | create-event | upload-stix | ...
query_time: <ISO8601>
event_id|event|attribute: <created/updated object summary>
result|raw: <MISP response envelope>
Default rating for downstream /score-source: B2 (usually reliable, probably true). MISP is a sharing platform — the underlying org's reliability matters more than MISP itself. Adjust based on the event's Org/Orgc:
Read the event tags too: admiralty-scale:source-reliability="b" and admiralty-scale:information-credibility="2" are common. They are the Admiralty rating of the party that set them. Show them as such.
Evidence grades are a different instrument. Admiralty ratings apply to lookup results and single items; the evidence grade from /quality-of-information-check applies to claims from documents; neither is converted into the other. When pushing graded claims, do not tag them with the admiralty-scale taxonomy. Use the plain tags cti-skills:access-level="direct" and cti-skills:claim-support="firm" per attribute, as set out in /ioc-export. When reading, a MISP confidence value becomes claim support by the import table in /ioc-export, with access level indirect and the flag derived_from_confidence.
0) and review before publishing.--publish on upload-stix is convenient but bypasses the human review step. Skip it for intel you haven't manually validated./stix-bundle — write STIX 2.1 bundles that this CLI's upload-stix consumes/lookup-virustotal, /lookup-otx — community reputation lookups; chain before pushing to MISP/score-source — apply Admiralty rating before publishing/apply-tlp — set TLP markings before publishing/intelligence-sharing — broader sharing-model context (TAXII, ISACs, MISP communities)/lookup-opencti — the knowledge-base sibling; MISP = community exchange, OpenCTI = internal knowledge graph/ip-investigation, /domain-investigation, /hash-investigation, /url-investigation — produce findings that MISP write commands consumetools/integrations/misp.mdtools/clis/misp.pyWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
78 skills in this plugin
/abuseipdb-apiAbuseIPDB API reference. IP reputation and abuse report lookups./achAnalysis of Competing Hypotheses — structured technique for evaluating multiple explanations against evidence. Use when facing ambiguous attribution or multiple plausible scenarios. Prefers graded evidence items from /quality-of-information-check and runs that skill first when handed raw URLs or text. Runs on ungraded evidence when asked, labelled as such, unweighted, and capped at Moderate confidence./campaign-trackingUse when documenting a named campaign across time and victims, the user asks to start or update a campaign record, or another skill identified a multi-incident cluster that warrants formal tracking. Provides the template (timeline, attribution, victimology, attack chain, Diamond Model mapping, IOC clusters) and the lifecycle from active to historical./cti-skills:lookup-mispfrom cti-skills
npx claudepluginhub liberty91ltd/cti-skills --plugin cti-skillsOther plugins' skills for the same job