DEMO ONLY — fixture package for Semgrep's python-aws-cred-read rule. Does NOT exfiltrate anything.
Project description
semgrep-malware-demo-aws-cred-read
⚠️ DEMO PACKAGE — DO NOT USE IN PRODUCTION ⚠️
This package is a fixture for the Semgrep rule
python-aws-cred-read.
What it does
Nothing harmful. The package contains a function whose body looks like AWS credential theft so that Semgrep's static rule fires when the published artifact is scanned. The function is never called — not at install time, not at import time, not at any time. Importing this package is a no-op.
What it does not do
- Does not read your
~/.aws/credentials. - Does not make any network requests.
- Does not run any code at install time (no
setup.py, no entry-points). - Does not persist anything to disk.
Why does this exist
So we can demonstrate end-to-end detection of an AWS-credential-reading malware package on PyPI without actually publishing malware.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file semgrep_malware_demo_aws_cred_read-0.0.1.tar.gz.
File metadata
- Download URL: semgrep_malware_demo_aws_cred_read-0.0.1.tar.gz
- Upload date:
- Size: 1.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3935831dec339db0fab7417e7555f2de54afac2666e8e45df5a2ebfd1561332e
|
|
| MD5 |
206e6e00973c6b2114745bf813638f99
|
|
| BLAKE2b-256 |
bfab5d79dc274cee268dfce4922280500df091823c0ef9317586d8cdd8e2c8e3
|
File details
Details for the file semgrep_malware_demo_aws_cred_read-0.0.1-py3-none-any.whl.
File metadata
- Download URL: semgrep_malware_demo_aws_cred_read-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2a8333fd6874de30fee0f5edda20aacd60fb31d78c2854ca8283c5a1b39206c
|
|
| MD5 |
80edacdca4236e94ee0d78cb67a8f62a
|
|
| BLAKE2b-256 |
3fac1beae8bdb8771d7f464b05610555475f39bc132b14ac7556a1c4748a207d
|