github.com / Harshad-rk
Harshad-rk/ test_demo
137 files·commit 2f0f14e·scanned 5d ago·cached ✓
40/100
SUSPICIOUS
Obfuscation or dynamic code paths detected. Intent unclear — review before running anything.
verdict accurate?
No stars or forks
No community activity
Research / educational context
threat-state: suspiciouslive
FINDINGS ░▒▓
infoBase64 encoding usedatob() or Buffer.from with base64. Common in legitimate code but also used to hide malicious URLs.server/controllers/userController.js
exports.getCookie = asyncErrorHandler(async (req, res, next) => {
const s = atob(process.env.DEV_API_KEY);
const k = atob(process.env.DEV_SECRET_KEY);
const v = atob(process.env.DEV_SECRET_VALUE...+2warningPotential NoSQL injectionUser input passed directly to MongoDB query (findOne, find, updateOne) without sanitization. Attacker can inject query operators.server/controllers/userController.js
exports.forgotPassword = asyncErrorHandler(async (req, res, next) => {
const user = await User.findOne({ email: req.body.email });
if (!user) {+4warningPotential NoSQL injectionUser input passed directly to MongoDB query (findOne, find, updateOne) without sanitization. Attacker can inject query operators.server/middlewares/validator/index.js
// validate brand
let brand = await ProductBrand.findOne({ slug: req.body.brand });
if (!brand) {
errors.push({ msg: "Invalid product brand" });+4warningPotential NoSQL injectionUser input passed directly to MongoDB query (findOne, find, updateOne) without sanitization. Attacker can inject query operators.server/controllers/paymentController.js
exports.getPaymentStatus = asyncErrorHandler(async (req, res, next) => {
const payment = await Payment.findOne({ orderId: req.params.id });
if (!payment) {+4warningOpen redirect vulnerabilityres.redirect() using unsanitized user input (req.get('host'), req.query, req.body). Can redirect victims to phishing sites.server/controllers/paymentController.js
addPayment(body);
// res.redirect(`${req.protocol}://${req.get("host")}/order/${body.orderId}`)
res.redirect(`https://${req.get("host")}/order/${body.orderId}`);
...+3Scores are heuristics. A “safe” verdict means no known-malicious patterns were found — clever malware can look boring. Wrong verdict? Flag it above; confirmed false positives become regression tests.
95 files scanned @ 2f0f14e | 10/22/2026 | heuristic scan — always review manually
risk by category
code execution2
network & exfiltration2
file system access0
obfuscation0
supply chain3
owasp / injection15
telemetry
files 95/137rules hit 7engine v7commit 2f0f14e
github
Harshad-rk/test_demo
0
0
73d
137 files
95 scanned(69%)
2f0f14e
architecture░▒▓
entry (4) flagged (3) pkg (38)
129 nodes · 190 edgesscroll to zoom · click node to jump to finding