Togoder security

Go module security report

github.com/pelletier/go-toml/v2 Go module v2.2.4: is it safe?

Medium: risky but common patterns, not malware.

Needs review Version v2.2.4 Files reviewed 36 Size 165.9 KB Scanned

Summary

Togoder Security scanned the Go package github.com/pelletier/go-toml/v2@v2.2.4 on Nov 2, 2026. An AI review of 36 source files produced 1 medium, 1 low severity findings. The overall verdict is medium: the findings flag risky but common patterns that the package's purpose explains (dynamic code, telemetry, native installers, broad file or network access), not malware.

0
critical
0
high
1
medium
1
low

Findings 2

Login to view the findings

What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.

Files reviewed

FileVerdictResult
internal/danger/typeid.go medium 1 finding
internal/danger/danger.go low 1 finding
cmd/gotoml-test-decoder/main.go safe Clear
cmd/gotoml-test-encoder/gotoml-test-encoder.go safe Clear
cmd/jsontoml/main.go safe Clear
cmd/tomljson/main.go safe Clear
cmd/tomll/main.go safe Clear
cmd/tomltestgen/main.go safe Clear
decode.go safe Clear
doc.go safe Clear
errors.go safe Clear
internal/assert/assertions.go safe Clear
internal/characters/ascii.go safe Clear
internal/characters/utf8.go safe Clear
internal/cli/cli.go safe Clear
internal/testsuite/add.go safe Clear
internal/testsuite/json.go safe Clear
internal/testsuite/parser.go safe Clear
internal/testsuite/rm.go safe Clear
internal/testsuite/testsuite.go safe Clear
internal/tracker/key.go safe Clear
internal/tracker/seen.go safe Clear
internal/tracker/tracker.go safe Clear
localtime.go safe Clear
marshaler.go safe Clear
Show 11 more files
FileVerdictResult
ossfuzz/fuzz.go safe Clear
strict.go safe Clear
types.go safe Clear
unmarshaler.go safe Clear
unstable/ast.go safe Clear
unstable/builder.go safe Clear
unstable/doc.go safe Clear
unstable/kind.go safe Clear
unstable/parser.go safe Clear
unstable/scanner.go safe Clear
unstable/unmarshaler.go safe Clear

Scanned versions of github.com/pelletier/go-toml/v2

VersionVerdictFilesScanned
v2.2.4 Needs review 36 Nov 2, 2026

Frequently asked questions

Is github.com/pelletier/go-toml/v2 safe to use?

No confirmed malware was found in github.com/pelletier/go-toml/v2@v2.2.4, but the review flagged 1 medium, 1 low severity findings for risky patterns worth checking before you rely on it.

Does github.com/pelletier/go-toml/v2 contain malware?

No malware was identified in github.com/pelletier/go-toml/v2@v2.2.4 when Togoder Security scanned it on Nov 2, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.

How was github.com/pelletier/go-toml/v2 checked?

Togoder Security downloaded the published Go package and had an AI model read its 36 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.

How do I scan github.com/pelletier/go-toml/v2 together with the rest of my dependencies?

Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in github.com/pelletier/go-toml/v2@v2.2.4, cost nothing.

Related security reports