Skip to main content

Crate phantomdev_core

Crate phantomdev_core 

Source
Expand description

PhantomDev Core Library

This crate provides the foundational types, traits, and configuration for the PhantomDev adversarial stylometry framework.

Built with ❤️ by John Varghese (J0X) GitHub: https://github.com/John-Varghese-EH LinkedIn: https://linkedin.com/in/John–Varghese

Structs§

ApiConfig
API configuration
CodeBlock
Represents a block of code with metadata
CommitFormat
Commit message format
CommitMessage
Represents a commit message
Config
Configuration for PhantomDev
DetectionConfig
Detection configuration
DetectionResult
Result of AI detection
HumanizationConfig
Humanization configuration
JitterConfig
Jitter configuration
JitterSchedule
Schedule for a jittered operation
Pattern
A detected pattern
SectionResult
Result for a specific section of code
StealthScore
Stealth score for code
StyleProfile
Style profile extracted from repository analysis

Enums§

CommentStyle
Comment style preferences
IndentationStyle
Indentation style
JitterOperation
Types of operations that can be jittered
Language
Supported programming languages
NamingConvention
Naming convention preferences
PatternType
Types of patterns that can be detected

Traits§

Detector
Trait for AI detectors
Humanizer
Trait for code humanizers
JitterEngine
Trait for jitter engines (temporal obfuscation)