{"id":50815686,"url":"https://github.com/corvid-agent/fledge-plugin-test-network","last_synced_at":"2026-06-13T09:06:29.820Z","repository":{"id":355855734,"uuid":"1227587296","full_name":"corvid-agent/fledge-plugin-test-network","owner":"corvid-agent","description":"WASM plugin testing network capability for fledge — verifies outbound TCP connections via WASI sockets","archived":false,"fork":false,"pushed_at":"2026-05-05T14:22:44.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-05T16:27:18.852Z","etag":null,"topics":["fledge","fledge-plugin","testing","wasm"],"latest_commit_sha":null,"homepage":"https://corvid-agent.github.io/fledge-plugin-test-network/","language":"Rust","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/corvid-agent.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-05-02T22:22:04.000Z","updated_at":"2026-05-05T14:25:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/corvid-agent/fledge-plugin-test-network","commit_stats":null,"previous_names":["corvid-agent/fledge-plugin-test-network"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/corvid-agent/fledge-plugin-test-network","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Ffledge-plugin-test-network","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Ffledge-plugin-test-network/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Ffledge-plugin-test-network/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Ffledge-plugin-test-network/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corvid-agent","download_url":"https://codeload.github.com/corvid-agent/fledge-plugin-test-network/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Ffledge-plugin-test-network/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34278239,"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-06-13T02:00:06.617Z","response_time":62,"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":["fledge","fledge-plugin","testing","wasm"],"created_at":"2026-06-13T09:06:28.958Z","updated_at":"2026-06-13T09:06:29.799Z","avatar_url":"https://github.com/corvid-agent.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fledge-plugin-test-network\n\nWASM test plugin for the [fledge](https://github.com/CorvidLabs/fledge) `network` capability.\n\n## What it tests\n\nVerifies that WASM plugins can make outbound TCP connections when granted `network = true` in `plugin.toml`. Tests the socket API availability through WASI, and confirms that other capabilities remain blocked.\n\n**Note**: WASI Preview 1 (`wasm32-wasip1`) does not expose a native socket API. The `network = true` capability calls `inherit_network()` on the WASI context, but actual TCP connections require WASI Preview 2 or a custom `fledge::http` host import. This plugin detects and reports the distinction between \"unsupported\" (WASI P1 limitation) and actual connection errors.\n\nRuns the following test cases:\n\n- **TCP to Google DNS** -- outbound TCP to `8.8.8.8:53`\n- **TCP to Cloudflare** -- outbound TCP to `1.1.1.1:443`\n- **Raw HTTP via TCP** -- sends an HTTP GET to `example.com:80` over raw TCP\n- **Localhost** -- tests loopback connection to `127.0.0.1`\n- **Negative tests** -- filesystem and process spawn are blocked (only `network` is granted)\n\n## Capability exercised\n\n```toml\n[capabilities]\nexec = false\nstore = false\nmetadata = false\nfilesystem = \"none\"\nnetwork = true\n```\n\n## Install and run\n\n```bash\nfledge plugins install corvid-agent/fledge-plugin-test-network\nfledge plugins run test-network\n```\n\n## Build from source\n\n```bash\nrustup target add wasm32-wasip1\ncargo build --target wasm32-wasip1 --release\n```\n\nThe compiled WASM binary is written to `target/wasm32-wasip1/release/test-network.wasm`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorvid-agent%2Ffledge-plugin-test-network","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorvid-agent%2Ffledge-plugin-test-network","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorvid-agent%2Ffledge-plugin-test-network/lists"}