Skip to main content

secid

Resolve security identifiers to URLs using the SecID API.

SecID is a universal grammar for security knowledge — CVEs, CWEs, ATT&CK techniques, NIST controls, and more — maintained by the Cloud Security Alliance.

Zero dependencies. Python 3.9+ stdlib only.

Install

pip install csa-secid

CLI

# Resolve a CVE to its URL
secid "secid:advisory/mitre.org/cve#CVE-2021-44228"

# JSON output
secid --json "secid:advisory/mitre.org/cve#CVE-2021-44228"

# Cross-source search (find CVE across all advisory sources)
secid "secid:advisory/CVE-2021-44228"

Library

from secid_client import SecIDClient

client = SecIDClient()

# Get the best URL for a security identifier
url = client.best_url("secid:advisory/mitre.org/cve#CVE-2021-44228")
print(url)  # https://www.cve.org/CVERecord?id=CVE-2021-44228

# Full response with status, results, and guidance
response = client.resolve("secid:advisory/mitre.org/cve#CVE-2021-44228")
print(response.status)           # "found"
print(response.best_url)         # highest-weight URL
print(response.was_corrected)    # True if input was auto-corrected
print(response.resolution_results)  # all URL results, sorted by weight
print(response.registry_results)    # browsing/discovery data

# Cross-source search
response = client.lookup("advisory", "CVE-2021-44228")

# Capability lookup (product security features)
response = client.resolve("secid:capability/amazon.com/aws/s3#default-encryption")

# Disclosure lookup (who to report vulnerabilities to)
response = client.resolve("secid:disclosure/redhat.com/cna")

# Look up a scoring methodology
response = client.resolve("secid:methodology/first.org/cvss@4.0")

SecID Format

secid:type/namespace/name[@version]#subpath
Type Identifies
advisory Vulnerability publications (CVE, GHSA, vendor advisories)
weakness Abstract flaw patterns (CWE, OWASP Top 10)
ttp Adversary techniques (ATT&CK, CAPEC)
control Security requirements (NIST CSF, ISO 27001)
capability Product security features and capabilities
methodology Formal processes for producing security analysis
disclosure Vulnerability disclosure programs and reporting channels
regulation Laws (GDPR, HIPAA)
entity Organizations, products, services
reference Documents, research (arXiv, DOI, RFC)

API

One endpoint: GET /api/v1/resolve?secid={encoded_secid}

The # character must be encoded as %23 — the client handles this automatically.

Resolution results may include optional format metadata fields: content_type, parsability, schema, parsing_instructions, and auth. These describe the data format at the resolved URL and are present only when the registry has documented them.

License

Apache 2.0

Metadata

Release files for csa-secid 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csa-secid 0.1.0
File Size Uploaded Provenance Actions
csa_secid-0.1.0.tar.gz 14.8 kB With provenance Details for csa_secid-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for csa-secid 0.1.0
File Interpreter ABI Platform Actions
csa_secid-0.1.0-py3-none-any.whl Python 3 none any Details for csa_secid-0.1.0-py3-none-any.whl

Total release size: 26.2 kB

Release files / csa_secid-0.1.0.tar.gz

Download URL csa_secid-0.1.0.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
cbc96d4e8b4dbeda0bddb3ecda5c984d26e1d0e99a794b55e888e261438e9d29
BLAKE2b-256 checksum
How to use checksums
4d94bcd83eee365f0216ad5bebd0fb4475c35c64ae5cd2d7fb120700537aae3b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Release files / csa_secid-0.1.0-py3-none-any.whl

Download URL csa_secid-0.1.0-py3-none-any.whl
Size 11.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
17f2321eb40539f144eb990166a26625df9b04bcd4fedee31caffb60fc723a2b
BLAKE2b-256 checksum
How to use checksums
a0d8064c5678a834bd7e76686e33b1a2cc89f7d6d47cbf4b21233f9388744b62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

Security for csa-secid 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for csa_secid-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page