MAL-2026-4273

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/git-config-sync/MAL-2026-4273.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4273
Published
2026-05-24T01:45:48Z
Modified
2026-05-26T06:03:10.525496699Z
Summary
Malicious code in git-config-sync (PyPI)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (8e49db03099f1d6053a9ebada346c3816399bc47918c92d765162128a095c401)

On import gitconfig_sync, the package's _core.py spawns a daemon thread (after a 3-15 second random delay) that walks ~/.ssh, ~/.aws, ~/.ethereum, ~/.config, ~/.docker, ~/.kube, and the current working directory, regex-matching private keys, BIP39 mnemonics, OpenAI sk- keys, GitHub ghp_ tokens, AWS AKIA keys, and passwords. Harvested findings (up to 200) are bundled with the host's hostname, platform, and CWD into a JSON payload and POSTed to webhook endpoints fetched dynamically from https://ddjidd564.github.io/defi-security-best-practices/config.json with TLS verification explicitly disabled (ctx.check_hostname = False; ctx.verify_mode = ssl.CERT_NONE). The remote config-driven webhook list lets the operator rotate exfil destinations without republishing. The package presents a benign cover (sync.py/cli.py claiming git-config-sync functionality, generic 'DevOps Tools' author metadata, README that never mentions _scan_and_report) to mask the harvester. The defi-security-best-practices path on the C2 domain plus the .ethereum scan and BIP39 mnemonic regex indicate crypto-wallet targeting.

Source: kam193 (f1b5dafc5b04761cd45c3c22cb68a171eaf1cf6431189c8fecb1249c3443e042)

During import, the package runs the code to exfiltrates credentials, private keys and other sensitive data.


Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers.

Campaign: 2026-05-eth-security-auditor

Reasons (based on the campaign):

  • files-exfiltration

  • exfiltration-env-variables

  • crypto-related

  • Downloads and executes a remote malicious script.

  • exfiltration-crypto

  • exfiltration-credentials

Database specific
{
    "iocs": {
        "urls": [
            "https://ddjidd564.github.io/defi-security-best-practices/payloads/compliance-scanner-light.js",
            "https://ddjidd564.github.io/defi-security-best-practices/payloads/risk-profiler.js",
            "https://ddjidd564.github.io/defi-security-best-practices/config.json"
        ],
        "domains": [
            "ddjidd564.github.io"
        ]
    },
    "malicious-packages-origins": [
        {
            "source": "kam193",
            "versions": [
                "0.1.0",
                "0.1.1"
            ],
            "sha256": "f1b5dafc5b04761cd45c3c22cb68a171eaf1cf6431189c8fecb1249c3443e042",
            "modified_time": "2026-05-24T05:33:38.11056Z",
            "id": "pypi/2026-05-eth-security-auditor/git-config-sync",
            "import_time": "2026-05-24T06:19:57.541247445Z"
        },
        {
            "sha256": "5d71ccb34f946bbc8f9f6a517eefc23e987ad2a9c2bfe335f58d6b0047d31685",
            "import_time": "2026-05-26T05:52:34.429664085Z",
            "id": "IN-MAL-2026-004424",
            "modified_time": "2026-05-24T01:45:48Z",
            "versions": [
                "0.1.0"
            ],
            "source": "amazon-inspector"
        },
        {
            "source": "amazon-inspector",
            "import_time": "2026-05-26T05:52:34.923800582Z",
            "sha256": "8e49db03099f1d6053a9ebada346c3816399bc47918c92d765162128a095c401",
            "modified_time": "2026-05-24T01:45:57Z",
            "id": "IN-MAL-2026-004428",
            "versions": [
                "0.1.1"
            ]
        }
    ]
}
References
Credits

Affected packages

PyPI / git-config-sync

Package

Affected ranges

Affected versions

0.*
0.1.0
0.1.1

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "git_config_sync-0.1.0-py3-none-any.whl",
            "hashes": {
                "md5": "828c94edafd1813c9e973c1b65cac5d4",
                "sha256": "d0a7f92f4648221e5dba043898ca58d9d3c38ca5b5a080a9d00ddec459d16ea1",
                "blake2b_256": "0b32748f6f0c66c4ad4ed81e485a2fa795898d99001b2244f3d90d6e8f985eea"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "33a37a3886282e291e31865f1e503fcf5892c418431ddc8c9be497493ee87a1b",
            "tlsh": "b56186e2193a4b51d257dd5f898291a4331abd2b5c03ac74f86d9a34afdc61512f01ac",
            "path": "gitconfig_sync/_core.py"
        },
        {
            "sha256": "c6aeace551e8f390301fde3c46c98d44d4a2e57f3662910e2e9bb8529989362d",
            "tlsh": "5cc08c2b26aa6e63027a6dd3d009a094af390b822f0c2009897e3224c2a84835e86c00",
            "path": "gitconfig_sync/__init__.py"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/git-config-sync/MAL-2026-4273.json"
cwes
[
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506",
        "description": "The product contains code that appears to be malicious in nature."
    }
]