Automated test for presence of EXIF data for blueprint challenge [🚀]
See original GitHub issueProblem
A valid config file must defined the fileForRetrieveBlueprintChallenge
property for exactly one product. For default.yml
this is:
-
name: 'OWASP Juice Shop Logo (3D-printed)'
description: 'This rare item was designed and handcrafted in Sweden. This is why it is so incredibly expensive despite its complete lack of purpose.'
price: 99.99
image: 3d_keychain.jpg # Exif metadata contains "OpenSCAD" as subtle hint...
fileForRetrieveBlueprintChallenge: JuiceShop.stl # ...to blueprint file type
The presence of the property is checked on startup. It is never checked however, if the image of that product actually contains some EXIF data that would help find that blueprint file. As the challenge seeminly not played often, #1597 could sneakily exist since 2019 without being noticed.
Solution
- Introduce a property
exifForBlueprintChallenge
that needs to be specified on the product used for the blueprint challenge - Implement a test in
test/server
that uses theexif
module to read the EXIF data from theimage
of that product - Check if the EXIF data contains the string/property from
exifForBlueprintChallenge
to pass the test
Additional requirements
- This check must work for the
default.yml
and also all custom configs - The presence of the new
exifForBlueprintChallenge
property must be checked in thevalidateConfig.ts
script - The new property must be added to the
config.schema.yml
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
Automated test for presence of EXIF data for blueprint challenge [🚀]
Problem. A valid config file must defined the fileForRetrieveBlueprintChallenge property for exactly one product. For default.yml this is:
Read more >Developing a blueprint for a science of cybersecurity
40 Proof-carrying data: Secure computation on untrusted platforms. A C , E T. 47 Blueprint for a science of cybersecurity. F...
Read more >blueprint-pro-guide.pdf - Bluehost.com
THE BLUEPRINT — A WEB PRO'S GUIDE TO WORDPRESS. Building a digital presence goes far beyond building a website with text, images, and...
Read more >Digitalization and its impact on regional economy transformation ...
This study aimed to identify which digital transformation areas are prioritized in regions with different levels of innovative development.
Read more >Text - H.R.4521 - 117th Congress (2021-2022): United States ...
Study on emerging science and technology challenges faced by the United States and recommendations to address them. ... Rocket engine test infrastructure.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It is working fine for me with both files and URLs. Can you give any tests so I can check
This thread has been automatically locked because it has not had recent activity after it was closed. 🔒 Please open a new issue for regressions or related bugs.