MCPcopy Index your code
hub / github.com/parse-community/parse-server / expectMasterKeyRequired

Function expectMasterKeyRequired

spec/vulnerabilities.spec.js:4564–4571  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4562
4563 describe('(GHSA-8pjv-59c8-44p8) SSRF via Webhook URL requires master key', () => {
4564 const expectMasterKeyRequired = async promise => {
4565 try {
4566 await promise;
4567 fail('Expected request to be rejected');
4568 } catch (error) {
4569 expect(error.status).toBe(403);
4570 }
4571 };
4572
4573 it('rejects registering a webhook function with internal URL without master key', async () => {
4574 await expectMasterKeyRequired(

Callers 1

Calls 1

failFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…