Skip to content

Add /ping, /user, /calc endpoints#3

Open
marsan02 wants to merge 1 commit into
mainfrom
test/vuln-sample-1776511709
Open

Add /ping, /user, /calc endpoints#3
marsan02 wants to merge 1 commit into
mainfrom
test/vuln-sample-1776511709

Conversation

@marsan02
Copy link
Copy Markdown
Owner

Adds three sample Express endpoints.

Note for reviewers / security scanners — this PR intentionally contains known-bad patterns for testing the n8n vulnerability flow:

  • Command injection in /ping (exec with concatenated user input)
  • SQL injection in /user (string-concatenated query)
  • eval() on request body in /calc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant