{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/18"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/11"}],"enrichment":{"capability":"cwe2 provides programmatic access to the Common Weakness Enumeration (CWE) database, allowing you to look up vulnerability weakness categories by ID and retrieve their detailed attributes.","skillfed_tags":["vulnerability-reference","security-metadata"],"use_cases":["Resolve CWE IDs in vulnerability reports to fetch full weakness descriptions and mitigation guidance.","Build security dashboards or scanners that need to display MITRE CWE metadata alongside CVE findings.","Analyze code or dependencies and map detected weakness categories to their MITRE definitions for compliance reporting.","Query curated CWE lists like top 25 or OWASP top ten 2021 for security training or policy enforcement.","Enrich vulnerability data pipelines with standardized CWE weakness context and related attack patterns."],"what_it_does":"cwe2 is a Python wrapper around the Common Weakness Enumeration (CWE) database maintained by MITRE. It bundles a vendored copy of the CWE data and exposes it through a simple query interface, letting you fetch weakness records by ID and access their structured attributes\u2014name, description, related weaknesses, mitigation strategies, and more. The package is useful for security tools, vulnerability scanners, and code analysis systems that need to resolve CWE IDs to human-readable weakness information.\n\nThe library requires Python 3.7 or later and has minimal dependencies. It provides convenience methods to retrieve curated subsets like the top 25 CWEs, OWASP top ten 2021 weaknesses, and those used by the National Vulnerability Database (NVD). Maintenance is dormant but the package is stable and carries no known security vulnerabilities.","worth_installing":"Yes, if you need to programmatically look up CWE weakness data in a Python application. The package is stable, has no known vulnerabilities, and low install friction. The main caveat is dormant maintenance\u2014the vendored CWE data may lag behind MITRE's official updates, so verify the data freshness suits your use case before relying on it for critical security decisions."},"id":"cwe2","links":{"html":"https://skillfed.io/packages/cwe2","md":"https://skillfed.io/packages/cwe2.md","pypi":"https://pypi.org/project/cwe2/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-07-24","license_spdx":null,"license_treatment":"permissive","name":"cwe2","python_support":"supports_current","summary":"cwe2 is a CWE common weakness enumeration library for Python"},"popularity":{"monthly_downloads":78876,"position":14400,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.0.0"}
