MAL-2026-6111

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@rafaelsene01/agent-flow/MAL-2026-6111.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-6111
Aliases
  • GHSA-rhv6-f4px-2cf4
Published
2026-06-18T05:19:16Z
Modified
2026-07-08T23:46:55.246875343Z
Summary
Malicious code in @rafaelsene01/agent-flow (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (3855afe87d31e428546f226e1da9236cd0e4dc45a477afb9f6ba1c707a4b05ec)

The package's main and bin entry, dist/agent-flow.js, is shipped as a heavily obfuscated bundle produced by javascript-obfuscator (declared as a devDependency in package.json). After deobfuscation, the runtime behavior matches the advertised purpose: a local Express server bound to 127.0.0.1:5522 that talks to api.github.com using the user-provided GHTOKEN/GITHUBTOKEN environment variable (or the local gh auth token output), manages git worktrees, and spawns the local claude CLI. No remote code fetch, no eval of remote content, no read of installer secret paths (~/.aws, ~/.ssh, ~/.netrc, ~/.npmrc), and no exfiltration destination beyond api.github.com. The postinstall hook only runs npm install --prefix web when web/package.json exists, which it does not in the published tarball. Obfuscating an MIT-licensed distributed bundle is a code-review-hostility concern rather than a supply-chain attack, but it materially raises the cost of independent verification and warrants human review.

Source: ghsa-malware (a5df09db75f73bdebd523abf5b350fca006eafabadfeef16baccd7043191dc61)

Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Database specific
{
    "malicious-packages-origins": [
        {
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "id": "GHSA-rhv6-f4px-2cf4",
            "source": "ghsa-malware",
            "import_time": "2026-06-18T05:54:18.9766443Z",
            "modified_time": "2026-06-18T05:19:17Z",
            "sha256": "a5df09db75f73bdebd523abf5b350fca006eafabadfeef16baccd7043191dc61"
        },
        {
            "sha256": "062aeffd53decb4f08563240e1f906404ef79037fb7192c8dd72705291a2f47c",
            "id": "IN-MAL-2026-008432",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:27.70494272Z",
            "modified_time": "2026-07-08T20:09:28Z",
            "versions": [
                "1.2.1"
            ]
        },
        {
            "sha256": "14c6edb75432ba69d61f1461299a9e81ffecd24449463fd59d47278ed45b30a0",
            "id": "IN-MAL-2026-008508",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:37.978606084Z",
            "modified_time": "2026-07-08T20:21:11Z",
            "versions": [
                "1.9.0"
            ]
        },
        {
            "sha256": "224b329c9b1516b6bcd547439b6883258076fee922da3f58ba0819cb4a96fbe5",
            "id": "IN-MAL-2026-008506",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:37.732947664Z",
            "modified_time": "2026-07-08T20:20:52Z",
            "versions": [
                "1.0.4"
            ]
        },
        {
            "sha256": "8fd5af7e5d44541ee33dd93b0a7a2fa9bb8e62dfa8ef0a7b5681383853ee1835",
            "id": "IN-MAL-2026-008507",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:37.843380215Z",
            "modified_time": "2026-07-08T20:21:01Z",
            "versions": [
                "1.4.0"
            ]
        },
        {
            "sha256": "982aec4658813846714e7cea6fd3262a93fa1b4bf99c4bd09c90770efe5765f5",
            "id": "IN-MAL-2026-008505",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:37.638452582Z",
            "modified_time": "2026-07-08T20:20:43Z",
            "versions": [
                "1.3.0"
            ]
        },
        {
            "sha256": "b189530bf5841a2de2c5930de44ce725556052f73428e1993b22acc559ab05ef",
            "id": "IN-MAL-2026-008471",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:33.108606933Z",
            "modified_time": "2026-07-08T20:15:32Z",
            "versions": [
                "1.0.3"
            ]
        },
        {
            "modified_time": "2026-07-08T20:30:26Z",
            "id": "IN-MAL-2026-008571",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T20:32:45.795893188Z",
            "sha256": "c998c739f8fe5e7f9a59a51d67d533db61844456d62c7a8098eb79f74c8f86aa",
            "versions": [
                "1.7.0"
            ]
        },
        {
            "sha256": "30c1bb3d3f56b7f8d851c21c619cafff326dfc386977816b8577934a7cf8ea82",
            "id": "IN-MAL-2026-008862",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T22:51:29.276885025Z",
            "modified_time": "2026-07-08T22:44:09Z",
            "versions": [
                "1.2.3"
            ]
        },
        {
            "modified_time": "2026-07-08T22:44:17Z",
            "id": "IN-MAL-2026-008863",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T22:51:29.376763485Z",
            "sha256": "57fb242bc900da853727f1a8bbd5318d617fc87b14bec46ed3c21b0c174d1f17",
            "versions": [
                "1.5.0"
            ]
        },
        {
            "sha256": "f5d3453f40d642994d96667c8d6e1189bf5f1f6f565378ac27136e55efd63654",
            "id": "IN-MAL-2026-008861",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T22:51:29.128717686Z",
            "modified_time": "2026-07-08T22:44:01Z",
            "versions": [
                "1.2.2"
            ]
        },
        {
            "modified_time": "2026-07-08T22:59:48Z",
            "id": "IN-MAL-2026-008969",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T23:27:56.524347567Z",
            "sha256": "367e6d2431e90a22429adff161d2544e5534b0c492bf1530c65f2bf11c13b277",
            "versions": [
                "1.5.1"
            ]
        },
        {
            "sha256": "3855afe87d31e428546f226e1da9236cd0e4dc45a477afb9f6ba1c707a4b05ec",
            "id": "IN-MAL-2026-008967",
            "source": "amazon-inspector",
            "import_time": "2026-07-08T23:27:56.269220474Z",
            "modified_time": "2026-07-08T22:59:33Z",
            "versions": [
                "1.0.2"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @rafaelsene01/agent-flow

Package

Name
@rafaelsene01/agent-flow
View open source insights on deps.dev
Purl
pkg:npm/%40rafaelsene01/agent-flow

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*
1.0.2
1.0.3
1.0.4
1.2.1
1.2.2
1.2.3
1.3.0
1.4.0
1.5.0
1.5.1
1.7.0
1.9.0

Database specific

indicators
{
    "evidence_files": [
        {
            "path": "dist/agent-flow.js",
            "tlsh": "1025ea926a8070a4235b5b7bbb1fb0e5f01a0c1fb89c085fe5547c6c15a526ffba6d30",
            "sha256": "4a75a6c90f806a18793519cf5d7c3aea54a37152f7b0e78b0828fc86c8073cee"
        },
        {
            "path": "package.json",
            "tlsh": "d2311db0cd684eb30ac842a96c748153902fc4075d0abc4833da935c8f5d63f62baa7e",
            "sha256": "76263b99d13b1c14fe2c7b0073a0b761be4a8c236b87d61fc023317ba422815c"
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@rafaelsene01/agent-flow/MAL-2026-6111.json"
cwes
[
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code"
    }
]