Docs

Docs

  • Getting Started
  • Features
  • Docs
  • API
  • FAQS

›Detections

Getting Started

  • Introduction
  • Terms

Models

  • Analysis
  • Audit
  • Detection
  • Frame
  • Record
  • Report
  • Request
  • Target

Audits

  • Dialog Events
  • Download Events
  • History Events
  • Screenshots
  • Texts
  • Vibrate Events

Detections

  • Adware
  • Auto Download
  • Auto Redirect
  • Auto Redirect App Market
  • Auto Vibrate
  • Back Button Hijack
  • Blacklist
  • Browser Locker
  • Cryptocurrency Miner
  • JavaScript Dialog On Entry
  • JavaScript Dialog On Exit
  • Landing Page Error
  • Malicious URL
  • Malware
  • NSFW
  • Phishing URL
  • Potentially Unwanted Programs
  • Ransomware
  • Scareware
  • Suspicious TLD
  • SSL Non Compliant

GraphQL

  • Interfaces
  • Enums
  • Scalars
  • Account
  • AlertRules
  • Analysis
  • Consumption
  • Device
  • Location
  • Notification
  • Organization
  • Plan
  • Project
  • Recognition
  • User
  • Viewer
  • Violation

NSFW

Determine if the content of the page contains images not suitable for work (offensive or adult images).

version  : 1.0.0
stability: stable

Definition


Meta

name     : "nsfw"
category : "USER_ADVISORY"
reference: "false"
condition: "="

Record

The NSFW's record uses the Record's interface:

interface Record {
  url: string;
  type: string;
  data: string;
  trigger: string;
  requestId: string;
  frameId: string;
  targetVersion: string;
  timestamp: string;
}

Fields


url

version  : 1.0.0
stability: stable
url: string;

The URL of the page gathered when that medium element appears.


mimetype

version  : 1.0.0
stability: stable
mimetype: string;

The element mime type following the IANA specifications based on RFC6838 and RFC4855


frameId

version  : 1.0.0
stability: stable
frameId: string;

The Frame identifier in which the medium element was recorded.


targetVersion

version  : 1.0.0
stability: stable
targetVersion: number;

The Target version during which the medium element was recorded.

requestId

version  : 1.0.0
stability: stable
requestId: string;

The unique identifier of the network Request.

⚠️ Caution: In some cases such as redirection, this identifier could be shared by more than one entry as referencing themselves to the same request:

[
  {
    "requestId": "10.1",
    "status": "302"
  },
  {
    "requestId": "10.1",
    "status": "200"
  }
]

timestamp

version  : 1.0.0
stability: stable
timestamp: string;

An ISO 8601 timestamp that reflects the moment when the event was recorded.


Sample

{
  "name": "nsfw",
  "category": "USER_ADVISORY",
  "value": "true",
  "reference": "false",
  "condition": "=",
  "violation": true,
  "notify": true,
  "alert": true,
  "records": [
    {
      "url": "https://example.com",
      "mimetype": "image/png"
      "frameId": "(44F9E330621E839F952BA14F9EC9DF5B)",
      "requestId": "5668.1",
      "targetVersion": 10,
    }
  ]
}
← MalwarePhishing URL →
  • Definition
    • Meta
    • Record
  • Fields
    • url
    • mimetype
    • frameId
    • targetVersion
  • The Target version during which the medium element was recorded.
    • requestId
    • timestamp
  • Sample
Copyright © 2024 AdSecure