Skip to main content

About this package

This package is a total dummy package. Don’t use it in any real apps. It exists for the purpose of demonstrating what a vulnerable/malicious dependency could be like.

During the web security tutorial, pretend this is a real package and you actually need it for the web app in question.

Purpose of this package

Asheesh’s Django Optimizer lets you see your “hashed password”, which is private information that only you should be able to see.

Luckily, this package is secure – it only shows it if you’re logged in as the user you’re looking up.

To see your hashed password, visit:

/optimizer/optimize_user/:username

assuming that you have mapped in the urls.py from this app at /optimizer/ in your site.

This is an optimization because visiting this URL warm the database cache for your data! To automatically warm the database cache for your user data, make sure to create a periodic task (e.g., cron job) that accesses this URL.

Also about this package

Version history:

  • 1.0: Does nothing, successfully.

  • 1.2: Actually implement cache warming functionality.

  • 2.0: Total rewrite!!! Way faster! Still 100% safe.

Release files for asheeshs-django-optimizer 2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asheeshs-django-optimizer 2.0
File Size Uploaded
asheeshs-django-optimizer-2.0.tar.gz 2.1 kB Details

Release files / asheeshs-django-optimizer-2.0.tar.gz

Download URL asheeshs-django-optimizer-2.0.tar.gz
Size 2.1 kB
Tags Source
SHA-256 checksum
How to use checksums
76098d613b234e77f14825b38b81f706d637edb19ddf64b1cf32b9077ec412f2
BLAKE2b-256 checksum
How to use checksums
18747b06493229fccc1f7663f720b248474832bffcd4db8aa5ee09ad9669b76b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.0 This release

1 release file

1.2

1 release file

1.1

1 release file

1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page