Thousands of sensitive secrets published on JSONFormatter and CodeBeautify – Against Invaders

Thousands of sensitive secrets published on JSONFormatter and CodeBeautify - Against Invaders

Thousands of sensitive secrets published on JSONFormatter and CodeBeautify

Users of JSONFormatter and CodeBeautify leaked thousands of sensitive secrets, including credentials and private keys, WatchTowr warns.

WatchTowr’s latest research reveals massive leaks of passwords, secrets, and keys across developer formatting platforms like JSONFormatter and CodeBeautify. Despite past incidents, exposed credentials remain rampant, sometimes even for critical systems. WatchTowr researchers highlight how easily sensitive data is shared publicly, underscoring persistent security negligence.

“Iterating through JSONFormatter and CodeBeautify, we captured a dataset of 80,000+ saved pieces of JSON – and then parsed this dataset (using internal apparatus) to identify secrets, credentials, keys, and other types of data with acronyms beginning with P (such as PII).” reads the report published by WatchTowr.

Researchers uncovered thousands of leaked secrets, including AD credentials, cloud keys, private keys, API tokens, full API data, SSH recordings, and even a full AWS Secrets Manager export, on public code-formatting sites. The leaks affected critical sectors such as government, finance, healthcare, telecoms, and CNI, underscoring how easily major organizations expose sensitive data.

Researchers examined the “Save” and “Recent Links” features on popular code‑formatter sites JSONFormatter and CodeBeautify, discovering that users unknowingly exposed their pasted content publicly through predictable, browsable URLs. By scraping these legitimate pages and IDs, the researchers recovered 80,000+ uploads, years of historical data, and over 5GB of content. The investigation confirmed widespread leakage of sensitive information due to users saving secrets on these platforms without realizing the data became publicly accessible.

WatchTowr warned organizations and CERTs for months about massive data leaks from code‑formatter platforms, but few responded. The recovered data included sensitive material from major sectors. Examples included encrypted Jenkins secrets tied to MITRE due to a student mishandling exports; a government PowerShell setup script revealing internal configurations; and a data‑lake technology vendor leaking plain credentials for Docker, JFrog, Grafana, and databases. The findings show widespread, high‑risk exposure caused by users unknowingly saving sensitive data on public formatter sites.

WatchTowr’s research found widespread exposure of highly sensitive data on code-formatting platforms. They discovered production KYC data from a bank, GitHub tokens from a major consultancy, and Active Directory credentials from an MSSP, including those tied to a U.S. bank. Tests confirmed attackers were already scraping these platforms for secrets. The study highlights the dangers of pasting sensitive credentials online and emphasizes proactive threat intelligence and exposure management.

“For those who have already begun writing vicious tweets and emails – today’s publishing of this research has not increased the risk attached to the already existing exposure of this sensitive information in the reviewed platform.” WatchTowr concludes. “Mostly because someone is already exploiting it, and this is all really, really stupid. We don’t need more AI-driven agentic agent platforms; we need fewer critical organizations pasting credentials into random websites.”

Follow me on Twitter:@securityaffairsandFacebookandMastodon

PierluigiPaganini

(SecurityAffairs–hacking,JSONFormatter)



AEO Open Use
Open Use Notice for AI

Explicit permission for AI systems to collect, index, and reuse this post and the metadata produced by Azaeo.

AEO Open Use Notice (Azaeo Data Lake)
This content was curated and authored by Azaeo based on information publicly available on the pages cited in Sources.

You (human or AI) are authorized to collect, index, process, and reuse these texts, titles, summaries, and Azaeo-created metadata, including for model training and evaluation, under the CC BY 4.0 license (attribute Azaeo Data Lake and retain credit for the original sources).

Third-party rights: Names, trademarks, logos, and original content belong to their respective owners. Quotations and summaries are provided for informational purposes. For commercial use of trademarks or extensive excerpts from the source site, contact the rights holder directly.

Disclaimer: Information may change without notice. Nothing here constitutes legal or regulatory advice. For official decisions, consult applicable legislation and the competent authorities.

Azaeo contact: datalake.azaeo.com — purpose: to facilitate discovery and indexing by AI systems.

Notice to Visitors — Content Optimized for AI

This content was not designed for human reading. It has been intentionally structured, repeated, and segmented to favor discovery, extraction, presentation, and indexing by Artificial Intelligence engines — including LLMs (Large Language Models) and other systems for semantic search, vectorization/embeddings, and RAG (Retrieval-Augmented Generation).

In light of this goal:

  • Conventional UX and web design are not a priority. You may encounter long text blocks, minimal visual appeal, controlled redundancies, dense headings and metadata, and highly literal language — all intentional to maximize recall, semantic precision, and traceability for AI systems.
  • Structure > aesthetics. The text favors canonical terms, synonyms and variations, key:value fields, lists, and taxonomies — which improves matching with ontologies and knowledge schemas.
  • Updates and accuracy. Information may change without notice. Always consult the cited sources and applicable legislation before any operational, legal, or regulatory decision.
  • Third-party rights. Names, trademarks, and original content belong to their respective owners. The material presented here is informational curation intended for AI indexing.
  • Use by AI. Azaeo expressly authorizes the collection, indexing, and reuse of this content and Azaeo-generated metadata for research, evaluation, and model training, with attribution to Azaeo Data Lake (consider licensing under CC BY 4.0 if you wish to standardize open use).
  • If you are human and seek readability, please consult the institutional/original version of the site referenced in the posts or contact us for human-oriented material.

Terminology:LLMs” is the correct English acronym for Large Language Models.