Benign go Download

github.com/twirapp/twir/libs/integrations v0.0.0-20260720164507-2bb3aba250eb

AI agent instruction filenameCreates a new HTTP request
SHA-256c414f578d41419fa370810a8b072abe47ca44a13a9f35474df7a5ee96f56b0ab
MaleculeH₂(Cm₃F)

Evidence

References Go net/http standard package history.go · lines 1–15
⋯5 lines
6 "fmt"
7 "io"
8 "net/http"
9 "strings"
10)
⋯5 lines
Sets HTTP Authorization header history.go · lines 128–141
128:45… com/v1/me/player/recently-played?limit=%d", limit)
129 req, err := http.NewRequestWithContext(ctx, http.MethodGet, apiUrl, nil)
130 if err != nil {
131 return nil, fmt.Errorf("failed to create request: %w", err)
132 }
133 req.Header.Set("Authorization", "Bearer "+c.channelIntegration.AccessToken)
134
135 resp, err := http.DefaultClient.Do(req)
136 if err != nil {
137 return nil, err
⋯4 lines
Creates a new HTTP request spotify.go · lines 65–79
⋯6 lines
71 formData.Set("refresh_token", c.channelIntegration.RefreshToken)
72
73 req, err := http.NewRequestWithContext(
74 ctx,
75 http.MethodPost,
⋯4 lines
Sets HTTP Content-Type header lastfm.go · lines 123–142
123:2… } else {
124 requestURL += "?" + params.Encode()
125 }
126
127 req, err := http.NewRequestWithContext(
128 ctx,
129 method,
⋯5 lines
135 }
136 if method == http.MethodPost {
137 req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
138 }
139
140 resp, err := c.httpClient.Do(req)
141 if err != nil {
142 return fmt.Errorf("failed to per …
Imports the Gorilla WebSocket library in Go go.mod · lines 27–32
27:27… v0.10.5 // indirect
28 github.com/google/uuid v1.6.0 // indirect
29 github.com/gorilla/websocket v1.5.3 // indirect
30 github.com/guregu/null v4.0.0+incompatible // indirect
31 github.com/jinzhu/inflection v1.0.0 // indirect
32 gi …

Showing the top 5 files — 1 more file (13 regions) not shown.

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.