Zum Hauptinhalt springen
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
•
Sicherheitslücken (CVE)USN-8821-1: OpenStack Swift vulnerability(24.09.2026 um 21:18 Uhr)
•
Sicherheitslücken (CVE)USN-8820-1: curl vulnerabilities(24.09.2026 um 22:13 Uhr)
•
Linux Tipps & HardeningDSA-6512-1 libreoffice - security update(24.09.2026 um 02:00 Uhr)
••••••••
Sicherheitslücken (CVE)USN-8821-1: OpenStack Swift vulnerability(24.09.2026 um 21:18 Uhr)
•
Sicherheitslücken (CVE)USN-8820-1: curl vulnerabilities(24.09.2026 um 22:13 Uhr)
•
Linux Tipps & HardeningDSA-6512-1 libreoffice - security update(24.09.2026 um 02:00 Uhr)
•••••••
Intelligence View
⚡ tsecurity.de Intelligence

trunk/b4eade219e7b9e1cb09e7c10ef14c25103b9ddae: [Dynamic Spec]Add ObjectSpec (#182764)

Summary Adds ObjectSpec and extends lookup_spec_from_dynamo_source so the spec system can address tensors reached via Python attribute access (obj.weight, nn.Module params/buffers, self.x inside an instance method). import torch from…

0
↗ Quelle (github.com)
Reagiere als Erste:r — dein Feedback zählt!

Summary


Adds ObjectSpec and extends lookup_spec_from_dynamo_source so the spec system can address tensors reached via Python attribute access (obj.weight, nn.Module params/buffers, self.x inside an instance method).


import torch
from torch.fx.experimental.dynamic_spec import (
ObjectSpec, ParamsSpec, ShapesSpec, ShapeVar, TensorSpec,
)

class Model(torch.nn.Module):
def __init__(self):
super().__init__()
self.weight = torch.nn.Parameter(torch.randn(4, 3))
def forward(self):
return self.weight + 1

torch.compile(
Model(),
shapes_spec=ShapesSpec(
params=ParamsSpec(
{"self": ObjectSpec({"weight": TensorSpec([ShapeVar("h"), None])})}
)
),
)

What changed


torch/fx/experimental/dynamic_spec.py



  • ObjectSpec — attribute-keyed container.

    • Constructor: ObjectSpec({name: IntermediateSpec, ...}). Values may be leaves (TensorSpec / IntVar / int / None) or another ObjectSpec for recursion.

    • Implements __getitem__ / __contains__ / __iter__ / __len__ / items() for dict-like access.

    • __repr__ matches the module's existing style (object_spec:\n .name: ...); nested children indent recursively.

    • to_jsonable() mirrors the pattern used by other spec types — recurses into spec children, passes raw leaves through.



  • IntermediateSpec type alias updated to LeafSpec | ObjectSpec so containers can hold mixed leaf and nested-spec values.


torch/_dynamo/variables/builder.py




  • lookup_spec_from_dynamo_source — extended to walk Source chains:



    • LocalSource(name, is_input=True) — the root of any walk.

    • AttrSource(base, member) — descends ObjectSpec._fields[member].

    • NNModuleSource (and subclasses) — transparently unwrapped (guard-semantics marker, not an access step).

    • DictGetItemSource(UnspecializedParamBufferSource(_, '_parameters' | '_buffers'), key) — dynamo internally rewrites self.weight as self._parameters["weight"]; the walk collapses that pair into a single ("attr", key) step so the user-facing attribute name matches the spec.

    • Other source kinds return None — later container PRs (DictSpec / ListSpec) extend this dispatch.




  • wrap_module — the pre-marking loop that calls mark_static_input on each named_parameter / named_buffer now skips entries with a spec. Without this, the static stamp would be applied before wrap_tensor's spec-aware bypasses get a chance to fire, and the Parameter would still be lifted as a graph attribute.




Combined effect: nn.Parameter attributes participate in spec-driven dynamism end-to-end.


Test plan — python test/dynamo/test_dynamic_spec.py



  • TestObjectSpec (data class) — empty / dict-construction / iter+items / recursive nesting / repr (none-leaf / nested-tensor / nested-objectspec) / to_jsonable.

  • TestObjectSpecLookup (lookup walk, ordered simplest → most complex):

    • test_local_source_root_returns_top_level_spec — bare LocalSource returns the ObjectSpec itself.

    • test_attr_descends_into_objectspec — AttrSource(LocalSource(...), "weight").

    • test_nested_objectspec_walk — three-level model.inner.weight.

    • test_missing_attr_returns_none — attr not present in ObjectSpec.

    • test_attr_against_non_objectspec_returns_none — type mismatch (top-level is TensorSpec, source asks for an attr).

    • test_nn_module_source_is_unwrapped — AttrSource(NNModuleSource(LocalSource(...)), "weight").



  • TestObjectSpecCompile (e2e):

    • test_attr_tensor_dim_dynamic — plain Python container, obj.w + 1, asserts SymInt at dim 0 and no recompile across dim-0 changes.

    • test_nn_module_parameter_dim_dynamic — realistic case: nn.Parameter reached via self.weight. Exercises NNModuleSource unwrap, UnspecializedParamBufferSource collapse, module-wrapping pre-mark skip, and wrap_tensor spec-aware bypasses.




Pull Request resolved: #182764

Approved by: https://github.com/laithsakka

SOC Incident Playbook: Remote Code Execution (RCE) Defense
Syntax validiert (0 Fehler)
title: Detect Exploitation - trunk/b4eade219e7b9e1cb09e7c10ef14c25103b9ddae: [Dynamic Spec]Add ObjectSpec (#182764)
id: ce8a418a-a180-483e-8bf4-cdac47ff6f5f
status: experimental
description: Automatisch generierte SIEM-Erkennungsregel basierend auf CTI Intelligence
references:
  - https://tsecurity.de/
author: iShareStuff CTI Automated Detection Engine
date: 2026-09-24
logsource:
  category: network_connection
  product: any
detection:
  selection:
      CommandLine|contains:
        - 'exploit'
  condition: selection
falsepositives:
  - Legitime administrative Zugriffe oder Penetrationstests
level: high
tags:
  - attack.initial_access
Syntax validiert (0 Fehler)
rule CTI_Threat_Indicator {
    meta:
        author = "iShareStuff CTI Automated Detection Engine"
        date = "2026-09-24"
        description = "YARA Signature for "
    strings:
        $str = "trunk/b4eade219e7b9e1cb09e7c10" ascii wide
    condition:
        any of them
}
Syntax validiert (0 Fehler)
index=security sourcetype IN ("cisco:asa", "pan:traffic", "zeek_conn", "suricata", "WinEventLog:Security")
("trunkb4eade219e7b9e1cb09e7c10ef14c25103b")
| stats count earliest(_time) as first_seen latest(_time) as last_seen by src_ip, dest_ip, dest_host, signature
| eval first_seen=strftime(first_seen, "%Y-%m-%d %H:%M:%S"), last_seen=strftime(last_seen, "%Y-%m-%d %H:%M:%S")
| sort - count
Syntax validiert (0 Fehler)
message: "*trunkb4eade219e7b9e1cb09e7c10ef14c25103b*"
Syntax validiert (0 Fehler)
CommonSecurityLog
| where Message has "trunkb4eade219e7b9e1cb09e7c10ef14c25103b"
| summarize EventCount = count(), FirstSeen = min(TimeGenerated), LastSeen = max(TimeGenerated) by SourceIP, DestinationIP, DestinationPort, Activity
| extend DetectionRule = "iShareStuff-CTI-Compiled"
| sort by EventCount desc
🎯
MITRE ATT&CK Matrix Navigator 14 Taktiken
Reconnaissance
-
Resource Development
-
Initial Access
Execution
Persistence
-
Privilege Escalation
Defense Evasion
Credential Access
-
Discovery
-
Lateral Movement
-
Collection
-
Command and Control
Exfiltration
-
Impact
tsecurity.de Cognitive Threat RAG
Fokus-Vektor:

Kognitive Analyse für identifizierte Bedrohung: Erhöhte Bedrohungslage im Bereich trunk/b4eade219e7b9e1cb09e7c10ef14c25103.... Basierend auf 368k Vektor-Korrelationen werden sofortige Isolationsmaßnahmen für betroffene Endpunkte empfohlen.

🛡️ Angriffsfläche & Exposure

Netzwerk/Remote-Zugriff ohne Vorauthentifizierung möglich.

⚡ Empfohlene Sofortmaßnahmen
  • 1. Perimeter-Inspektion: Relevante Portfreigaben und exponierte Endpunkte unverzüglich scannen.
  • 2. Patch-Applikation: Hersteller-Hotfix einspielen oder betroffene Daemons in isolierte DMZ-Segmente überführen.
  • 3. Telemetrie & EDR-Alerts: Prozessaufrufe und Child-Processes auf anomale Shell-Spawns überwachen.
🔗 Semantisch verwandte Zero-Days MariaDB 11.7 VEC
Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten trunk/b4eade219e7b9e1cb09e7c10ef14c25103b9ddae: [Dynamic Spec]Add ObjectSpec (#182764)

Thematisch verwandte Begriffe: trunkb4eade219e7b9e1cb09e7c10ef14c25103b9ddae, Dynamic, SpecAdd, ObjectSpec · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-81473 | Dell Rugged Control Center (RCC), versions prior to 5.2.206, contain an …
Advisory →
tsecurity.de Icon
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel • Rechts: nächster Artikel • unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel TTP ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...
↗ Original-Quelle