
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
galosoft.iaas.aspnetcore.lazycaptcha
Advanced tools
=> 仅用于framework项目的集成,方便使用
var zipped = "json".ToGZipCompress();
var original = zipped.ToGZipDecompress();
var original = "fck";
var hashed = SecurityTemplate.Md5Encrypt(original);
var encrypted = SecurityTemplate.DesEncrypt(original);
original = SecurityTemplate.DesDecrypt(encrypted);
encrypted = SecurityTemplate.AesEncrypt(original, "123");
original = SecurityTemplate.AesDecrypt(encrypted, "123");
var sample = new SampleDto() { Name = "galos", State = "default" }; //galoS@2024-3-4 14:26:11
var key = "12345";
var rt = SecurityTemplate.AesEncrypt(sample, key);
sample = SecurityTemplate.AesDecrypt<SampleDto>(rt, key);
var pub = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDM9As4OkFLUyEmtqVJJaHkAf0xKR3aq38q6FqSi1vQfy1hUjhh/Z8k5NaT2WnmnchGUOoGsvwtKVAHrS62qvWzAPy7sauvG/O7hu1l+3SsrRDtv/O6hqRjEbPex/hpZM1opdkDtiiuHB5wHFYnD7JouWme9lNAViRcj4bXfqnZqwIDAQAB";
string @private = "MIICeQIBADANBgkqhkiG9w0BAQEFAASCAmMwggJfAgEAAoGBAMz0Czg6QUtTISa2pUkloeQB/TEpHdqrfyroWpKLW9B/LWFSOGH9nyTk1pPZaeadyEZQ6gay/C0pUAetLraq9bMA/Luxq68b87uG7WX7dKytEO2/87qGpGMRs97H+GlkzWil2QO2KK4cHnAcVicPsmi5aZ72U0BWJFyPhtd+qdmrAgMBAAECgYEAvW67iAbgHt0BASVD9C3iSjpEaVHVlC165o/IVzaTcEx8Bz3Ve0zN8W3JnvIO3ebsG4HiLLr2Nk++9rltOc0eNeGMv7F1e/OFot1wN0ON6s1g4bYh1z5Uz8FcYiMWcqHHICrx+oSFeK9x+I2Zge7enQXcsVnqEhm77ZE5YczSryECQQD9nB58e5efYchF+cYbmURioX18cUMuhQbB9Aq2N55cd689Lg35KZqT8JQTp/8tQSdCJG8d2nU8VKspUKTEAuaDAkEAzuKIIoc9PVJvy90LhIPA9c1S8BPCI7EMCaTZqJ5o3VaR2dqvUZDGX7kL3kYkQ+n7mq3KIECvkEFzA+FOP96XuQJBAJQTKHW0T/YeSKoayUHp/lS8R6F2HCy4PRbXn71+wfbpZqcJEd2OHhQM3tiPOV258esbjMlYeSUNppZL4LgVnXMCQQC7Lvs9Ql+GPDAqo7ToEM1lmICR906QPIBHuX+1sJ3wpYMROWumwPa7ZRH36j6ls+6R5OwcgmpWeuE1gYTrBNsBAkEAn2pEtAljX1foQff6CLozYg/J6J9RmVFcJ6qz0LX3052qNFBQYw8CMHB7VkVNzsDIDC8LX5uP2pzTrdPLew+pPA==";
encrypted = SecurityTemplate.RSAEncrypt(original, pub);
original = SecurityTemplate.RSADecrypt(encrypted, @private);
var licenseInfo = "菲尼克斯";
var license = SecurityTemplate.GenerateLicense(licenseInfo);
var b = SecurityTemplate.ValidateLicense($"{license}_");
var p = new Process().Start("cmd.exe", runAsAdministrator: true);
p = new Process().Browser("https://www.cnblogs.com/daimaxuejia/p/11854889.html", "edge.exe");
p = new Process().Browser("https://www.cnblogs.com/daimaxuejia/p/11854889.html");
p = new Process().Explore("c://");
p = new Process().Script("dotnet.exe", "info");
p = new Process().Script("cmd.exe");
var code = Random.Shared.GenerateCaptcha();
code = Random.Shared.GenerateSms();
var id = LocalGenerator.NextId();
var key = LocalGenerator.NextCouponKey();
Enumerable.Range(0, 15).Slice(i =>
{
var seq = LocalGenerator.NextSeqKey();
Trace.WriteLine(seq, "“Seq”");
},1);
var guid = LocalGenerator.NextGuid();
FAQs
Unknown package
We found that galosoft.iaas.aspnetcore.lazycaptcha demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.