Repository navigation
Open
Description
Hi! We are testing SCANOSS for to do snippet scanning on Erlang/OTP.
In the freemium model, we noticed that there are some false positives in the reported purl field, and I believe the issue could be in the implementation of how one detects or reports purls. This is pure guess, because it is odd that someone uses the following ilegal purl: pkg:golang/github.com/erlang/otp
As an example, I run the SCANOSS scanner in our runtime system and upon inspection, I observe the following:
Command:
scanoss-py scan -o scan-output2.json ertsOutput
"emulator/beam/erl_gc.h": [
{
"component": "otp",
"file": "erts/emulator/beam/erl_gc.h",
"file_hash": "6cb7a929f838fc901ed75cf751e97fab",
"file_url": " ",
"hits": 87,
"id": "snippet",
"latest": "OTP-25.2.3",
"licenses": [
{
"checklist_url": "https://www.osadl.org/fileadmin/checklists/unreflicenses/Apache-2.0.txt",
"copyleft": "no",
"name": "Apache-2.0",
"osadl_updated": "2026-02-12T16:31:00+0000",
"patent_hints": "yes",
"source": "component_declared",
"url": "https://spdx.org/licenses/Apache-2.0.html"
}
],
"lines": "30-214",
"matched": "85%",
"oss_lines": "26-210",
"purl": [
"pkg:github/erlang/otp",
"pkg:conda/erlang",
"pkg:maven/com.ericsson.otp.erlang.lfe/otperlang",
"pkg:golang/github.com/erlang/otp" <----------- HERE
],
"release_date": "2022-05-17",
"server": {
"kb_version": {
"daily": "26.10.08",
"monthly": "26.09"
},
"version": "5.4.27"
},
"source_hash": "3e0e0f7da59fc1aa5d17671774371967",
"status": "pending",
"url": "https://github.com/erlang/otp",
"url_hash": "3ee82453b408ef1aae3ead7fb43067ca",
"vendor": "erlang",
"version": "OTP-25.0"
}
],
Let me know if I can help giving more examples or similar.
Thanks for working on snippet scanning!
Keep up the good work!
Kiko Fernandez-Reyes, PhD
Erlang/OTP core member
Erlang Ecosystem Foundation board member
Metadata
Metadata
Assignees
Labels
No labels
Activity
kikofernandez commentedon Oct 9, 2026
I also found another instance where the data is almost correct :)
Erlang/OTP vendors
asmjitbut the result shows apurllinked togolang.Example found when reading the entry for
"emulator/asmjit/arm/a64assembler.cpp"