new: [expansion] Lamis Network IP intelligence & risk scoring module - #905
Merged
adulau merged 1 commit intoSep 23, 2026
Merged
Conversation
Member
|
Thank you very much for the contribution. |
Contributor
Author
|
Thanks for reviewing and merging it! I' ll keep an eye on any issues that come up and help maintain the module |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces an expansion module for Lamis Network, an EU-hosted IP intelligence and risk scoring service, as proposed in #904.
Module Features
ip-src,ip-dst(both IPv4 and IPv6).asn): Autonomous System Number (asn) and provider name (description), connected to the input observable viaincludesObjectReference.geolocation): Country code (countrycode), country name (country), and city (city), connected vialocatesObjectReference.network:tor="exit-node"if observable is an active Tor exit node.network:vpn="active"if observable is a known VPN endpoint.ioc:artifact-state="suspicious"if the contextual fraud score meets or exceedsrisk_threshold(default: 75/100).Configuration Parameters
api_key(required): Lamis Network API token.risk_threshold(optional, default:75): Threshold (0–100) to applyioc:artifact-state="suspicious".timeout(optional, default:10): HTTP connection timeout in seconds.Data Privacy & Community Tier
Testing & Quality
tests/test_lamis_network.py(20 tests, 100% offline mocks withunittest.mock).OverflowErroron1e309), boolean guards, IPv6, non-dict API payloads, HTTP 401/429/500, timeouts, invalid JSON, and serialized PyMISP tag bindings.pytestand formatted to repository standards withruff.Closes #904.