S4E just found a high-severity finding from top 10 tcp port service scan
PlatformPlansPartners
Resources
ToolsBlogDocs
Sign Up →
low·Information Scans·Updated Aug 15, 2025

Well-Known Nostr JSON Detection Scanner

This scanner detects the use of Well-Known Nostr JSON in digital assets.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsurl
CostFree
3.1k
Times Used
continuous scan runs
5.9k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
Detail

The Well-Known Nostr JSON is utilized by developers and organizations to facilitate public key discovery for Nostr, a decentralized protocol for social networking, by placing a standardized JSON file at a well-known location. This tool is crucial for seamless communication and data exchange in decentralized environments, where participants need to discover each other's public keys to initiate connections. Its primary users include developers of decentralized social media platforms and protocols, leveraging the JSON for identity verification and network interactions. By standardizing the key discovery process, this JSON file aids in maintaining uniformity and efficiency across various implementations of the Nostr protocol. However, improper handling or exposure of this file could lead to unintended information disclosure. Therefore, ensuring secure implementation of the Well-Known Nostr JSON is vital to uphold data privacy and protocol integrity.

The detection focuses on identifying the presence of a Well-Known Nostr JSON file within digital assets, which can reveal implementation details or policies pertaining to the Nostr protocol. Detecting this file helps in determining whether a given asset is part of the Nostr-based decentralized network. The scanner verifies the presence of specific JSON structures and file headers that are indicative of a correctly implemented and accessible Nostr JSON file. A status code of 200 confirms successful detection, while additional headers and JSON content are also examined to ensure compliance with the standard specification. This detection mechanism aids stakeholders in mapping Nostr network participants and helps ensure that they have been correctly set up.

Technically, the scanner directs a GET request to the file path /.well-known/nostr.json to determine its presence. It employs header checks to identify the content type as application/json, ensuring the endpoint is serving the expected document type. Additionally, it looks for specific JSON key structures like "names": {} in the response body to validate the adherence to Nostr specifications. Through this structured approach, the detection identifies the existence of an endpoint meant for Nostr public key discovery while also verifying the integrity and correctness of the information provided at the endpoint. This technical precision ensures accurate detection while limiting false positives.

If exploited by malicious actors, the exposure of the Well-Known Nostr JSON could result in unintentional disclosure of implementation details and security policies. It could further provide attackers insights into the structural setup of the Nostr protocol implementation within an organization, which might lead to potential strategizing for targeted attacks. Moreover, public availability of this JSON might allow adversaries to enumerate or track Nostr participants, potentially compromising their privacy. In some cases, improperly configured files may leak additional information, even though unintended, which could amplify the attack surface for malicious entities.

REFERENCES

Solution Advice
  • Review the contents of the Well-Known Nostr JSON file to ensure no sensitive information is unintentionally exposed.
  • Implement access controls so that only authorized users or systems can request the file.
  • Regularly audit and monitor the JSON endpoint for any unexpected access or changes.
  • Ensure compliance with the Nostr protocol specifications to prevent misconfigurations.
  • Consider obfuscating certain details within the JSON to minimize the risk of information leakage.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.