{"id":28549691,"url":"https://github.com/akacdev/sinkingyachts","last_synced_at":"2025-06-30T06:07:26.289Z","repository":{"id":37414665,"uuid":"504917724","full_name":"akacdev/SinkingYachts","owner":"akacdev","description":"A C# library for detecting Discord/Steam phishing links using the Sinking Yachts API.","archived":false,"fork":false,"pushed_at":"2024-02-04T20:17:56.000Z","size":306,"stargazers_count":16,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-10T02:11:55.777Z","etag":null,"topics":["anti-phishing","anti-scam","discord","phish","phishing","scam","sinking-yachts","steam"],"latest_commit_sha":null,"homepage":"https://www.nuget.org/packages/SinkingYachts","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/akacdev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-18T18:12:02.000Z","updated_at":"2024-08-02T15:57:57.000Z","dependencies_parsed_at":"2024-02-04T21:46:14.106Z","dependency_job_id":null,"html_url":"https://github.com/akacdev/SinkingYachts","commit_stats":null,"previous_names":["actually-akac/sinkingyachts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akacdev/SinkingYachts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FSinkingYachts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FSinkingYachts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FSinkingYachts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FSinkingYachts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akacdev","download_url":"https://codeload.github.com/akacdev/SinkingYachts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akacdev%2FSinkingYachts/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262720641,"owners_count":23353450,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anti-phishing","anti-scam","discord","phish","phishing","scam","sinking-yachts","steam"],"created_at":"2025-06-10T02:11:53.751Z","updated_at":"2025-06-30T06:07:26.280Z","avatar_url":"https://github.com/akacdev.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sinking Yachts 🐟\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg width=\"256\" height=\"256\" src=\"https://raw.githubusercontent.com/actually-akac/SinkingYachts/master/SinkingYachts/icon.png\"\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  A C# library for detecting Discord/Steam phishing links using the Sinking Yachts API. \n\u003c/div\u003e\n\n\u003cbr\u003e\n\n\u003e **Warning**\u003cbr\u003e\n\u003e Sinking Yachts is currently in the process of being discontinued and replaced with the upstream [Fish Fish API](https://fishfish.gg).\n\u003e Expect this library to eventually become archived and marked as deprecated.\n\u003e Daily statistics have already been shut down.\n\n## Usage\nAvailable on NuGet as `SinkingYachts`, methods are available under the public class `YachtsClient`.\n\nhttps://www.nuget.org/packages/SinkingYachts\n\n## Features\n- Made with **.NET 6**\n- Fully async\n- Access to a Discord-related phishing database of over `15 500` confirmed malicious domains\n- Regex matching of domains and automatic phishing detection\n- Different modes for storing and loading phishing domains\n- Instant updates through **WebSocket events**\n- Domain whitelisting to decrease false positives\n- Customizable caching to decrease load\n\n## Example Project\nUnder the `Example` directory you can find a working demo Discord bot that implements this library.\n```rust\n07.09. 19:13:59 [Discord] Discord.Net v3.8.0 (API v9)\n07.09. 19:13:59 [Gateway] Connecting\n07.09. 19:14:01 [Gateway] Connected\n07.09. 19:14:02 [Bot] Ready to protect your server from 15601 phishing domains\n07.09. 19:14:02 [Bot] Domains added within the past day: 8\n07.09. 19:14:02 [Bot] Domains deleted within the past day: 0\n07.09. 19:14:02 [Gateway] Ready\n```\n\n## Code Samples\n\n### Check message content\n```csharp\nbool isPhishing = await Yachts.IsPhishing(\"hello https://hypesquadacademy-apply.ml\");\n//👉 True\n```\n\n### Check a domain\n```csharp\nbool isPhishing = await Yachts.IsPhishingDomain(\"warning-selectioneventhype.gq\");\n//👉 True\n```\n\n### Get the latest domains\n```csharp\nstring[] domains = (await Yachts.GetRecent(TimeSpan.FromDays(1))).Where(x =\u003e x.Type == ChangeType.Add).SelectMany(x =\u003e x.Domains).ToArray();\n//👉 steamcommunitysiv.top, wvwww-roblox.com, discord-download.win, steamcoumunity.eu, streamcummonity.com, streamcommunity.org, join-event-hypesquad.com, steamcommunityzowe.top\n```\n\n### Get the database size\n```csharp\nint size = await Yachts.GetDatabaseSize();\n//👉 15601\n```\n\n## Available methods\n- Task\u003cChange[]\u003e GetRecent(TimeSpan time)\n- Task\u003cChange[]\u003e GetRecent(int seconds)\n- Task\u003cbool\u003e IsPhishing(string content)\n- Task\u003cbool\u003e IsPhishingDomain(string domain)\n- Task\u003cint\u003e GetDatabaseSize()\n- Task\u003cstring[]\u003e GetPhishingDomains()\n\n## Available events (requires `StorageMode.LocalWS`)\n- EventHandler\\\u003cstring\u003e DomainAdded\n- EventHandler\\\u003cstring\u003e DomainDeleted\n\n## Statistics from the past week\n| Date | New domains found |\n| :---: | :---: |\n| 10.11.2022 | + `37` |\n| 11.11.2022 | + `14` |\n| 12.11.2022 | + `25` |\n| 13.11.2022 | + `23` |\n| 14.11.2022 | + `21` |\n| 15.11.2022 | + `30` |\n| 16.11.2022 | + `14` |\n\n## Recently flagged domains\n```ruby\nstcommunity.click\nsteamppowered.store\nsteamcommunltu.online\nsteamncommnuity.com\nstaemconnunity.ru\nsteamcomrunity.ru\ndlscordjbost.com\nsteamcommynltiy.net.ru\nsteamcommynltiy.pp.ru\nsteancommunutty.ru\nhypesquad-gg.com\n```\n\n## Missing domains\nFound a Discord/Steam phishing domain that isn't yet present in the database? Send it into the `#domain-reports` channel on our Discord server or open an **issue** in this repository. \n  \n## Resources\nThe official Sinking Yachts Discord server has disabled invites at the moment. This will be updated once the server is open to the public again.  \n\n- Official website: https://sinking.yachts\n- Email: admin@fishfish.gg, sinkingyachts@gmail.com\n- GitHub: https://github.com/SinkingYachts\n- Blog: https://sinking.yachts/blog/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakacdev%2Fsinkingyachts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakacdev%2Fsinkingyachts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakacdev%2Fsinkingyachts/lists"}