Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

semgrep_malware_demo_aws_cred_read-0.0.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file semgrep_malware_demo_aws_cred_read-0.0.1.tar.gz.

File metadata

File hashes

Hashes for semgrep_malware_demo_aws_cred_read-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3935831dec339db0fab7417e7555f2de54afac2666e8e45df5a2ebfd1561332e
MD5 206e6e00973c6b2114745bf813638f99
BLAKE2b-256 bfab5d79dc274cee268dfce4922280500df091823c0ef9317586d8cdd8e2c8e3

See more details on using hashes here.

File details

Details for the file semgrep_malware_demo_aws_cred_read-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for semgrep_malware_demo_aws_cred_read-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d2a8333fd6874de30fee0f5edda20aacd60fb31d78c2854ca8283c5a1b39206c
MD5 80edacdca4236e94ee0d78cb67a8f62a
BLAKE2b-256 3fac1beae8bdb8771d7f464b05610555475f39bc132b14ac7556a1c4748a207d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page