This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Reason given by maintainers: Distribution paused by the project owner.
FacehuggerShield
FacehuggerShield is a standalone Python package for locking down Hugging Face and similar runtimes before they can phone home, download arbitrary code, or write outside approved paths.
Version 1.0.0 is the first standalone release extracted from
AIRunner. It includes the bundled darklock, defendatron,
nullscream, and shadowlogger modules that AIRunner previously
carried as vendored code.
Install
Install the tagged release directly from GitHub:
pip install \
"facehuggershield @ https://github.com/Capsize-Games/facehuggershield/archive/refs/tags/v1.0.0.tar.gz"
Usage
Activate FacehuggerShield before importing the libraries you want to contain:
from facehuggershield.huggingface import activate
activate(
activate_shadowlogger=True,
darklock_os_allow_network=False,
)
The default Hugging Face settings disable telemetry, prefer offline operation, and route cache data to a user-scoped FacehuggerShield cache directory.
What ships in this repo
facehuggershield.huggingface: Hugging Face-specific activation and environment controls.facehuggershield.darklock: Filesystem and network restriction helpers.facehuggershield.nullscream: No-op module replacement for blocked imports.facehuggershield.shadowlogger: Log interception and shadow logging.facehuggershield.defendatron: Coordinator that wires the subsystems together.
Extending to other libraries
To create a policy pack for another runtime, copy the
facehuggershield/huggingface package as a starting point and replace
its environment and blacklist settings with the rules your target
library needs.
Metadata
Release files for facehuggershield 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| facehuggershield-1.0.0.tar.gz | 34.7 kB | Without provenance | Details for facehuggershield-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| facehuggershield-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for facehuggershield-1.0.0-py3-none-any.whl |
Total release size: 74.4 kB
Release files / facehuggershield-1.0.0.tar.gz
| Download URL | facehuggershield-1.0.0.tar.gz |
|---|---|
| Size | 34.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
be4b4203550ae369f7c8ca4e697b9bc9fbc4ac054f87a55afb399c41af3d8248
|
|
BLAKE2b-256 checksum How to use checksums |
22de726e17c3540efc1073b3b4ea5768a16b81fbd6702769001c3ba57dc761d4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Release files / facehuggershield-1.0.0-py3-none-any.whl
| Download URL | facehuggershield-1.0.0-py3-none-any.whl |
|---|---|
| Size | 39.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e83cf71cf6ebae2a500a2325e5402a8aac672d340b694276b6d7ae0534a918dd
|
|
BLAKE2b-256 checksum How to use checksums |
646891086cdd803952fd9e3e299fabbee812e419fae1215587102bc24df474a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.25
|
Security for facehuggershield 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.