Asheesh’s Django Optimizer
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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| asheeshs-django-optimizer-2.0.tar.gz | 2.1 kB | Without provenance | Details for asheeshs-django-optimizer-2.0.tar.gz |
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 |
Security for asheeshs-django-optimizer 2.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.