A tool for parsing traffic on the jetstream and applying a moderation workstream based on regexp based rules
1import type { AccountAgeCheck } from "../src/types.js";
2
3/**
4 * Account age monitoring configurations
5 *
6 * Labels new accounts that interact with monitored DIDs or posts.
7 * Useful for protecting high-profile accounts from coordinated harassment.
8 * Configure your checks below.
9 */
10export const ACCOUNT_AGE_CHECKS: AccountAgeCheck[] = [
11 // Example - monitor replies to specific accounts:
12 // {
13 // monitoredDIDs: ["did:plc:example123", "did:plc:example456"],
14 // anchorDate: "2025-01-15", // Only check accounts created after this date
15 // maxAgeDays: 7, // Flag accounts younger than 7 days
16 // label: "new-account-reply",
17 // comment: "New account replying to monitored user",
18 // expires: "2025-02-15", // Stop checking after this date
19 // },
20
21 // Example - monitor replies/quotes to specific posts:
22 // {
23 // monitoredPostURIs: [
24 // "at://did:plc:xyz/app.bsky.feed.post/abc123",
25 // "at://did:plc:xyz/app.bsky.feed.post/def456",
26 // ],
27 // anchorDate: "2025-01-20",
28 // maxAgeDays: 3,
29 // label: "new-account-quote",
30 // comment: "New account quoting monitored post",
31 // },
32
33 // Example - combine both DID and post monitoring:
34 // {
35 // monitoredDIDs: ["did:plc:high-profile"],
36 // monitoredPostURIs: ["at://did:plc:high-profile/app.bsky.feed.post/viral"],
37 // anchorDate: "2025-01-01",
38 // maxAgeDays: 14,
39 // label: "new-account-interaction",
40 // comment: "New account interacting with high-profile content",
41 // expires: "2025-03-01",
42 // },
43];