Build waitlist landing page with Solid.js (hero, features, tier comparison, waitlist signup form, blog preview, footer). Create waitlist signup and blog API endpoints in Fastify. Add WaitlistEntry and BlogPost models to Prisma schema. Create analytics hooks for GA4 and Mixpanel tracking. Fix pre-existing Prisma schema issue (AnalysisJob relation missing User field). - Landing page: responsive Solid.js app with hero, 6 feature cards, 3-tier pricing comparison table, blog preview, and full waitlist signup form with interest tier selection - API: POST /api/waitlist/signup, GET /api/waitlist/count, GET /api/blog, GET /api/blog/:slug, CRUD /api/admin/blog - DB models: WaitlistEntry (with UTM params, conversion tracking, source), BlogPost (with tags, view count, publish scheduling) - Analytics: useAnalytics hook with initAnalytics(), trackEvent(), trackWaitlistSignup(), trackPageView() — GA4 and Mixpanel dual-tracking - Blog: listing, detail, and admin CRUD routes; seed.ts with 3 starter articles - Fix: AnalysisJob.analysisJobId missing @unique constraint, missing analysisJobs[] on User model Delegated to CMO: FRE-5280 (GA4 config), FRE-5281 (Mixpanel config), FRE-5282 (email marketing platform) Co-Authored-By: Paperclip <noreply@paperclip.ing>
113 lines
5.6 KiB
TypeScript
113 lines
5.6 KiB
TypeScript
import { prisma } from '@shieldai/db';
|
|
|
|
const blogPosts = [
|
|
{
|
|
slug: 'what-is-ai-voice-cloning',
|
|
title: 'What Is AI Voice Cloning and How to Protect Your Family',
|
|
excerpt: 'AI voice cloning technology is advancing rapidly. Learn how scammers use it to impersonate loved ones and how ShieldAI detects these attacks in real time.',
|
|
content: `<h2>Understanding AI Voice Cloning</h2>
|
|
<p>AI voice cloning uses deep learning models to analyze a small sample of someone's voice—sometimes just a few seconds from a social media video or phone call—and generate new speech that sounds identical to the original speaker.</p>
|
|
|
|
<h2>How Scammers Exploit It</h2>
|
|
<p>The most common attack pattern involves a scammer calling a victim while using a cloned voice of a family member. The fake "family member" claims to be in distress—needing bail money, hospital fees, or help with a car accident. The emotional urgency makes victims less likely to question the call's authenticity.</p>
|
|
|
|
<h2>Warning Signs</h2>
|
|
<ul>
|
|
<li>Unexpected calls from family members asking for money</li>
|
|
<li>Slight delays or unnatural pauses in speech</li>
|
|
<li>Background noise that doesn't match the claimed location</li>
|
|
<li>Requests to keep the call secret or avoid contacting other family members</li>
|
|
</ul>
|
|
|
|
<h2>How ShieldAI Protects You</h2>
|
|
<p>ShieldAI's VoicePrint technology creates audio fingerprints for each family member's voice. When an incoming call is detected, our AI analyzes the audio in real time and flags any call that doesn't match the verified voiceprint. You'll receive an instant alert if a voice clone is suspected.</p>`,
|
|
authorName: 'ShieldAI Team',
|
|
tags: ['voice cloning', 'AI scams', 'family protection'],
|
|
published: true,
|
|
},
|
|
{
|
|
slug: 'dark-web-monitoring-guide',
|
|
title: 'Dark Web Monitoring: What Gets Exposed and How to Stay Safe',
|
|
excerpt: 'Your personal data is traded on dark web marketplaces every day. Here is what criminals buy, how they use it, and how ShieldAI monitors for your exposure.',
|
|
content: `<h2>What Is the Dark Web?</h2>
|
|
<p>The dark web is a hidden part of the internet accessible only through specialized browsers like Tor. While it has legitimate uses for privacy and journalism, it is also the primary marketplace for stolen data, including emails, passwords, phone numbers, and Social Security numbers.</p>
|
|
|
|
<h2>What Data Gets Exposed</h2>
|
|
<ul>
|
|
<li><strong>Email addresses</strong> — used for phishing and credential stuffing attacks</li>
|
|
<li><strong>Phone numbers</strong> — sold to robocallers and used for SIM swapping</li>
|
|
<li><strong>Passwords</strong> — sold in bulk for account takeover attempts</li>
|
|
<li><strong>Social Security Numbers</strong> — used for identity theft and tax fraud</li>
|
|
<li><strong>Home addresses</strong> — used for physical threats and doxxing</li>
|
|
</ul>
|
|
|
|
<h2>How ShieldAI Monitors for You</h2>
|
|
<p>ShieldAI continuously scans dark web marketplaces, forums, and known data leak repositories. When your monitored data appears in a new leak, we send you an immediate alert with details about what was exposed and recommended next steps.</p>
|
|
|
|
<h2>What to Do If Your Data Is Leaked</h2>
|
|
<ol>
|
|
<li>Change passwords immediately — use unique passwords for each service</li>
|
|
<li>Enable two-factor authentication everywhere</li>
|
|
<li>Freeze your credit if SSN was exposed</li>
|
|
<li>Monitor bank and credit card statements for unusual activity</li>
|
|
<li>Run a ShieldAI dark web scan to check for additional exposures</li>
|
|
</ol>`,
|
|
authorName: 'ShieldAI Team',
|
|
tags: ['dark web', 'data breach', 'identity theft'],
|
|
published: true,
|
|
},
|
|
{
|
|
slug: 'spam-call-statistics-2025',
|
|
title: 'Spam Call Statistics 2025: The Rise of AI-Powered Phone Scams',
|
|
excerpt: 'Spam calls are at an all-time high, and AI is making them harder to detect. Here are the latest numbers and what you can do to protect yourself.',
|
|
content: `<h2>The Scale of the Problem</h2>
|
|
<p>In 2025, Americans received an estimated 55 billion spam calls — an average of 15 calls per person per month. AI-powered scam calls now account for 40% of all phone fraud attempts, up from just 12% in 2023.</p>
|
|
|
|
<h2>Key Statistics</h2>
|
|
<ul>
|
|
<li>1 in 3 Americans report losing money to phone scams</li>
|
|
<li>Average loss per victim: $1,200</li>
|
|
<li>68% of scam calls now use AI-generated voices</li>
|
|
<li>Elderly individuals (65+) are 3x more likely to fall victim</li>
|
|
<li>Most common scam: fake tech support (32% of all reports)</li>
|
|
</ul>
|
|
|
|
<h2>Why Traditional Blocking Falls Short</h2>
|
|
<p>Traditional spam blockers rely on known phone number databases. But AI-powered scammers constantly rotate numbers, spoof caller IDs, and use voice cloning to bypass voice-based verification. ShieldAI's machine learning approach classifies calls based on behavioral patterns, not just number reputation — catching new scams that traditional methods miss.</p>`,
|
|
authorName: 'ShieldAI Team',
|
|
tags: ['spam calls', 'statistics', 'AI scams'],
|
|
published: true,
|
|
},
|
|
];
|
|
|
|
async function seed() {
|
|
console.log('Seeding blog posts...');
|
|
|
|
for (const post of blogPosts) {
|
|
const existing = await prisma.blogPost.findUnique({ where: { slug: post.slug } });
|
|
if (existing) {
|
|
console.log(` Skipping "${post.slug}" — already exists`);
|
|
continue;
|
|
}
|
|
|
|
await prisma.blogPost.create({
|
|
data: {
|
|
...post,
|
|
publishedAt: new Date(),
|
|
},
|
|
});
|
|
console.log(` Created "${post.slug}"`);
|
|
}
|
|
|
|
console.log('Seed complete!');
|
|
}
|
|
|
|
seed()
|
|
.catch((e) => {
|
|
console.error('Seed failed:', e);
|
|
process.exit(1);
|
|
})
|
|
.finally(async () => {
|
|
await prisma.$disconnect();
|
|
});
|