René's URL Explorer Experiment


Title: Introduce reverse matches on cascading rules to enforce scope · Issue #761 · secureCodeBox/secureCodeBox · GitHub

Open Graph Title: Introduce reverse matches on cascading rules to enforce scope · Issue #761 · secureCodeBox/secureCodeBox

X Title: Introduce reverse matches on cascading rules to enforce scope · Issue #761 · secureCodeBox/secureCodeBox

Description: ➹ New Feature implementation request Is your feature request related to a problem? As a pentester, I want to gain confidence in letting run secureCodeBox cascading rules unattended, so that I have assurance that secureCodeBox will only s...

Open Graph Description: ➹ New Feature implementation request Is your feature request related to a problem? As a pentester, I want to gain confidence in letting run secureCodeBox cascading rules unattended, so that I have ...

X Description: ➹ New Feature implementation request Is your feature request related to a problem? As a pentester, I want to gain confidence in letting run secureCodeBox cascading rules unattended, so that I have ...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Introduce reverse matches on cascading rules to enforce scope","articleBody":"## ➹ New Feature implementation request\r\n\r\n### Is your feature request related to a problem?\r\nAs a pentester, I want to gain confidence in letting run secureCodeBox cascading rules unattended, so that I have assurance that secureCodeBox will only scan in-scope targets given the engagement.\r\n\r\nCurrently, cascading rules are triggered based on whether a static value exists in the finding.\r\n```yaml\r\nspec:\r\n  matches:\r\n    anyOf:\r\n      - category: \"Subdomain\"\r\n        osi_layer: \"NETWORK\"\r\n  scanSpec:\r\n    scanType: \"nmap\"\r\n    parameters:\r\n      # Target Port of the finding\r\n      - \"{{location}}\"\r\n```\r\n\r\nIt is however not possible to verify whether the matched subdomain is present in the given scope.\r\n\r\nA practical example engagement scope:\r\n  - `example.com`\r\n  - `subdomain.example.com`\r\n  - `12.34.56.78/24`\r\n\r\nA pentester would like to investigate whether more subdomains exist so runs AMASS, it returns `example.com`, `subdomain.example.com`, and `subdomain2.example.com`. Nmap is triggered on all of them, while `subdomain2.example.com` was out-of-scope. Furthermore, it should have been verified whether `example.com` and `subdomain.example.com` even resolve to an IP in `12.34.56.78/12`.\r\n\r\n### Describe the solution you'd like\r\nIn the cascading rule spec, we can introduce a field allowing rule developers to do reverse matching on scan labels.\r\n\r\n```yaml\r\nmetadata:\r\n  labels:\r\n    \"engagement.scope/domains\": \"example.com,subdomain.example.com\"\r\n    \"engagement.scope/cidr\": \"12.34.56.78/24\"\r\n```\r\n\r\nThen in cascading rule yaml:\r\n```yaml\r\nspec:\r\n  matches:\r\n    scanSelector:\r\n      allOf:\r\n        - key: \"engagement.scope/domains\"\r\n          operator: Contains\r\n          value: {{attributes.host}}\r\n        - key: \"engagement.scope/cidr\"\r\n          operator: InCIDR\r\n          value: {{attributes.ip}}\r\n    anyOf:\r\n      - category: \"Subdomain\"\r\n        osi_layer: \"NETWORK\"\r\n  scanSpec:\r\n    scanType: \"nmap\"\r\n    parameters:\r\n      # Target Port of the finding\r\n      - \"{{location}}\"\r\n```\r\n\r\n`scanSelector`  would be a similar field to the Kubernetes-native `labelSelector`, but fully interpreted in the cascading scans hook. This also allows us to define special operators (like Contains or InCIDR).\r\n\r\n`allOf` is used in the example above. Would `anyOf` or `noneOf` have any further use cases?\r\n\r\nIn any case, I'd like some feedback on the problem and potential solution :thinking: . What do you think?","author":{"url":"https://github.com/EndPositive","@type":"Person","name":"EndPositive"},"datePublished":"2021-10-22T14:20:27.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/761/secureCodeBox/issues/761"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2bd97bcb-d58f-daad-c3f8-7c62b17fafa5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA1B6:25066E:46B12C:5915B4:69925D1D
html-safe-nonceb5fbe83d4242f453051c83c5e8830b40e42a9259366db217220d652973a8d71f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMUI2OjI1MDY2RTo0NkIxMkM6NTkxNUI0OjY5OTI1RDFEIiwidmlzaXRvcl9pZCI6IjQwOTQ5ODM2ODE5MTUxMTY4MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac3dda4d87673dfa1baeee3621c3c36598afa915df053bc228ab033585df900a00
hovercard-subject-tagissue:1033636492
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/761/issue_layout
twitter:imagehttps://opengraph.githubassets.com/de106def9d8e5e1e27a19caae3f4b57fd6598c2f7df1620e5b068b0f20625320/secureCodeBox/secureCodeBox/issues/761
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/de106def9d8e5e1e27a19caae3f4b57fd6598c2f7df1620e5b068b0f20625320/secureCodeBox/secureCodeBox/issues/761
og:image:alt➹ New Feature implementation request Is your feature request related to a problem? As a pentester, I want to gain confidence in letting run secureCodeBox cascading rules unattended, so that I have ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameEndPositive
hostnamegithub.com
expected-hostnamegithub.com
None42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b
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
release848bc6032dcc93a9a7301dcc3f379a72ba13b96e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/secureCodeBox/secureCodeBox/issues/761#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FsecureCodeBox%2FsecureCodeBox%2Fissues%2F761
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%2F761
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/761
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/761
Reloadhttps://github.com/secureCodeBox/secureCodeBox/issues/761
secureCodeBox https://github.com/secureCodeBox
secureCodeBoxhttps://github.com/secureCodeBox/secureCodeBox
Notifications https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Fork 179 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Star 955 https://github.com/login?return_to=%2FsecureCodeBox%2FsecureCodeBox
Code https://github.com/secureCodeBox/secureCodeBox
Issues 72 https://github.com/secureCodeBox/secureCodeBox/issues
Pull requests 5 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/761
New issuehttps://github.com/login?return_to=https://github.com/secureCodeBox/secureCodeBox/issues/761
#805https://github.com/secureCodeBox/secureCodeBox/pull/805
Introduce reverse matches on cascading rules to enforce scopehttps://github.com/secureCodeBox/secureCodeBox/issues/761#top
#805https://github.com/secureCodeBox/secureCodeBox/pull/805
enhancementNew feature or requesthttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22enhancement%22
https://github.com/EndPositive
https://github.com/EndPositive
EndPositivehttps://github.com/EndPositive
on Oct 22, 2021https://github.com/secureCodeBox/secureCodeBox/issues/761#issue-1033636492
enhancementNew feature or requesthttps://github.com/secureCodeBox/secureCodeBox/issues?q=state%3Aopen%20label%3A%22enhancement%22
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.