{"id":19528849,"url":"https://github.com/netspi/silkwasm","last_synced_at":"2026-03-13T11:31:31.535Z","repository":{"id":224608324,"uuid":"760672815","full_name":"NetSPI/silkwasm","owner":"NetSPI","description":"HTML Smuggling with Web Assembly","archived":false,"fork":false,"pushed_at":"2024-02-20T18:20:14.000Z","size":10,"stargazers_count":59,"open_issues_count":1,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-26T11:38:00.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/NetSPI.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}},"created_at":"2024-02-20T18:13:47.000Z","updated_at":"2025-04-21T04:12:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2677c4a-13ee-46b1-a572-684b6a38e2d7","html_url":"https://github.com/NetSPI/silkwasm","commit_stats":null,"previous_names":["netspi/silkwasm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NetSPI/silkwasm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2Fsilkwasm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2Fsilkwasm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2Fsilkwasm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2Fsilkwasm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NetSPI","download_url":"https://codeload.github.com/NetSPI/silkwasm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NetSPI%2Fsilkwasm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30466314,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T11:00:43.441Z","status":"ssl_error","status_checked_at":"2026-03-13T11:00:23.173Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":[],"created_at":"2024-11-11T01:20:18.196Z","updated_at":"2026-03-13T11:31:31.516Z","avatar_url":"https://github.com/NetSPI.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Silk Wasm\n\nObfuscate your HTML Smuggling with web assembly!\n\n## Prerequisites\n\nTo use SilkWASM, you must have [golang](https://go.dev/doc/install) installed as this is used to compile the WASM files. \n\nIn addition, for smaller payloads, you can use [tinygo](https://tinygo.org/getting-started/)\n\n## Installing SilkWasm\n\nFirst, build the tool:\n\n```sh\ngo build -o silkwasm silkwasm.go\n```\n\nNow ensure you move the binary to your path, e.g. ~/go/bin/\n\n**Run silkwasm in a folder that does not contain go-code**\nRunning silkwasm in the same folder as another go project will not work, and will confuse any go.mod/go.sum files.\n\nPlease note that \n\n## Using SilkWasm\nOnce you have a payload to smuggle, executing silkwasm is simple:\n\n```sh\nsilkwasm gen -i \u003csmuggling payload.txt\u003e -f \u003cwasmfuncname\u003e\n```\n\nThis will create several files, the two key ones are your .wasm file, and the html example file. \n\nPlace these in your webroot, along with the correct wasm_exec.js for your build of go. It's usually here: `$(go env GOROOT)/misc/wasm/wasm_exec.js)`\n\nPlease note, tinygo uses a different wasm_exec.js, usually found here: `$(tinygo env TINYGOROOT)/targets/wasm_exec.js`\n\nAnd that is it! You'll need to modify your html to suit your pretext, the example html contains only the bare minimum JavaScript to run the html smuggle.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetspi%2Fsilkwasm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetspi%2Fsilkwasm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetspi%2Fsilkwasm/lists"}