Skip to content

Zzl0y/JSON-Injection-Testing-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

JSON Injection Testing Tool πŸ”§

Console-based tool for testing JSON injection vulnerabilities

  • Usage: Run in browser console on target domain or use as bookmarklet
  • Target: Applications that process JSON data without proper validation
  • DISCLAIMER: This tool is for authorized penetration testing and educational
  • purposes only. Use only on systems you own or have explicit permission to test.

Usage Instructions πŸ“–

Method 1: Browser Console

// Copy entire script to browser console, then run:
JSONInjectionTester.quickTest('https://test.lab/', 'data');

Method 2: Custom Configuration

const tester = new JSONInjectionTester({
    TARGET_URL: 'https://test.lab/api/endpoint',
    VULNERABLE_PARAM: 'jsonData',
    PAYLOAD_DELAY: 2000
});
tester.runTests();

Method 3: Bookmarklet

javascript:(function(){/* Paste minified version here */})();

Key Features ⭐

Multi-vector testing: Tests 7 different JSON injection techniques
Multiple delivery methods: PostMessage, forms, WebSocket attempts
Detailed logging: Complete test results and recommendations
Configurable: Easy to adapt for different targets and parameters
Professional output: Structured results with remediation advice

Test Coverage 🎯

JSON Structure Manipulation
Code Execution via eval()
Prototype Pollution
Function Constructor Injection
Promise Chain Bypass
Unicode Escape Processing
Nested Object Manipulation

Important Notes ⚠️

Authorization Required: Only use on systems you own or have permission to test
Educational Purpose: Designed for learning and authorized penetration testing
Cross-Origin: May have limitations due to browser security policies
Manual Verification: Always manually verify results for accurate assessment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published