Spectra Assure
Community
Docs
failIncident: Malware
Scanned: 9 days ago

rand-user-agent

latest
malicious
This package is for getting latest agents and randomize it
License: Permissive (ISC)
Published: 6 months ago



SAFE Assessment

Compliance

Licenses
No license compliance issues
Secrets
No sensitive information found

Security

Vulnerabilities
No known vulnerabilities detected
Hardening
No application hardening issues

Threats

Tampering
2 malware-like behaviors found
Malware
4 supply chain attack artifacts

INCIDENTS:

malware
6 months agoReported By: Community (Aikido)
malware
6 months agoReported By: ReversingLabs (Researcher)
Learn more about malware detection

Popularity

6.39M
Recorded Downloads Since 2021
Contributor
Declared Dependencies
17
Dependents

Top issues

Problem

Proprietary ReversingLabs malware detection algorithms have determined that the software package contains one or more malicious components. The detection was made by either a static byte signature, software component identity, or a complete file hash. This malware detection method is considered highly accurate, and can typically attribute malware to previously discovered software supply chain attacks. It is common to have multiple supply chain attack artifacts that relate to a single malware incident.

Prevalence in npm community

0 packages
found in
Top 100
1 packages
found in
Top 1k
18 packages
found in
Top 10k
14717 packages
in community

Next steps

If the software intent does not relate to malicious behavior, investigate the build and release environment for software supply chain compromise.
Avoid using this software package.

Problem

Threat researchers have manually inspected the software package and determined that it contains one or more malicious files. The detection was made by a hash-based file reputation lookup. This malware detection method is considered highly accurate, and can typically identify the malware family by name.

Prevalence in npm community

0 packages
found in
Top 100
1 packages
found in
Top 1k
17 packages
found in
Top 10k
15236 packages
in community

Next steps

Investigate the build and release environment for software supply chain compromise.
Avoid using this software package.

Problem

Software components contain executable code that performs actions implemented during its development. These actions are called behaviors. In the analysis report, behaviors are presented as human-readable descriptions that best match the underlying code intent. While most behaviors are benign, some are exclusively used by malicious software with the intent to cause harm. When a software package matches behavior traits of malicious software, it becomes flagged by security solutions. It is highly likely that the software package was tampered with by a malicious actor or a rogue insider. Detected threat type matches the behaviors typically exhibited by the backdoor malware profile. Backdoors are commonly used by malicious actors to gain unauthorized access to exposed computer systems over the internet. However, due to high-privilege access requirements, some security solutions may also trigger this detection when analyzed.

Prevalence in npm community

0 packages
found in
Top 100
0 packages
found in
Top 1k
0 packages
found in
Top 10k
510 packages
in community

Next steps

Investigate reported detections.
If the software intent does not relate to the reported behavior, investigate your build and release environment for software supply chain compromise.
You should delay the software release until the investigation is completed.
In the case this behavior is intended, rewrite the flagged code without using the malware-like behaviors.

Problem

Software developers use programming and design knowledge to build reusable software components. Software components are the basic building blocks for modern applications. Software consumed by an enterprise consists of hundreds, and sometimes even thousands of open source components. Software developers publish components they have authored to public repositories. Some open source repositories allow the developers to take down software component versions that they have published. For open source projects, version unpublishing is uncommon. Versions are typically removed due to a security incident, such as malicious code tampering or accidental development secrets exposure. Software developers often prioritize taking down such packages before informing the community that they have experienced a security incident. Therefore, it is prudent to review the reasons behind software version removals as these events might be a signal of an ongoing software supply chain attack.

Prevalence in npm community

No prevalence information at this time

Next steps

Review software component documentation for the reasons behind the recent version removal.
If the software version was removed due to a security incident, investigate the build and release environment for software supply chain compromise.
Revise the use of components that raise these alarms. If you can't deprecate those components, make sure that their versions are pinned.
Avoid using this software package until it is vetted as safe.

Problem

Diligent software developers audit the source code of a component before it gets included in the software project. This audit often includes reviewing key pieces of code hosted in a public source repository. Aiming to avoid detection through spot-checks, attackers often hide malicious payloads by placing the code outside the common screen width. Depending on how the code editor used for review is configured, the malicious code might never be shown to the developer during the audit. Since many programming languages allow multiple statements to be made in the same line of code, both visible and off-screen code will be executed. While presence of code outside the common screen width does not imply malicious intent, all of its uses in a software package should be documented and approved. When a software package has behavior traits similar to malicious software, it may become flagged by security solutions.

Prevalence in npm community

1 packages
found in
Top 100
23 packages
found in
Top 1k
121 packages
found in
Top 10k
15859 packages
in community

Next steps

Investigate reported detections as indicators of software tampering.
Consult Mitre ATT&CK documentation: T1027 - Obfuscated Files or Information.
Consider rewriting the flagged code without using the marked behaviors.

Top behaviors

Prevalence in npm community

No behavior prevalence information at this time

Prevalence in npm community

Behavior often found in this community (Common)
1 packages
found in
Top 100
23 packages
found in
Top 1k
121 packages
found in
Top 10k
15859 packages
in community

Prevalence in npm community

Behavior often found in this community (Common)
32 packages
found in
Top 100
147 packages
found in
Top 1k
2296 packages
found in
Top 10k
636391 packages
in community

Prevalence in npm community

Behavior often found in this community (Common)
29 packages
found in
Top 100
108 packages
found in
Top 1k
1580 packages
found in
Top 10k
539480 packages
in community

Prevalence in npm community

Behavior often found in this community (Common)
34 packages
found in
Top 100
219 packages
found in
Top 1k
3011 packages
found in
Top 10k
1167590 packages
in community

Top vulnerabilities

No vulnerabilities found.