cognis-digital/corpmap

GitHub: cognis-digital/corpmap

一款可自托管的企业结构与受益所有权映射工具,用于解析股权穿透、识别受益所有人并检测循环持股,支持 CI 集成与 AI agent 驱动。

Stars: 0 | Forks: 0

CORPMAP # CORPMAP ### 企业结构与受益所有权映射工具 [![PyPI](https://img.shields.io/pypi/v/cognis-corpmap.svg?color=6b46c1)](https://pypi.org/project/cognis-corpmap/) [![CI](https://static.pigsec.cn/wp-content/uploads/repos/2026/06/9aa5198a9c182443.svg)](https://github.com/cognis-digital/corpmap/actions) [![License: COCL 1.0](https://img.shields.io/badge/License-COCL%201.0-2b6cb0.svg)](LICENSE) [![Suite](https://img.shields.io/badge/Cognis-Neural%20Suite-6b46c1.svg)](https://github.com/cognis-digital) *OSINT / SIGINT — 开源情报收集与关联。*
``` pip install cognis-corpmap corpmap scan . # → prioritized findings in seconds ``` ## 使用说明 — 分步指南 1. 安装 CLI (Python 3.9+): pip install corpmap # 或者:pip install . 从检出代码安装 2. 解析受益所有人 — `owners` 子命令会遍历所有权数据集 (JSON) 并计算穿透中间层的有效所有权: corpmap owners ownership.json ACME_HOLDINGS --min-pct 25 --persons-only 3. 检查单个实体的直接所有者,或检测循环交叉持股: corpmap entity ownership.json ACME_HOLDINGS corpmap cycles ownership.json 4. 使用全局 `--format json` 标志以编程方式读取结果(它位于子命令之前): corpmap --format json owners ownership.json ACME_HOLDINGS --min-pct 25 | jq '.beneficial_owners[] | {name, effective_pct}' 5. 将其应用于尽职调查自动化 — 通过在 CI 中检查交叉持股循环来标记不透明的结构: corpmap --format json cycles ownership.json | jq -e '.cycle_count == 0' ## 目录 - [为什么选择 corpmap?](#why) · [功能](#features) · [快速开始](#quick-start) · [示例](#example) · [架构](#architecture) · [AI 技术栈](#ai-stack) · [对比分析](#how-it-compares) · [集成](#integrations) · [随处安装](#install-anywhere) · [相关项目](#related) · [贡献](#contributing) ## 为什么选择 corpmap? 企业结构与受益所有权映射工具 — 无需搭建重型基础设施。 `corpmap` 是单一用途、可脚本化且可自托管的:将其指向目标,以您的工作流已有的格式(表格 · JSON · SARIF)获取优先级排序的结果,将其作为 CI 的把关条件,并让 AI agent 通过 MCP 驱动它。
↑ 返回顶部
## 功能 - ✅ 解析数据集 - ✅ 加载数据集 - ✅ 支持 Linux/macOS/Windows · Docker · devcontainer 运行 - ✅ 提供 Python、JavaScript、Go 和 Rust 移植版本 (`ports/`)
↑ 返回顶部
## 快速开始 ``` pip install cognis-corpmap corpmap --version corpmap scan . # scan current project corpmap scan . --format json # machine-readable corpmap scan . --fail-on high # CI gate (non-zero exit) ```
↑ 返回顶部
## 示例 ``` $ corpmap scan . [HIGH ] COR-001 example finding (./src/app.py) [MEDIUM ] COR-002 another signal (./config.yaml) 2 findings · risk score 5 · 38ms ```
↑ 返回顶部
## 架构 ``` flowchart LR IN[input] --> P[corpmap
analyze + score] P --> OUT[report] ```
↑ 返回顶部
## 从任何 AI 技术栈中使用 `corpmap` 能够与所有流行的 AI 使用方式实现互操作: - **MCP server** — `corpmap mcp` (Claude Desktop, Cursor, Cognis.Studio, [uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet)) - **兼容 OpenAI / JSON** — 将 `corpmap scan . --format json` 的输出通过管道传递给任何 agent 或 LLM - **LangChain · CrewAI · AutoGen · LlamaIndex** — 只需一行代码即可将 CLI/JSON 封装为工具 - **CI / 脚本** — 为非 AI pipeline 提供 exit code + SARIF
↑ 返回顶部
## 对比分析 | | **Cognis corpmap** | 典型工具 | |---|:---:|:---:| | 可自托管,无需账号 | ✅ | 视情况而定 | | 单一命令,零配置 | ✅ | ⚠️ | | 用于 CI 的 JSON + SARIF | ✅ | 视情况而定 | | 原生 MCP (AI agent) | ✅ | ❌ | | 多语言移植 (JS/Go/Rust) | ✅ | ❌ | | 开放许可 | ✅ COCL | 视情况而定 |
↑ 返回顶部
## 集成 可接入您的技术栈:用于代码扫描的 **SARIF**,用于一切的 **JSON**,用于 AI agent 的 **MCP server** (`corpmap mcp`),以及用于 SIEM/Slack/Jira 的 webhook 转发器。详见 [`docs/INTEGRATIONS.md`](docs/INTEGRATIONS.md)。
↑ 返回顶部
## 安装 — 全平台、全方式 ``` pip install "git+https://github.com/cognis-digital/corpmap.git" # pip (works today) pipx install "git+https://github.com/cognis-digital/corpmap.git" # isolated CLI uv tool install "git+https://github.com/cognis-digital/corpmap.git" # uv pip install cognis-corpmap # PyPI (when published) docker run --rm ghcr.io/cognis-digital/corpmap:latest --help # Docker brew install cognis-digital/tap/corpmap # Homebrew tap curl -fsSL https://raw.githubusercontent.com/cognis-digital/corpmap/main/install.sh | sh ``` | Linux | macOS | Windows | Docker | Cloud | |---|---|---|---|---| | `scripts/setup-linux.sh` | `scripts/setup-macos.sh` | `scripts/setup-windows.ps1` | `docker run ghcr.io/cognis-digital/corpmap` | [DEPLOY.md](docs/DEPLOY.md) (AWS/Azure/GCP/k8s) |
↑ 返回顶部
## 相关 Cognis 工具 - [`personagraph`](https://github.com/cognis-digital/personagraph) — 身份解析档案 — 跨平台的用户名/邮箱/手机号 - [`maritimeint`](https://github.com/cognis-digital/maritimeint) — AIS 船舶追踪与制裁逃避异常检测 - [`geolens`](https://github.com/cognis-digital/geolens) — 图像地理定位工具包 — EXIF、太阳阴影、OCR、反向搜索 - [`cryptotrace`](https://github.com/cognis-digital/cryptotrace) — 免费版区块链调查工具 — ETH/BTC 聚类 + 制裁交叉比对 - [`darkmirror`](https://github.com/cognis-digital/darkmirror) — 公共 Tor 泄露网站索引的表层网络镜像,用于品牌监控 **探索该套件 →** [🗂️ 全部 170+ 件工具](https://github.com/cognis-digital/cognis-neural-suite) · [⭐ awesome-cognis](https://github.com/cognis-digital/awesome-cognis) · [🔗 cognis-sources](https://github.com/cognis-digital/cognis-sources) · [🤖 uncensored-fleet](https://github.com/cognis-digital/uncensored-fleet) · [🧠 engram](https://github.com/cognis-digital/engram)
↑ 返回顶部
## 互操作性 `{}` 与 300+ 工具的 Cognis 套件组合使用 — JSON 输入/输出以及共享的 兼容 OpenAI 的 `/v1` 主干网络。请参阅 **[INTEROP.md](INTEROP.md)** 获取 套件图谱、组合模式以及参考技术栈。 ## 许可证 源码可见,基于 **Cognis Open Collaboration License (COCL) v1.0** 授权 — 个人、内部评估、研究和教育用途免费;**商业/生产用途需要获得许可** (licensing@cognis.digital)。详见 [LICENSE](LICENSE)。
Cognis Digital · Cognis Neural Suite 中 170+ 件工具之一 · Making Tomorrow Better Today
标签:ESC4, OSINT, 企业情报, 动态调用, 可视化界面, 商业尽职调查, 图数据分析, 图数据库, 实时处理, 数据可视化, 日志审计, 请求拦截, 逆向工具