Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

OtpCsharpNuGet

Malicious code in OtpCsharp (NuGet) Remove it immediately and rotate any exposed credentials.

MAL-2024-4606
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
remove OtpCsharp

Malicious versions

202 flagged
1.0.11.0.21.0.31.0.41.0.51.0.61.0.71.0.81.0.91.0.101.0.111.0.121.0.131.0.141.0.151.0.161.0.171.0.181.0.191.0.201.0.211.0.221.0.231.0.241.0.251.0.261.0.271.0.281.0.291.0.301.0.311.0.321.0.331.0.341.0.351.0.361.0.371.0.381.0.391.0.401.0.411.0.421.0.431.0.441.0.451.0.461.0.471.0.481.0.491.0.501.0.511.0.521.0.531.0.541.0.551.0.561.0.571.0.581.0.591.0.601.0.611.0.621.0.631.0.641.0.651.0.661.0.671.0.681.0.691.0.701.0.711.0.721.0.731.0.741.0.751.0.761.0.771.0.781.0.791.0.801.0.811.0.821.0.831.0.841.0.851.0.861.0.871.0.881.0.891.0.901.0.911.0.921.0.931.0.941.0.951.0.961.0.971.0.981.0.991.0.1001.0.1011.0.1021.0.1031.0.1041.0.1051.0.1061.0.1071.0.1081.0.1091.0.1101.0.1111.0.1121.0.1131.0.1141.0.1151.0.1161.0.1171.0.1181.0.1191.0.1201.0.1211.0.1221.0.1231.0.1241.0.1251.0.1261.0.1271.0.1281.0.1291.0.1301.0.1311.0.1321.0.1331.0.1341.0.1351.0.1361.0.1371.0.1381.0.1391.0.1401.0.1411.0.1421.0.1431.0.1441.0.1451.0.1461.0.1471.0.1481.0.1491.0.1501.0.1511.0.1521.0.1531.0.1541.0.1551.0.1561.0.1571.0.1581.0.1591.0.1601.0.1611.0.1621.0.1631.0.1641.0.1651.0.1661.0.1671.0.1681.0.1691.0.1701.0.1711.0.1721.0.1731.0.1741.0.1751.0.1761.0.1771.0.1781.0.1791.0.1801.0.1811.0.1821.0.1831.0.1841.0.1851.0.1861.0.1871.0.1881.0.1891.0.1901.0.1911.0.1921.0.1931.0.1941.0.1951.0.1961.0.1971.0.1981.0.1991.0.2002.1.02.1.1

Indicators of compromise (SHA-256)

1ae307100b06713845a12446cfca814af6c95fc4c7ab60c00935845241606bc2
4b3abb1983f361cc091f94838ba160e51bc2a5ea98d93c7f41816bb14bedcb75

Detection & response playbook

Malicious package
  1. Find it

    Scan your lockfiles (package-lock.json, pnpm-lock.yaml, yarn.lock, requirements.txt, poetry.lock, etc.) and build artifacts for OtpCsharp (202 malicious versions). O3 Security's supply-chain scanner checks every dependency against known-malicious package intelligence at install time and in CI, flagging OtpCsharp across your stack and pipelines.

  2. If you installed it — respond

    Remove OtpCsharp from your project and lockfile, then assume any secrets accessible to the build or runtime were exposed: rotate API keys, tokens, and credentials, and audit for unexpected outbound activity or persistence.

  3. Did it already run?

    If OtpCsharp was ever installed, its post-install/runtime payload may have already executed. O3's L7 egress monitoring and runtime eBPF sensors detect the credential exfiltration or command-and-control callback after install and block the malicious outbound channel, so you catch and contain the actual compromise — not just the presence of the package.

  4. How O3 protects you

    O3 blocks OtpCsharp before install through its supply-chain scanner, and if it has already run, detects and severs the exfiltration or C2 callback at runtime through L7 egress monitoring and eBPF.

Frequently asked questions

No. OtpCsharp on NuGet has been identified as a malicious package (versions 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.0.5, 1.0.6, 1.0.7, 1.0.8, and 194 more flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

RLMA-2024-03392RLUA-2024-07709

References

Credits

  • ReversingLabs · finder

Detect & block this

O3 blocks OtpCsharp-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the malicious outbound activity and severs the channel.

OtpCsharp (NuGet) malicious package — MAL-2024-4606 | O3 Security