Code Sensor Platform for AI BOM and Vulnerability Scanning

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing solutions for managing and documenting AI libraries, models, and datasets in software development are manual, prone to errors, time-consuming, and lack the capability to assess risks and vulnerabilities effectively.

Innovation Solution

A multi-faceted Code Sensor system comprising a Detect AI module, a Deep Scan module, and a Vulnerability Scan module, which identifies AI components, generates an AI Bill-of-Materials (BOM), and assesses risks and vulnerabilities by cross-referencing with Open-Source Resources and a Threat Intelligence Database.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If manual methods are used to identify and catalog AI components, then the process is simple to implement, but it is time-consuming and error-prone

Engineering Contradiction:
Improvespeed of identifying and cataloging AI componentsVSAvoidcomplexity of the analysis system
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent replaces manual mechanical analysis with automated computational analysis using Abstract Syntax Tree (AST) generation and Large Language Models. The system automatically parses code repositories, generates AST representations, and uses AI models to identify AI components, eliminating manual effort while maintaining accuracy.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent introduces an intermediary AST generation step that transforms code into a structured intermediate representation. This AST serves as a mediator between the raw code and the final AI component identification, enabling systematic and automated analysis without manual intervention.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If existing automated solutions are used to detect dependencies, then the identification speed improves, but they lack the capability to determine context of use in AI projects

Engineering Contradiction:
Improveaccuracy of AI component identificationVSAvoidcomplexity of analysis methodology
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent replaces traditional dependency detection mechanisms with Large Language Model-based analysis. The LLM processes the AST representation and contextual information to accurately identify AI components and their usage contexts, achieving higher precision than conventional automated tools.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

Solution Approach 2:

The patent adds a new dimension of analysis by generating and analyzing AST representations of code. This transforms the problem from simple string-matching dependency detection to structured syntactic analysis, enabling accurate identification of AI component usage contexts.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Loss of information

If comprehensive AI component cataloging is performed, then the understanding of AI usage improves, but the time required for analysis increases

Engineering Contradiction:
Improvecompleteness of AI usage documentationVSAvoidtime required for codebase analysis
Core Design Contradiction:
Loss of informationVSLoss of time

Solution Approach 1:

The patent performs preliminary AST generation and code parsing before the actual AI component identification. By pre-processing the code into structured representations and identifying potential AI-related patterns early, the system reduces the time required for comprehensive analysis while maintaining documentation completeness.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses LLMs to perform selective deep analysis only on portions of code that are likely to contain AI components, rather than analyzing every line uniformly. This targeted approach maintains comprehensive documentation of AI usage while reducing overall analysis time through intelligent sampling and prioritization.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20250291936A1System and method for analyzing artificial intelligence utilization and associated risks
Publication Date: 2025.09.18 CRANIUM AI INC
  • US20250291936A1 patent drawing
  • US20250291936A1 patent drawing
  • US20250291936A1 patent drawing

AI summary

A code sensor system is provided, configured for execution by one or more processors, for cataloging and analyzing code repositories containing Artificial Intelligence (“AI”) and associating risks and vulnerabilities to the code repositories, the system comprising: a Detect AI module configured to identify code repositories that may contain AI; a Deep Scan module configured to generate an AI Bill-of-Materials (“BOM”) from the code repositories, the AI BOM including a plurality of categories including technologies, models and datasets; a Vulnerability Scan module configured to generate an interactive assessment of the risks and vulnerabilities associated with the AI BOM by cross-referencing content of the AI BOM with Open-Source Resources and a Threat Intelligence Database; a Code Sensor Platform configured to control the operation of the Detect AI module, the Deep Scan module and the Vulnerability Scan module; and a User Interface configured to display the risks and vulnerabilities to a user.