{"id":20640530,"url":"https://github.com/kovart/challenge-2","last_synced_at":"2026-07-08T08:31:18.039Z","repository":{"id":97651941,"uuid":"421178391","full_name":"kovart/challenge-2","owner":"kovart","description":"Agent for a well-known security protocol 🤫","archived":false,"fork":false,"pushed_at":"2021-10-25T20:46:30.000Z","size":172,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-27T00:35:31.572Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kovart.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2021-10-25T20:41:36.000Z","updated_at":"2021-10-25T20:46:32.000Z","dependencies_parsed_at":"2023-05-01T13:35:06.928Z","dependency_job_id":null,"html_url":"https://github.com/kovart/challenge-2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kovart/challenge-2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kovart","download_url":"https://codeload.github.com/kovart/challenge-2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kovart%2Fchallenge-2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35258965,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-16T15:29:48.004Z","updated_at":"2026-07-08T08:31:18.014Z","avatar_url":"https://github.com/kovart.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Compound Unusual Transfer Agent\n\n## Description\n\nThis agent monitors Ethereum network and detects large/unusual transfers out of Comptroller Contract.\n\n## Compound Configs\n\nTo make the agent more testable, all Compound configs are parsed\nfrom the [compound-finance/compound-config](https://github.com/compound-finance/compound-config)\nofficial repository and used depending on the `network` property provided in the transaction event.\n\n## Settings\n\nBasic setup contains four variables:\n\n```js\nconst MAX_AMOUNT = utils.parseEther('10000'); // alert if transfer amount is more than 10000 COMP Tokens\nconst MIN_ORGANIC_TRANSACTIONS = 1000; // start analyzing organic increase rate after 1000 transactions\nconst ORGANIC_INCREASE_RATE = 5.5; // alert if amount is increased by more than 550% from the previous max amount\nconst EXPIRE_INTERVAL = 10 * 24 * 60 * 60 * 1000; // keep history for 10 days\n```\n\n## Supported Chains\n\n- Ethereum\n\n## Alerts\n\n- COMP-COMPTROLLER-UNUSUAL-TRANSFER-0\n  - Fired when Comptroller contract transfers a large amount of COMP tokens or if the transfer amount looks inorganic\n  - Severity is set to \"high\" if it is an unusual transfer, and \"critical\" if it is a large transfer\n  - Type is always set to \"suspicious\"\n  - `Metadata` \n    - `from` From address\n    - `to` To address\n    - `amount` Amount of COMP tokens \n  \n\n\n## Test Data\n\nThe agent behaviour can be verified with the following transactions (Mainnet):\n\n- 0x63e1d1eb27f05813b1e7034379a8849d2ce12f90b366ab3a61efdbcdb3724c11 ([Large amount](https://etherscan.io/tx/0x63e1d1eb27f05813b1e7034379a8849d2ce12f90b366ab3a61efdbcdb3724c11))\n- 0x2f644eb0cd32b83e9d5aa7e633e3d8ad35355201cbb218210203ec95dc95c720 ([Large amount](https://etherscan.io/tx/0x2f644eb0cd32b83e9d5aa7e633e3d8ad35355201cbb218210203ec95dc95c720))\n\n\n\u003e Unfortunately, the detection of unusual (inorganic) transactions can only be tested with continuous event processing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkovart%2Fchallenge-2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkovart%2Fchallenge-2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkovart%2Fchallenge-2/lists"}