{"id":23644557,"url":"https://github.com/appatalks/sanctions-compliance","last_synced_at":"2026-05-06T03:31:27.085Z","repository":{"id":233184728,"uuid":"786243728","full_name":"appatalks/sanctions-compliance","owner":"appatalks","description":"US/EU sanctions compliance review, report and submission","archived":false,"fork":false,"pushed_at":"2024-05-13T18:06:39.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-10T15:26:06.926Z","etag":null,"topics":["automation","bash","compliance","discovery","european-union","notify","sanctions","treasury"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/appatalks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2024-04-13T21:16:01.000Z","updated_at":"2024-05-13T18:06:42.000Z","dependencies_parsed_at":"2024-04-15T16:33:10.491Z","dependency_job_id":"d856033e-8a2d-4827-9647-952159cd3837","html_url":"https://github.com/appatalks/sanctions-compliance","commit_stats":null,"previous_names":["appatalks/sanctions-compliance"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/appatalks/sanctions-compliance","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2Fsanctions-compliance","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2Fsanctions-compliance/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2Fsanctions-compliance/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2Fsanctions-compliance/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/appatalks","download_url":"https://codeload.github.com/appatalks/sanctions-compliance/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/appatalks%2Fsanctions-compliance/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32677870,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-06T02:33:58.958Z","status":"ssl_error","status_checked_at":"2026-05-06T02:33:39.611Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["automation","bash","compliance","discovery","european-union","notify","sanctions","treasury"],"created_at":"2024-12-28T12:31:15.578Z","updated_at":"2026-05-06T03:31:27.068Z","avatar_url":"https://github.com/appatalks.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sanction Compliance Discovery Tool and Notification\n\n\u003e [!IMPORTANT]\n\u003e Manually verify and update reports for best results.\n\n## Overview\n\nThe _**Sanctions Compliance Discovery Tool**_ is designed to assist security researchers and compliance officers in monitoring and analyzing entities that may be subject to ```EU``` and ```US``` sanctions. This tool automates the retrieval and analysis of sanctions lists to identify and report on entities potentially violating these sanctions. By streamlining the process of sanctions compliance, this tool helps ensure that organizations under ```EU``` and ```US``` jurisdiction can efficiently adhere to [regulatory requirements](https://ofac.treasury.gov/) and mitigate the risks of [legal penalties](https://www.consilium.europa.eu/en/press/press-releases/2024/04/12/council-gives-final-approval-to-introduce-criminal-offences-and-penalties-for-eu-sanctions-violation/).\n\n## Features\n\n- **Automated Downloads**: Downloads the latest ```EU``` and ```US``` sanctions lists directly from official sources.\n- **Data Extraction**: Extracts ```domain names``` and performs ```DNS lookups``` to gather associated ```IP addresses```.\n- **WHOIS Lookups**: Retrieves ```ownership``` and ```contact information``` for ```IP addresses```, highlighting potential sanctions violations.\n- **Report Generation**: Creates detailed reports based on the extracted and analyzed data, formatted for compliance submissions.\n- **Interactive Emailing**: Allows users to email reports directly from the script, targeting relevant parties.\n\n## Installation\n\nTo use the _**Sanctions Compliance Discovery Tool**_, you need a bash environment with `curl`, `jq`, `grep`, `awk`, `sed`, and `mail` (or a similar mail utility) installed. Follow these steps to set up the script:\n\n1. **Clone the Repository**:\n   ```bash\n   git clone https://github.com/appatalks/sanctions-compliance.git\n   cd sanctions-compliance\n   ```\n\n2. **Set Executable Permissions**:\n   ```bash\n   chmod +x compliance_discovery.sh\n   ```\n\n3. **Configure Mail Utility**:\n   - Ensure that your system's mail utility is configured correctly to send emails. This might involve setting up `sendmail` or `postfix`.\n\n## Usage\n\nRun the script directly from the command line:\n\n```bash\n./compliance_discovery.sh\n```\n\nYou are prompted and encouraged to review, **verify** and modify the generated reports as needed and optionally email these reports to specified recipients.\n\n### Configuring the Script\n\nEdit the following variables within the script to suit your needs:\n\n- `COUNTRY_CODE`: Optionally change this to the country code ```TLD``` you wish to filter (.ru, .by, .ir, .cn, etc.).\n- `DNS`: Set this to your preferred ```DNS resolver``` if not using the default.\n\n## Contributing\n\nContributions to the Sanctions Compliance Discovery Tool are welcome. Please fork the repository, make your changes, and submit a pull request.\n\n## License\n\nThis project is licensed under the ```GNU General Public License v3.0``` - see the [LICENSE](LICENSE) file for details.\n\n## Support\n\nIf you encounter any problems or have suggestions, please open an issue in the repository.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappatalks%2Fsanctions-compliance","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fappatalks%2Fsanctions-compliance","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fappatalks%2Fsanctions-compliance/lists"}