andrewtoth on Nostr: One way is to whitelist all domains that the app can make network requests to. That ...
One way is to whitelist all domains that the app can make network requests to. That way a malicious library won't be able to send the payload to itself unless it compromises your servers as well.
Published at
2025-02-09 16:46:04Event JSON
{
"id": "5d579dca9ab7bfc8a17e512361a8560c13de2f6cb38b1b90125aa9a8c4aac1fe",
"pubkey": "10dc30b77d65c2884d0226d8ead2d52d50d766703ffdcefbf4a071b3e732fa67",
"created_at": 1739119564,
"kind": 1,
"tags": [
[
"e",
"f15371d154baa75cb40fb31ebea1439b06b0e9a471c143e60e69f93be8a79f84",
"",
"root"
],
[
"p",
"46fcbe3065eaf1ae7811465924e48923363ff3f526bd6f73d7c184b16bd8ce4d"
]
],
"content": "One way is to whitelist all domains that the app can make network requests to. That way a malicious library won't be able to send the payload to itself unless it compromises your servers as well.",
"sig": "b5e4fa404bec040e5229e95862f21b2e9bdf0ac7b5a9f4785dbf7e96592340621681093bb0617e7698e32545789d484796d7d5d2d9fbfc94c967ca656f010386"
}