Malicious code in schemavault (PyPI)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4ae0aa9efa2a8389cfe9d5c41d5ab3689f4965c945a24613493f94f9de033ab1) schemavault 4.1.0 is presented as a schema-validation library but ships capabilities and data that have no relationship to schema validation. schemavault/_registry.py defines three underscore-prefixed byte arrays: `_ep` (36 bytes), `_p` (7 bytes), and `_k` (16 hex constants shaped like a symmetric key). None of these names are read anywhere in the schemavault package. schemavault/imaging.py exports `extract_metadata()`, an LSB steganography decoder that reads a length-prefixed hidden string from the shipped asset `schemavault/assets/logo.bmp` (first 16 bits = length, then length*8 bits of pixel-LSB characters); this function is likewise not invoked from anywhere in schemavault. setup.py declares `install_requires=['bytekit']` — an unpinned, generically named dependency unrelated to schema validation. The pattern is a two-package split: the primary package holds encoded payload material and a decoder utility, and the unpinned generically-named dependency is positioned to be the loader that actually decodes and executes the staged content on install or import. Because pip resolves `bytekit` without a version pin from whichever registry is configured, `pip install schemavault` pulls attacker-controlled code into the installer's environment. The dormant carrier data + LSB decoder + unrelated unpinned loader dep together match the staged-dropper shape rather than any legitimate schema-library composition. ## Source: kam193 (2af83487d12e2c9e16e3a5fae1ac369bacd5d39622a04c537edd0dbdda4a143a) The campaign consists of multiple packages. The trigger sits in the package 'procwire,' which depends on two others. During installation, procwire uses schemavault and bytekit packages. The first one holds the URL holding malware (in two places, once as steganography in the bundled image and once as a fallback just as a list of encoded bytes). The bytekit implements simple custom decoding used to retrieve back the URL in the fallback method. Additionally, procwire is also a dependency of confighub, turning another package into malware. The downloaded executable is run and quickly removed. The executable likely contains an infostealer and contacts the domain 030502[.]xyz --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-07-procwire Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - Downloads and executes a remote executable. - obfuscation - The malicious code is intentionally included in a dependency of the package - malware - steganography
AI Analysis
Technical Summary
The malicious campaign identified as 2026-07-procwire involves the schemavault package (versions 4.1.0 and 4.1.1) on PyPI, which is used as a dependency by procwire. Procwire overrides the installation process to execute malicious code that downloads and runs a remote executable containing an infostealer. The malware URL is hidden using steganography within an image and encoded bytes decoded by the bytekit package. The executable contacts the domain 030502[.]xyz and removes itself after execution. This campaign uses obfuscation and dependency chaining to spread malware through PyPI packages.
Potential Impact
Installation of schemavault versions 4.1.0 or 4.1.1 as a dependency of procwire or confighub leads to execution of malicious code that downloads and runs a remote infostealer executable. This compromises the affected system by potentially stealing sensitive information and executing unauthorized code. The malware uses obfuscation and steganography to evade detection and removes the executable after running, complicating forensic analysis.
Mitigation Recommendations
No official patch or remediation is currently documented for schemavault versions 4.1.0 and 4.1.1. Users should avoid installing or using these versions and any packages depending on procwire or confighub until the packages are cleaned or removed from PyPI. Verify package integrity and source before installation. Monitor PyPI advisories for updates or removal of malicious packages. Since this is not a cloud service, remediation depends on user action to avoid or remove the malicious packages.
Malicious code in schemavault (PyPI)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (4ae0aa9efa2a8389cfe9d5c41d5ab3689f4965c945a24613493f94f9de033ab1) schemavault 4.1.0 is presented as a schema-validation library but ships capabilities and data that have no relationship to schema validation. schemavault/_registry.py defines three underscore-prefixed byte arrays: `_ep` (36 bytes), `_p` (7 bytes), and `_k` (16 hex constants shaped like a symmetric key). None of these names are read anywhere in the schemavault package. schemavault/imaging.py exports `extract_metadata()`, an LSB steganography decoder that reads a length-prefixed hidden string from the shipped asset `schemavault/assets/logo.bmp` (first 16 bits = length, then length*8 bits of pixel-LSB characters); this function is likewise not invoked from anywhere in schemavault. setup.py declares `install_requires=['bytekit']` — an unpinned, generically named dependency unrelated to schema validation. The pattern is a two-package split: the primary package holds encoded payload material and a decoder utility, and the unpinned generically-named dependency is positioned to be the loader that actually decodes and executes the staged content on install or import. Because pip resolves `bytekit` without a version pin from whichever registry is configured, `pip install schemavault` pulls attacker-controlled code into the installer's environment. The dormant carrier data + LSB decoder + unrelated unpinned loader dep together match the staged-dropper shape rather than any legitimate schema-library composition. ## Source: kam193 (2af83487d12e2c9e16e3a5fae1ac369bacd5d39622a04c537edd0dbdda4a143a) The campaign consists of multiple packages. The trigger sits in the package 'procwire,' which depends on two others. During installation, procwire uses schemavault and bytekit packages. The first one holds the URL holding malware (in two places, once as steganography in the bundled image and once as a fallback just as a list of encoded bytes). The bytekit implements simple custom decoding used to retrieve back the URL in the fallback method. Additionally, procwire is also a dependency of confighub, turning another package into malware. The downloaded executable is run and quickly removed. The executable likely contains an infostealer and contacts the domain 030502[.]xyz --- Category: MALICIOUS - The campaign has clearly malicious intent, like infostealers. Campaign: 2026-07-procwire Reasons (based on the campaign): - The package overrides the install command in setup.py to execute malicious code during installation. - Downloads and executes a remote executable. - obfuscation - The malicious code is intentionally included in a dependency of the package - malware - steganography
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 malicious campaign identified as 2026-07-procwire involves the schemavault package (versions 4.1.0 and 4.1.1) on PyPI, which is used as a dependency by procwire. Procwire overrides the installation process to execute malicious code that downloads and runs a remote executable containing an infostealer. The malware URL is hidden using steganography within an image and encoded bytes decoded by the bytekit package. The executable contacts the domain 030502[.]xyz and removes itself after execution. This campaign uses obfuscation and dependency chaining to spread malware through PyPI packages.
Potential Impact
Installation of schemavault versions 4.1.0 or 4.1.1 as a dependency of procwire or confighub leads to execution of malicious code that downloads and runs a remote infostealer executable. This compromises the affected system by potentially stealing sensitive information and executing unauthorized code. The malware uses obfuscation and steganography to evade detection and removes the executable after running, complicating forensic analysis.
Mitigation Recommendations
No official patch or remediation is currently documented for schemavault versions 4.1.0 and 4.1.1. Users should avoid installing or using these versions and any packages depending on procwire or confighub until the packages are cleaned or removed from PyPI. Verify package integrity and source before installation. Monitor PyPI advisories for updates or removal of malicious packages. Since this is not a cloud service, remediation depends on user action to avoid or remove the malicious packages.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6753
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["PyPI"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a498a8127e9c7971936fdca
Added to database: 07/04/2026, 22:34:41 UTC
Last enriched: 07/04/2026, 22:40:09 UTC
Last updated: 07/29/2026, 23:50:00 UTC
Views: 79
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.
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.