Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS "fetch" and "import" (partially) not being detected #3632

Open
dune73 opened this issue Mar 27, 2024 · 0 comments
Open

JS "fetch" and "import" (partially) not being detected #3632

dune73 opened this issue Mar 27, 2024 · 0 comments

Comments

@dune73
Copy link
Member

dune73 commented Mar 27, 2024

Description

$ curl -H "x-format-output: txt-matched-rules" http://sandbox.coreruleset.org/ -d 'foo=fetch("https://jsonplaceholder.typicode.com/todos/1")'
-- no output --

$ curl -H "x-format-output: txt-matched-rules" http://sandbox.coreruleset.org/ -d 'foo=import * as name from "module.js";'
-- no output --

$ curl -H "x-format-output: txt-matched-rules" http://sandbox.coreruleset.org/ -d 'foo=import { sayHi, sayBye } from "./greeting.js";'
942100 PL1 SQL Injection Attack Detected via libinjection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant