René's URL Explorer Experiment


Title: Authenticated advanced ZAP scan fails in the Juice Shop demo · Issue #615 · secureCodeBox/secureCodeBox · GitHub

Open Graph Title: Authenticated advanced ZAP scan fails in the Juice Shop demo · Issue #615 · secureCodeBox/secureCodeBox

X Title: Authenticated advanced ZAP scan fails in the Juice Shop demo · Issue #615 · secureCodeBox/secureCodeBox

Description: 🐞 Bug report Describe the bug Steps To Reproduce Create a separate namespace: kubectl create namespace juiceshop Install OWASP juice-shop: helm upgrade --install juice-shop secureCodeBox/juice-shop -n juiceshop Install zap-advanced: helm...

Open Graph Description: 🐞 Bug report Describe the bug Steps To Reproduce Create a separate namespace: kubectl create namespace juiceshop Install OWASP juice-shop: helm upgrade --install juice-shop secureCodeBox/juice-shop...

X Description: 🐞 Bug report Describe the bug Steps To Reproduce Create a separate namespace: kubectl create namespace juiceshop Install OWASP juice-shop: helm upgrade --install juice-shop secureCodeBox/juice-shop...

Opengraph URL: https://github.com/secureCodeBox/secureCodeBox/issues/615

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Authenticated advanced ZAP scan fails in the Juice Shop demo","articleBody":"## 🐞 Bug report\r\n\r\n### Describe the bug\r\n\u003c!-- A clear and concise description of what the bug is. --\u003e\r\n\r\n### Steps To Reproduce\r\n\r\n1. Create a separate namespace: ```kubectl create namespace juiceshop```\r\n2. Install OWASP juice-shop: ```helm upgrade --install juice-shop secureCodeBox/juice-shop -n juiceshop```\r\n3. Install zap-advanced: ```helm upgrade --install zap-advanced secureCodeBox/zap-advanced -n juiceshop```\r\n4. Apply the **[demo-juiceshop-scan-authenticated](https://docs.securecodebox.io/docs/scanners/zap-advanced#demo-juiceshop-scan-authenticated)** scan and update the service name and namespace beforehand\r\n\r\n```\r\napiVersion: v1\r\nkind: ConfigMap\r\nmetadata:\r\n  name: zap-advanced-scan-config\r\n  namespace: juiceshop\r\ndata:\r\n  2-zap-advanced-scan.yaml: |-\r\n\r\n    contexts:\r\n      - name: scb-juiceshop-context\r\n        url: http://juice-shop.juiceshop.svc:3000/\r\n        ...\r\n```\r\n5. Inspect the logs of the scanner container\r\n\r\n### Expected behavior\r\nThe scanner should not fail and generate the findings. \r\n\r\n### System\r\n\r\n- secureCodeBox: 3.0.1\r\n- OS: macOS\r\n- Kubernetes Version: v1.22.0 (client), v1.21.2 (server)\r\n- Docker Version: 20.10.8\r\n\r\n### Screenshots / Logs\r\n\r\n\u003cdetails\u003e\r\n\r\n\u003csummary\u003eZAP logs\u003c/summary\u003e\r\n\r\n```\r\n2021-08-27 09:37 zapclient    INFO    : :: Configuring ZAP Instance with {'http': 'http://localhost:8080', 'https': 'http://localhost:8080'}\r\n2021-08-27 09:37 zapclient    INFO    : :: Starting SCB ZAP Automation Framework with config /home/securecodebox/configs/\r\n2021-08-27 09:37 ZapClient    INFO    : Importing YAML files for ZAP configuration at dir: '['/home/securecodebox/configs/1-zap-advanced-scantype.yaml', '/home/securecodebox/configs/2-zap-advanced-scan.yaml']'\r\n2021-08-27 09:37 zapclient    INFO    : :: Starting SCB ZAP Scan with target http://juice-shop.juiceshop.svc:3000/\r\n2021-08-27 09:37 ZapClient    INFO    : Configuring ZAP Global\r\n2021-08-27 09:37 ZapConfigureSettings INFO    : Creating a new ZAP session with the name: secureCodeBox\r\n2021-08-27 09:37 ZapClient    INFO    : Configuring ZAP Context\r\n2021-08-27 09:37 ZapConfigureContext INFO    : Existing Contexts will be removed: ['Default Context']\r\n2021-08-27 09:37 ZapConfigureContext INFO    : Configuring a new ZAP Context with name: scb-juiceshop-context\r\n2021-08-27 09:37 ZapConfigureContextAuthentication INFO    : HTTP ZAP HTTP JSON Params: 'loginUrl=http://juice-shop.juiceshop.svc:3000/rest/user/login\u0026loginRequestData={\"email\":\"admin@juice-sh.op\",\"password\":\"admin123\"}'\r\n2021-08-27 09:37 ZapConfigureContext INFO    : Existing Users will be removed before adding new ones.\r\n2021-08-27 09:37 ZapConfigureContext INFO    : Configuring the ZAP session management (type=scriptBasedSessionManagement)\r\n2021-08-27 09:37 ZapClient    INFO    : Loading new Script 'juiceshop-session-management.js' at '/home/zap/.ZAP_D/scripts/scripts/session/juiceshop-session-management.js' with type: 'session' and engine 'Oracle Nashorn'\r\n2021-08-27 09:37 ZapClient    ERROR   : The script couldn't be loaded due to errors!\r\n2021-08-27 09:37 zapclient    ERROR   : Unexpected error: The script couldn't be loaded due to errors!\r\nTraceback (most recent call last):\r\n  File \"/zap-client/zapclient/__main__.py\", line 64, in process\r\n    zap_automation.scan_target(target=args.target)\r\n  File \"/zap-client/zapclient/zap_automation.py\", line 84, in scan_target\r\n    zap_context.configure_contexts()\r\n  File \"/zap-client/zapclient/context/zap_context.py\", line 64, in configure_contexts\r\n    self._configure_context(context)\r\n  File \"/zap-client/zapclient/context/zap_context.py\", line 97, in _configure_context\r\n    self._configure_context_session_management(sessions_config=context[\"session\"], context_id=context_id)\r\n  File \"/zap-client/zapclient/context/zap_context.py\", line 229, in _configure_context_session_management\r\n    self._configure_context_session_management_scriptbased(script_config=script_config, context_id=context_id)\r\n  File \"/zap-client/zapclient/context/zap_context.py\", line 245, in _configure_context_session_management_scriptbased\r\n    self._configure_load_script(script_config=script_config, script_type=\"session\")\r\n  File \"/zap-client/zapclient/zap_abstract_client.py\", line 115, in _configure_load_script\r\n    self.check_zap_result(\r\n  File \"/zap-client/zapclient/zap_abstract_client.py\", line 71, in check_zap_result\r\n    raise Exception(exception_message)\r\nException: The script couldn't be loaded due to errors!\r\n2021-08-27 09:37 ZapClient    INFO    : :: Show all Statistics\r\n2021-08-27 09:37 ZapClient    INFO    : []\r\n2021-08-27 09:37 ZapClient    INFO    : :: Shutting down the running ZAP Instance.\r\n```\r\n\u003c/details\u003e\r\n","author":{"url":"https://github.com/ammerzon","@type":"Person","name":"ammerzon"},"datePublished":"2021-08-30T08:58:08.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/615/secureCodeBox/issues/615"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:91f479a2-b61c-534d-c260-21899634412e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9066:3E913B:55BDBF:7600F2:6977509C
html-safe-noncecd83e44761ad6652c1b723d4cfd4721a3c08eec97ae26931fbd192254057bb5e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MDY2OjNFOTEzQjo1NUJEQkY6NzYwMEYyOjY5Nzc1MDlDIiwidmlzaXRvcl9pZCI6IjE3Nzc2MDI5OTAzODMyNTU3MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac77b28bffd37ac3ba5487872d1b61f22e7f17cadbad44a5e3a4f1f7199dd39a62
hovercard-subject-tagissue:982557542
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/secureCodeBox/secureCodeBox/615/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1506e27dac5bfb6e28b8a936957b9d86007b5072604a84d422a3965026d9b27d/secureCodeBox/secureCodeBox/issues/615
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1506e27dac5bfb6e28b8a936957b9d86007b5072604a84d422a3965026d9b27d/secureCodeBox/secureCodeBox/issues/615
og:image:alt🐞 Bug report Describe the bug Steps To Reproduce Create a separate namespace: kubectl create namespace juiceshop Install OWASP juice-shop: helm upgrade --install juice-shop secureCodeBox/juice-shop...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameammerzon
hostnamegithub.com
expected-hostnamegithub.com
None3310064f35a62c06a4024ba37f41c06836f39376a095c2dfd2c4b693c34965be
turbo-cache-controlno-preview
go-importgithub.com/secureCodeBox/secureCodeBox git https://github.com/secureCodeBox/secureCodeBox.git
octolytics-dimension-user_id34573705
octolytics-dimension-user_loginsecureCodeBox
octolytics-dimension-repository_id80711933
octolytics-dimension-repository_nwosecureCodeBox/secureCodeBox
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id80711933
octolytics-dimension-repository_network_root_nwosecureCodeBox/secureCodeBox
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release67d5f8d1d53c3cc4f49fc3bb8029933c3dc219e6
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/secureCodeBox/secureCodeBox/issues/615#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2F615
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2F615
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=secureCodeBox%2FsecureCodeBox
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/615
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/615
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/615
secureCodeBox https://github.com/secureCodeBox
secureCodeBoxhttps://github.com/secureCodeBox/secureCodeBox
Notifications https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Fork 175 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Star 941 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Code https://github.com/secureCodeBox/secureCodeBox
Issues 72 https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests 3 https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects 1 https://github.com/secureCodeBox/secureCodeBox/projects
Security 1 https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
Code https://github.com/secureCodeBox/secureCodeBox
Issues https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests https://github.com/secureCodeBox/secureCodeBox/pulls
Discussions https://github.com/secureCodeBox/secureCodeBox/discussions
Actions https://github.com/secureCodeBox/secureCodeBox/actions
Projects https://github.com/secureCodeBox/secureCodeBox/projects
Security https://github.com/secureCodeBox/secureCodeBox/security
Insights https://github.com/secureCodeBox/secureCodeBox/pulse
New issuehttps://github.com/login?return_to=https://github.com/secureCodeBox/secureCodeBox/issues/615
New issuehttps://github.com/login?return_to=https://github.com/secureCodeBox/secureCodeBox/issues/615
Authenticated advanced ZAP scan fails in the Juice Shop demohttps://github.com/secureCodeBox/secureCodeBox/issues/615#top
#603https://github.com/secureCodeBox/secureCodeBox/pull/603
https://github.com/rfelber
bugBugshttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22bug%22
v3.1.0https://github.com/secureCodeBox/secureCodeBox/milestone/10
https://github.com/ammerzon
https://github.com/ammerzon
ammerzonhttps://github.com/ammerzon
on Aug 30, 2021https://github.com/secureCodeBox/secureCodeBox/issues/615#issue-982557542
demo-juiceshop-scan-authenticatedhttps://docs.securecodebox.io/docs/scanners/zap-advanced#demo-juiceshop-scan-authenticated
rfelberhttps://github.com/rfelber
bugBugshttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22bug%22
v3.1.0https://github.com/secureCodeBox/secureCodeBox/milestone/10
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.