MCPcopy Create free account
hub / github.com/dwgx/WindsurfAPI / ssrf.test.js

File ssrf.test.js

test/ssrf.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, it } from 'node:test';
2import assert from 'node:assert/strict';
3import { isPrivateIp, resolvePublicAddresses } from '../src/net-safety.js';
4import { parseGenericDataUrl } from '../src/image.js';

Callers

nothing calls this directly

Calls 3

isPrivateIpFunction · 0.90
resolvePublicAddressesFunction · 0.90
parseGenericDataUrlFunction · 0.90

Tested by

no test coverage detected