Crossref DOIMemberCiteFactoropen accessissn
SJIF Impact Factor 8.659 | ISSN: 2582-3930
IJSREM Logo

International Journal of Scientific Research in Engineering and Management

(Gateway to Global Scholars - An International, Scholarly, Multi-Disciplinary, Open Access Journal)

Peer-Reviewed Journal Designed to Meet UGC's Quality Parameters

HomeCurrent IssuePast IssuesPay OnlineConferencesEditorial BoardAbout UsContact Us
IJSREM

Loading article...

Follow Us

  • Google Scholar
  • ResearchGate
  • Academia.edu
  • Mendeley
  • LinkedIn
  • Facebook
  • Instagram

Journal Policies

  • Peer Review Policy
  • Publication Ethics
  • Copyright Infringement
  • Refund & Cancellation Policy
  • Terms and Conditions
  • Privacy Policy

Journal Identifiers & Licenses

  • ISSN Verified: 2582-3930ISSN Verified: 2582-3930
  • Crossref DOI: 10.55041Crossref DOI: 10.55041
  • SJIF Ranking: 08.659SJIF Ranking: 08.659
  • Licensed under CC BY 4.0Licensed under CC BY 4.0
  • ISO Certification: 9001:2015ISO Certification: 9001:2015
  • Indexed & Cited In: Google ScholarIndexed & Cited In: Google Scholar

Contact Us

International Journal of Scientific Research in Engineering and Management (IJSREM)

#62/1, New No 7, 1st Cross, 2nd Main, Ganganagar, R T Nagar, Bangalore North, Bangalore, Karnataka, India – 560032
[email protected]+91 93911 67991
logos
logos
Working Hours

Mon – Sat: 9:00 AM – 6:00 PM

Sunday: 10:00 AM – 4:00 PM

+91 93911 67991

© 2026 IJSREM – International Journal of Scientific Research in Engineering and Management. This is an open-access journal. Articles are published under the Creative Commons Attribution (CC BY 4.0) License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

DisclaimerPrivacy PolicyTerms and Conditions
ArticlePeer ReviewedOpen AccessPlagiarism Passed
Paper ID:IJSREM65900

InstaSecure: A Multi-Layer Zero-Trust Security Framework for Social Media Platforms Using Behavioral Analytics and Cryptographic Enforcement

Stream/Area:

-

Subject:

-

Paper ID:

IJSREM65900

Volume:

10 |

7 |

Jul 2026

Pages:

1-11

Publication Frequency:

Monthly (12 issues per year)

DOI
Digital Object Identifier
10.55041/IJSREM65900

License:International Journal of Scientific Research in Engineering and Management follows the Creative Commons Attribution 4.0 (CC BY 4.0) License, allowing free use and distribution with proper attribution.

Share this article:

Authors

R Alita

R Alita

Department of Computer Science

ST PAULS COLLEGE

Download Author Certificate
Priyanka L A

Priyanka L A

Department of Computer Science

ST PAULS COLLEGE

Download Co-Author Certificate

Mentors

Priyanka L A

Priyanka L A

Department of Computer Science

ST PAULS COLLEGE

Download Mentor Certificate

Author Services & Downloads

Full ArticlesAcceptance Certificate

Abstract

Contemporary social media architectures suffer from a foundational security weakness: once an attacker successfully authenticates using stolen credentials or hijacks an active session token, conventional perimeter-based security systems produce no alerts and apply no additional identity checks. This paper introduces InstaSecure, a Django-powered multi-layer active-defense web platform engineered to eliminate this blind spot through real-time, context-sensitive authentication. The framework deploys two concurrent monitoring channels. The Geospatial Sentinel Engine leverages the spherical Haversine formula to calculate physical travel velocity between successive user post locations. Velocities surpassing 800–900 km/h — the upper boundary of commercial air travel — activate Impossible Travel anomaly alerts. A scikit-learn Isolation Forest algorithm augments this by profiling behavioral baselines across rolling 50-post windows, generating continuous anomaly scores to identify covert account takeover attempts. Simultaneously, an inline Natural Language Processing (NLP) subsystem intercepts all user-submitted comment payloads within volatile runtime memory prior to database storage, applying offline token-level classification to suppress harmful and offensive content by setting is_hidden = True. Platform-wide AES-256 symmetric field-level encryption via the Fernet specification guarantees that GPS coordinates, messages, post captions, and comment strings are persisted only as cryptographically opaque ciphertext. Once a threat is confirmed, an automated containment pipeline revokes session credentials, quarantines the affected profile, and transmits time-limited One-Time Passwords through the Twilio SMS gateway. A centralized Security Operations Center (SOC) dashboard consolidates immutable forensic telemetry and generates ReportLab-produced PDF audit reports. Validation confirmed NLP moderation at F1 = 0.924, Haversine precision at ±0.08 km, and zero plaintext data storage across all penetration testing scenarios.

KEYWORDS

Zero-Trust Architecture Account Takeover Detection Haversine Formula Isolation Forest AES-256 Fernet Encryption NLP Content Moderation Multi-Factor Authentication Django Framework Security Operations Center Behavioral Anomaly Detection.

Cite This Article

R Alita, Priyanka L A, Priyanka L A, "InstaSecure: A Multi-Layer Zero-Trust Security Framework for Social Media Platforms Using Behavioral Analytics and Cryptographic Enforcement," International Journal of Scientific Research in Engineering and Management, vol. 10, no. 7, pp. 1-11, Jul 2026. https://doi.org/10.55041/IJSREM65900

Full Article/Conclusion

This paper has presented InstaSecure, a comprehensive zero-trust active-defense social media framework that fundamentally redefines the security paradigm for web applications. By dismantling the static perimeter defense model and instituting continuous, context-aware authentication across every user transaction, InstaSecure eliminates the post-compromise blindness that permits Account Takeover attacks to propagate undetected within authenticated sessions. The integrated dual-layer Sentinel Engine — combining the spherical Haversine formula for deterministic Impossible Travel detection with scikit-learn's Isolation Forest for sub-threshold behavioral anomaly scoring — achieved 100% detection accuracy on cross-continental ATO scenarios and 87% detection on sub-threshold cases that would have evaded a velocity-only enforcement model. The inline NLP moderation subsystem attained a weighted F1-score of 0.940 at under 2ms processing latency — a 400× improvement over cloud API alternatives — demonstrating that high-accuracy content moderation can be delivered offline within the application runtime without external dependencies. Platform-wide AES-256 field-level encryption produced zero plaintext data exposure across all database exfiltration tests, validating the zero-knowledge architecture under realistic breach conditions. The automated incident response pipeline achieved mean containment within 131ms of anomaly detection, compared to the industry-standard average of 197 days for manual breach identification on conventional platforms. Comprehensive penetration testing confirmed 100% resistance to SQL injection, CSRF, XSS, role escalation, session replay, and media URL exfiltration attacks. InstaSecure demonstrates that enterprise-grade continuous authentication — encompassing mathematical geospatial physics, machine learning behavioral profiling, semantic content moderation, zero-knowledge cryptography, and automated multi-factor incident response — can be implemented within a standard Django framework at minimal operational cost, without degrading the frictionless user experience expected of modern social media platforms. The quantitative results establish a technically validated blueprint for proactive, automated threat containment applicable across any high-value web application ecosystem requiring real-time identity integrity assurance.

References

1. Stolfo, S. J., Salem, M. B., & Keromytis, A. D. (2012). Fog computing: Mitigating insider data theft attacks in the cloud. IEEE Security and Privacy Workshops, 125–128. 2. Ferretti, L., Furini, M., Mandreoli, F., Medici, M., & Ronchetti, M. (2019). Geospatial anomaly detection in enterprise SSO environments. IEEE Access, 9, 20499–20514. 3. Liu, F. T., Ting, K. M., & Zhou, Z.-H. (2008). Isolation forest. IEEE ICDM, 413–422. https://doi.org/10.1109/ICDM.2008.17 4. Chen, T., Lu, D., Kan, M.-Y., & Cui, P. (2021). Behavioral anomaly detection using Isolation Forest ensembles. IEEE Transactions on Knowledge and Data Engineering, 33(4), 1–14. 5. Badjatiya, P., Gupta, S., Gupta, M., & Varma, V. (2017). Deep learning for hate speech detection in tweets. WWW Companion, 759–760. 6. Davidson, T., Warmsley, D., Macy, M., & Weber, I. (2017). Automated hate speech detection and offensive language. AAAI ICWSM, 11(1), 512–515. 7. National Institute of Standards and Technology. (2001). Advanced Encryption Standard (AES) (FIPS 197). U.S. Department of Commerce. 8. Python Cryptography Authority. (2023). Fernet symmetric encryption documentation. https://cryptography.io/en/latest/

Editorial & Review Transparency

Publication Date

7/8/2026

Peer Review Type

Double-Blind Peer Review

Review Rounds: 2

Documents

Review Report (Confidential)
Copyright Form (Office)

Article Metrics & Impact

Article Views

0

Total views since publication

PDF Downloads

6

Total downloads since publication

Geographic Reach

5

Indexing, Archiving & Preservation

Google Scholar
Academia
ResearchGate
Crossref
SSRN
Semantic Scholar
Thomson Reuters
WorldCat
Mendeley
OpenAlex
EBSCO
Zenodo

Digital Preservation: This article is permanently archived on Zenodo and complies with all data preservation standards across major indexing platforms.

Ethics, Compliance & Transparency

Plagiarism Screening

This manuscript has been checked for plagiarism using TurnitinPlagiarismChecker software.

Conflict of Interest

The authors declare no conflict of interest related to this research work.

Funding Information

No funding information available for this research.

Similar & Recommended Articles

Similar Articles by Topic

Related research in the same subject area

Loading similar articles...