Malicious code in jsonschemavalidation (PyPI)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (eae82aa94c358f1f00f8a12e8b583cee82efdcf09d2f80263e6851ac0fec98f3) The PyPI project `jsonschemavalidation` builds a wheel whose installed top-level package is literally `jsonschema` (`[tool.hatch.build.targets.wheel] packages = ["src/jsonschema"]`). Project metadata (author name, homepage pointing at github.com/python-jsonschema/jsonschema, README, description) mirrors the legitimate upstream `jsonschema` project. Installing this distribution places files into the real `jsonschema` import namespace on the installer, so `import jsonschema` in downstream code would resolve to the code shipped by this distribution rather than the genuine one. The current 4.26.0 contents appear to be an unmodified copy of upstream and no exfiltration, install-time fetch-and-execute, credential harvesting, silent-relay, backdoor, or other installer-harm payload is present in this version. The concern is the namespace-collision channel itself: a name-confusion distribution that populates a widely-used import name is a plausible squat/hijack setup, but name-similarity and namespace collision alone are subjective signals without a payload, so human review is appropriate rather than an automatic block. ## Source: kam193 (b7a6e1ff837eac0382559815111106e3e85b3825b72f38355551d5874cc24b0e) A clone of a legitimate package with an embeded reverse shell. In the published version, the reverse shell was connecting to a private IP address suggesting the package was not yet fully weaponized. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-07-jsonschemavalidation Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - clones-real-package - obfuscation
AI Analysis
Technical Summary
The jsonschemavalidation package version 4.26.0 is identified as a malicious clone of a legitimate PyPI package. It contains embedded reverse shell code that enables remote command execution by an attacker. The reverse shell in the published version connects to a private IP address, suggesting incomplete weaponization. The package also employs obfuscation to hide its malicious functionality. This threat is categorized under a campaign with clear malicious intent, such as information stealing or remote control.
Potential Impact
If installed, this malicious package allows an attacker to gain remote command execution capabilities on the affected system via the embedded reverse shell. This can lead to full system compromise, data theft, or further malicious activities. The presence of obfuscation complicates detection and analysis.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The recommended mitigation is to avoid installing jsonschemavalidation version 4.26.0 from PyPI. Users should verify package authenticity before installation and rely on official, trusted sources. Remove any installations of this package immediately if found.
Malicious code in jsonschemavalidation (PyPI)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (eae82aa94c358f1f00f8a12e8b583cee82efdcf09d2f80263e6851ac0fec98f3) The PyPI project `jsonschemavalidation` builds a wheel whose installed top-level package is literally `jsonschema` (`[tool.hatch.build.targets.wheel] packages = ["src/jsonschema"]`). Project metadata (author name, homepage pointing at github.com/python-jsonschema/jsonschema, README, description) mirrors the legitimate upstream `jsonschema` project. Installing this distribution places files into the real `jsonschema` import namespace on the installer, so `import jsonschema` in downstream code would resolve to the code shipped by this distribution rather than the genuine one. The current 4.26.0 contents appear to be an unmodified copy of upstream and no exfiltration, install-time fetch-and-execute, credential harvesting, silent-relay, backdoor, or other installer-harm payload is present in this version. The concern is the namespace-collision channel itself: a name-confusion distribution that populates a widely-used import name is a plausible squat/hijack setup, but name-similarity and namespace collision alone are subjective signals without a payload, so human review is appropriate rather than an automatic block. ## Source: kam193 (b7a6e1ff837eac0382559815111106e3e85b3825b72f38355551d5874cc24b0e) A clone of a legitimate package with an embeded reverse shell. In the published version, the reverse shell was connecting to a private IP address suggesting the package was not yet fully weaponized. --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-07-jsonschemavalidation Reasons (based on the campaign): - The package contains code to create a reverse shell, allowing an attacker to execute any commands on the victim's machine. - clones-real-package - obfuscation
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The jsonschemavalidation package version 4.26.0 is identified as a malicious clone of a legitimate PyPI package. It contains embedded reverse shell code that enables remote command execution by an attacker. The reverse shell in the published version connects to a private IP address, suggesting incomplete weaponization. The package also employs obfuscation to hide its malicious functionality. This threat is categorized under a campaign with clear malicious intent, such as information stealing or remote control.
Potential Impact
If installed, this malicious package allows an attacker to gain remote command execution capabilities on the affected system via the embedded reverse shell. This can lead to full system compromise, data theft, or further malicious activities. The presence of obfuscation complicates detection and analysis.
Mitigation Recommendations
No official patch or remediation is available for this malicious package. The recommended mitigation is to avoid installing jsonschemavalidation version 4.26.0 from PyPI. Users should verify package authenticity before installation and rely on official, trusted sources. Remove any installations of this package immediately if found.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6945
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a4e4f16c9d9e3dbe328e799
Added to database: 07/08/2026, 13:22:30 UTC
Last enriched: 07/08/2026, 13:54:45 UTC
Last updated: 07/31/2026, 15:25:50 UTC
Views: 123
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.