> For the complete documentation index, see [llms.txt](https://whitepaper.ethos.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://whitepaper.ethos.network/security/smart-contract-audits.md).

# Smart Contract Audits

Ethos completed two smart contract audits through Sherlock.xyz for Ethos.Network

<table data-full-width="true"><thead><tr><th width="245">Audit</th><th>Date</th><th data-type="content-ref">Competition Link</th><th data-type="content-ref">Judging Link</th><th data-type="content-ref">PDF Report</th></tr></thead><tbody><tr><td>Ethos 1 (Social Contracts)</td><td>November 3rd, 2024</td><td><a href="https://github.com/sherlock-audit/2024-10-ethos-network">https://github.com/sherlock-audit/2024-10-ethos-network</a></td><td><a href="https://github.com/sherlock-audit/2024-10-ethos-network-judging">https://github.com/sherlock-audit/2024-10-ethos-network-judging</a></td><td><a href="https://github.com/sherlock-audit/2024-10-ethos-network-judging/blob/main/Audit_Report.pdf">https://github.com/sherlock-audit/2024-10-ethos-network-judging/blob/main/Audit_Report.pdf</a></td></tr><tr><td>Ethos 2 (Financial Contracts)</td><td>Dec 5, 2024</td><td><a href="https://github.com/sherlock-audit/2024-11-ethos-network-ii">https://github.com/sherlock-audit/2024-11-ethos-network-ii</a></td><td><a href="https://github.com/sherlock-audit/2024-11-ethos-network-ii-judging">https://github.com/sherlock-audit/2024-11-ethos-network-ii-judging</a></td><td><a href="https://github.com/sherlock-audit/2024-11-ethos-network-ii-judging/blob/main/Audit_Report.pdf">https://github.com/sherlock-audit/2024-11-ethos-network-ii-judging/blob/main/Audit_Report.pdf</a></td></tr><tr><td>Ethos 3 (Reputation Market)</td><td>Dec 30, 2024</td><td><a href="https://github.com/sherlock-audit/2024-12-ethos-update">https://github.com/sherlock-audit/2024-12-ethos-update</a></td><td><a href="https://github.com/sherlock-audit/2024-12-ethos-update-judging">https://github.com/sherlock-audit/2024-12-ethos-update-judging</a></td><td><a href="https://github.com/sherlock-audit/2024-12-ethos-update-judging/blob/main/Audit_Report.pdf">https://github.com/sherlock-audit/2024-12-ethos-update-judging/blob/main/Audit_Report.pdf</a></td></tr></tbody></table>

## Contract Upgrades

Ethos deployed the following smart contract upgrades:

| Change                                            | Description                                                                         | Audited                                                             | Transaction                                                                                               |
| ------------------------------------------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------- |
| Update Vouch After Attestation (Vouch Contract)   | If you vouch for a social identity, update the Subject Profile Id upon attestation. | <img src="/files/5ruQIcYuGPv4wwVCF60C" alt="" data-size="original"> | <https://basescan.org/tx/0xe2e83110a708016ac45ef5b50c514cb09b16a476c5b2da966351f310d5b426c1#eventlog#539> |
| Update Vouch After Attestation (Profile Contract) | If you vouch for a social identity, update the Subject Profile Id upon attestation. | <img src="/files/5ruQIcYuGPv4wwVCF60C" alt="" data-size="original"> | <https://basescan.org/tx/0xaae965a3f277c66d488cceab54a3ac7232187df13da49675fc724bf5d90681ea#eventlog#306> |
| Empty Array Check                                 | Avoid attempts to pop() from an empty vouch tracking index.                         | <img src="/files/5ruQIcYuGPv4wwVCF60C" alt="" data-size="original"> | <https://basescan.org/tx/0xfd5197a6fc15315b11e170b7612d91ad643730e8a9180b16326e07c805d9e8a4>              |
