👩💻 Codebase
Access the full source code of ObscuraTrace on GitHub.
Our repository contains the complete codebase for the Chrome extension, setup instructions, usage documentation, and contribution guidelines.
Whether you're curious about the technical stack, want to suggest improvements, or contribute new features — you're welcome to fork the repo, open issues, or submit pull requests.
1. StealthGuard: Hidden Transaction Monitoring
function stealthGuard(transactionData) {
const stealthScore = (transactionData.amount / transactionData.volume) * Math.pow(transactionData.tokenAge, 0.5);
const threshold = 2;
if (stealthScore > threshold) {
return 'Alert: Hidden Transaction Detected';
} else {
return 'Transaction Visible';
}
}
How it works (no formulas, just words):
Goal: Catch transactions that are flying under the radar.
stealthScore:
Take the transaction’s amount.
Divide it by the token’s total trading volume.
Multiply the result by the square root of the token’s age.
Decision: If stealthScore is above 2, the function flags the trade as a hidden move.
Why it matters: Great for spotting whale entries, wash-trades, or front-running on low-liquidity tokens.
🕵️♂️ 2. ShadowTrack: AI-Powered Anomaly Detection
function shadowTrack(transactionData) {
const deviation = Math.abs(transactionData.currentFlow - transactionData.previousFlow) / transactionData.previousFlow;
if (deviation > 0.5) {
return 'Alert: Anomalous Behavior Detected';
} else {
return 'Behavior Normal';
}
}
How it works:
Goal: Detect sudden spikes or drops in activity.
deviation:
Find the absolute difference between the current flow and the previous flow.
Divide that difference by the previous flow to get the relative change.
Decision: Anything over 50 % change triggers an anomaly alert.
Why it matters: Useful for early warnings on rug pulls, panic sells, or sudden pump activity.
⚠️ 3. CrypticAlert: Real-Time Risk Identification
function crypticAlert(transactionData) {
const volumeRiskFactor = transactionData.amount / transactionData.volume;
const isSuspicious = volumeRiskFactor > 0.7;
if (isSuspicious) {
return 'Alert: High-Risk Transaction Detected';
} else {
return 'Transaction Normal';
}
}
How it works:
Goal: Flag trades that can single-handedly move the market.
volumeRiskFactor: Divide the transaction amount by total token volume.
Decision: If that ratio is greater than 0.7, the trade is marked high-risk.
Why it matters: Helps catch manipulation attempts or big dumps before they wreck liquidity.
🌐 4. DarkNetProbe: Suspicious Activity Analysis
function darkNetProbe(transactionData) {
const suspectThreshold = 1_000_000; // high-value cutoff
let activityRisk = 0;
if (transactionData.tokenMovement > suspectThreshold) {
activityRisk = 1;
}
if (activityRisk === 1) {
return 'Alert: Suspicious Activity Detected';
} else {
return 'Activity Normal';
}
}
How it works:
Goal: Spot massive, out-of-place token transfers.
Check: If the amount of tokens moved is above a fixed high-value threshold (here one million units), it’s flagged.
Decision: Anything beyond that limit raises an alert.
Why it matters: Great for catching large bridge moves, laundering attempts, or pre-rug withdrawals.
Last updated