{"id":"MAL-2022-7426","summary":"Malicious code in pymocks (PyPI)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: ghsa-malware (c7a97355d8b3b2dabe0e20f66045fa970717443f6f81e532c13d2e8bc1568dc8)\nSecurity researchers at Check Point Research discovered a malicious package called `pymocks`. PyPI has since removed `pymocks`.\n","aliases":["GHSA-8rgr-xgx4-q7jq"],"modified":"2023-11-08T04:17:30.820360Z","published":"2022-08-30T19:37:30Z","database_specific":{"malicious-packages-origins":[{"sha256":"c7a97355d8b3b2dabe0e20f66045fa970717443f6f81e532c13d2e8bc1568dc8","source":"ghsa-malware","id":"GHSA-8rgr-xgx4-q7jq","import_time":"2023-07-30T21:58:02.17209864Z","modified_time":"2022-08-30T19:37:31Z","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]}]},"references":[{"type":"WEB","url":"https://pypi.org/project/pymocks/"},{"type":"WEB","url":"https://research.checkpoint.com/2022/cloudguard-spectral-detects-several-malicious-packages-on-pypi-the-official-software-repository-for-python-developers/"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-8rgr-xgx4-q7jq"}],"affected":[{"package":{"name":"pymocks","ecosystem":"PyPI","purl":"pkg:pypi/pymocks"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/pypi/pymocks/MAL-2022-7426.json"}}],"schema_version":"1.7.3"}