Skip to content

dfnwtf/patrol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

400 Commits
 
 
 
 

Repository files navigation

DFN Logo

DFN Nonsense Patrol

A free, instant security scanner and risk analysis tool for Solana tokens.

Service Status Live demo Platform License


✨ About The Project

Nonsense Patrol is a comprehensive token analysis service developed by the Department of Financial Nonsense.
Our mission is to bring clarity and transparency to the chaotic and often unpredictable ecosystem of digital assets.
We provide traders, investors, and project developers with powerful tools for quick and effective due diligence on Solana tokens.

The scanner collects and analyzes dozens of parameters in real‑time - from smart‑contract characteristics to market data and holder activity - to generate a single, easy‑to‑understand security rating: the Trust Score.
Our goal is to help users make informed decisions and avoid potential risks.


🛡️ Key Analysis Features

Nonsense Patrol evaluates tokens across several key vectors to determine its Trust Score:

  • Smart Contract Security – Checks for critical contract‑level risks: mint authority renounced, freeze authority, mutable metadata, etc.
  • Liquidity Health – Detects whether the liquidity pool (LP) is burned, locked, or left unlocked (major red flag).
  • Holder Distribution – Reveals the real ownership structure by filtering exchange and protocol wallets before calculating whale concentration.
  • Threat Intelligence – Scans the creator and top holders against a database of known scammers and exploiters.
  • Price Impact Simulation – Estimates potential market‑cap collapse if the largest holders decide to sell.

🚀 Showcase Your Trust Score

Confident in your token’s security? Display your DFN Trust Score on your site with our official widget.
It ships with a transparent background and two color themes so it looks sharp on any design.


🛠️ How to Add the Widget

We ship a modern Web Component for quick, secure integration. Two easy steps:

Step 1 - Add the Widget Script

Insert this just before </body> (only once per page):

<script src="https://dfn.wtf/badge.js" defer></script>

Step 2 - Place the Widget Element

Add the custom element where you want the badge to appear.
Choose theme="dark" for dark backgrounds (light text) or theme="light" for light backgrounds (dark text).

<!-- Dark theme -->
<dfn-trust-badge token="YOUR_TOKEN_ADDRESS_HERE" theme="dark"></dfn-trust-badge>

<!-- Light theme -->
<dfn-trust-badge token="YOUR_TOKEN_ADDRESS_HERE" theme="light"></dfn-trust-badge>

Replace YOUR_TOKEN_ADDRESS_HERE with your project’s SPL token address.

Customization Options

Attribute Required Description Options
token Solana address of the token to analyze. any SPL address
theme Color scheme of the badge. dark (default) / light

🔧 Troubleshooting & Content Security Policy (CSP)

If the widget doesn’t render, your site’s CSP may be blocking it.

Fix: add https://dfn.wtf to both script-src and connect-src directives.

CSP Configuration Examples
Static site meta‑tag
<meta http-equiv="Content-Security-Policy" content="script-src 'self' https://dfn.wtf; connect-src 'self' https://dfn.wtf;">
NGINX
add_header Content-Security-Policy "script-src 'self' https://dfn.wtf; connect-src 'self' https://dfn.wtf;";
Apache (.htaccess)
Header set Content-Security-Policy "script-src 'self' https://dfn.wtf; connect-src 'self' https://dfn.wtf;"

Note: If you already have a CSP, merge these domains with your existing directives.


Distributed under the MIT License. See LICENSE for full text.


Powered by the Department of Financial Nonsense
Website | Twitter

About

DFN Nonsense Patrol - Solana Tokens Analytic Tool

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors