Skip to main content

Crate jsdet_chrome_ext

Crate jsdet_chrome_ext 

Source
Expand description

§jsdet-chrome-ext — Chrome Extension API bridges

Implements the Bridge trait with instrumented Chrome extension APIs. Every chrome.* call is observable, every message is interceptable, every storage access is logged.

§Modules

  • manifest — Parse manifest.json, extract permissions, content scripts, CSP
  • profile — TOML-based analysis profiles (sources, sinks, transforms, sanitizers)
  • bridge — The Bridge implementation that handles all chrome.* API calls
  • state — Simulated extension state (tabs, cookies, storage, alarms)
  • bootstrap — JavaScript bootstrap code that creates the chrome.* namespace

Re-exports§

pub use bridge::ChromeExtBridge;
pub use manifest::Manifest;
pub use profile::AnalysisProfile;

Modules§

bootstrap
JavaScript bootstrap code for Chrome Extension API simulation.
bridge
Chrome Extension Bridge — implements the Bridge trait for chrome.* APIs.
manifest
Chrome extension manifest.json parser.
profile
Analysis profiles — TOML-based source/sink/transform/sanitizer definitions.
state
Simulated Chrome extension state.