Validation Engine for Function Call Parameter Security

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems lack efficient mechanisms to validate input parameters for function calls, making them vulnerable to attacks through invalid inputs, which requires labor-intensive patching to remediate.

Innovation Solution

Implementing a validation engine that separates validation rules from functions, allowing for independent updates and validation of input parameters before function execution, preventing invalid inputs from causing errors or security breaches.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If validation rules are integrated into functions, then the system structure is simple, but security vulnerabilities increase and patching becomes labor-intensive

Engineering Contradiction:
Improvesystem structureVSAvoidsecurity vulnerability
Core Design Contradiction:
Device complexityVSReliability

Solution Approach 1:

The patent separates validation rules from function implementations by introducing a validation engine that independently manages validation logic. This segmentation allows validation rules to be updated without modifying function code, reducing security vulnerabilities while maintaining manageable system complexity through modular architecture.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

Validation rules are extracted from function implementations and stored in a separate validation engine. This extraction enables independent updates of validation logic without requiring function patches, directly addressing the security vulnerability issue while keeping the overall system structure organized and maintainable.

Inventive Principle:
Principle #2Taking out (Extraction)

2Loss of time

If validation rules are updated separately from functions, then security response time improves, but device complexity increases

Engineering Contradiction:
Improvepatching timeVSAvoidsystem architecture
Core Design Contradiction:
Loss of timeVSDevice complexity

Solution Approach 1:

A validation engine is introduced as an intermediary component between input parameters and function executions. This mediator handles all validation logic separately, enabling rapid updates to validation rules without touching function code, thus reducing patching time while organizing complexity into a dedicated management layer.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

Validation rules are established and maintained in advance in the validation engine, separate from function implementations. This preliminary separation allows validation logic to be updated independently and applied immediately without requiring function re-compilation or re-deployment, significantly reducing security response time.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If fuzz testing is used to find unvalidated parameters, then security weaknesses are identified quickly, but the system remains vulnerable until patched

Engineering Contradiction:
Improvevulnerability detection speedVSAvoidsystem security
Core Design Contradiction:
ProductivityVSReliability

Solution Approach 1:

The validation engine incorporates feedback mechanisms that continuously monitor and validate input parameters against maintained validation rules. When fuzz testing identifies potential vulnerabilities, the validation rules can be immediately updated through the engine, providing rapid feedback loops that close security gaps without requiring function patches.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The validation engine provides self-service capabilities by automatically managing validation rules and applying them to function inputs. This automation allows rapid response to fuzz testing results, where identified vulnerabilities can be addressed by updating validation rules in the engine without manual intervention in function code, maintaining both detection speed and continuous security.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS8839420B2Validation of function call parameters
Publication Date: 2014.09.16 ADOBE INC
  • US8839420B2 patent drawing
  • US8839420B2 patent drawing
  • US8839420B2 patent drawing

AI summary

In one embodiment, a method of validating an input parameter to a function call is provided. In this method, the function call for a function is received, and this function call includes an input parameter. A validation rule associated with the function is accessed from a file that is located separately from the function itself. The input parameter then is validated based on the validation rule associated with the function, and the function may then be called based on the validation of the input parameter.